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

Adapt certain functions in the case of Windows bootloader in order to make its size as small as possible.

This commit is contained in:
Mounir IDRASSI
2014-09-04 17:21:11 +02:00
parent ccbc2cff0b
commit f7d783dda8
3 changed files with 44 additions and 5 deletions

View File

@@ -140,7 +140,9 @@ void RMD160Final(unsigned char *digest, RMD160_CTX *ctx)
if (digest) {
for (i = 0; i < 5; i++)
PUT_32BIT_LE(digest + i * 4, ctx->state[i]);
#ifndef TC_WINDOWS_BOOT
burn (ctx, sizeof(*ctx));
#endif
}
}