From ff871511af79fd8fb7a09d3ed42220830e6ddcd6 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Fri, 21 Jul 2017 15:21:13 +0200 Subject: Windows: reduce size of MBR bootloader by removing unused functions in each build type. --- src/Common/Pkcs5.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/Common/Pkcs5.c') 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 @@ -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 -- cgit v1.2.3