VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Random.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2024-08-24 17:53:44 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2024-09-29 21:06:06 +0200
commite5a0bf22b17d7d6c92d7793bed5d63d0e9e72e4c (patch)
treee37884982c93854cd787de63751ebeb0538148c2 /src/Common/Random.c
parent7735b983bf3794b033406a7bcbfb414faee86c09 (diff)
downloadVeraCrypt-Argon2_1.26.13.tar.gz
VeraCrypt-Argon2_1.26.13.zip
Windows: Exclude Argon2 for System Encryption and from automatic detectionArgon2_1.26.13
Bootloader doesn't support Argon2 yet. We don't want to add overhead to automatic detection for now.
Diffstat (limited to 'src/Common/Random.c')
-rw-r--r--src/Common/Random.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Common/Random.c b/src/Common/Random.c
index 1cfa6fcf..18292b31 100644
--- a/src/Common/Random.c
+++ b/src/Common/Random.c
@@ -364,7 +364,8 @@ BOOL Randmix ()
break;
#ifndef WOLFCRYPT_BACKEND
- case BLAKE2S:
+ case ARGON2: // in case of Argon2, we use Blake2s
+ case BLAKE2S:
burn (&bctx, sizeof(bctx));
break;