1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-12 11:28:26 -06:00

Windows: reduce size of MBR bootloader by removing unused functions in each build type.

This commit is contained in:
Mounir IDRASSI
2017-07-21 15:21:13 +02:00
parent 0fb2befe3a
commit ff871511af
8 changed files with 36 additions and 77 deletions

View File

@@ -36,18 +36,6 @@
#include "Pkcs5.h"
#include "Crypto.h"
void hmac_truncate
(
char *d1, /* data to be truncated */
char *d2, /* truncated data */
int len /* length in bytes to keep */
)
{
int i;
for (i = 0; i < len; i++)
d2[i] = d1[i];
}
#if !defined(TC_WINDOWS_BOOT) || defined(TC_WINDOWS_BOOT_SHA2)
typedef struct hmac_sha256_ctx_struct