diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-07-21 15:21:13 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-07-22 00:30:19 +0200 |
commit | ff871511af79fd8fb7a09d3ed42220830e6ddcd6 (patch) | |
tree | 100728bb821d4fe1b7622eedd1174920302459e8 /src/Common/Pkcs5.c | |
parent | 0fb2befe3ab57696d5b4c9de6fee344bfd520bf6 (diff) | |
download | VeraCrypt-ff871511af79fd8fb7a09d3ed42220830e6ddcd6.tar.gz VeraCrypt-ff871511af79fd8fb7a09d3ed42220830e6ddcd6.zip |
Windows: reduce size of MBR bootloader by removing unused functions in each build type.
Diffstat (limited to 'src/Common/Pkcs5.c')
-rw-r--r-- | src/Common/Pkcs5.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/Common/Pkcs5.c b/src/Common/Pkcs5.c index 28df35d5..93e748a1 100644 --- a/src/Common/Pkcs5.c +++ b/src/Common/Pkcs5.c @@ -35,20 +35,8 @@ #endif #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 { |