diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-09-25 22:37:45 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-10-17 18:40:16 +0200 |
commit | b65eabe23d5910a26d741439b1f5ea45ba4a0777 (patch) | |
tree | bd63c2de5b151657d294f1a56040fc4c6db4c893 /src/Common/Crypto.c | |
parent | d18ecc1a37b5f83d70b204f0bcb097fb8525314f (diff) | |
download | VeraCrypt-b65eabe23d5910a26d741439b1f5ea45ba4a0777.tar.gz VeraCrypt-b65eabe23d5910a26d741439b1f5ea45ba4a0777.zip |
Add test vectors for Kuznyechik and GOST89 (the later is deprecated)
Diffstat (limited to 'src/Common/Crypto.c')
-rw-r--r-- | src/Common/Crypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/Crypto.c b/src/Common/Crypto.c index 43f287d3..cae705b6 100644 --- a/src/Common/Crypto.c +++ b/src/Common/Crypto.c @@ -158,7 +158,7 @@ int CipherInit (int cipher, unsigned char *key, unsigned __int8 *ks) #if !defined(TC_WINDOWS_BOOT) #if defined(CIPHER_GOST89) case GOST89: - gost_set_key(key, (gost_kds*)ks); + gost_set_key(key, (gost_kds*)ks, 1); break; #endif // && defined(CIPHER_GOST89) case KUZNYECHIK: |