VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Crypto.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2018-03-27 13:07:13 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2018-03-27 16:15:57 +0200
commit7df9724e20005ccdd3e5daaeebf80eb0c5c46083 (patch)
treed08000aff2875a6d68b997bef45a528cd76d98e4 /src/Common/Crypto.c
parentda69304dc8f98d00b14bfe2de32f14b1c9b7533f (diff)
downloadVeraCrypt-7df9724e20005ccdd3e5daaeebf80eb0c5c46083.tar.gz
VeraCrypt-7df9724e20005ccdd3e5daaeebf80eb0c5c46083.zip
Crypto: Add support for 5 new cascades of cipher algorithms (Camellia-Kuznyechik, Camellia-Serpent, Kuznyechik-AES, Kuznyechik-Serpent-Camellia and Kuznyechik-Twofish)
Diffstat (limited to 'src/Common/Crypto.c')
-rw-r--r--src/Common/Crypto.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Common/Crypto.c b/src/Common/Crypto.c
index 3f7e9871..00d44a93 100644
--- a/src/Common/Crypto.c
+++ b/src/Common/Crypto.c
@@ -87,6 +87,11 @@ static EncryptionAlgorithm EncryptionAlgorithms[] =
{ { AES, SERPENT, 0 }, { XTS, 0 }, 1, 1 },
{ { AES, TWOFISH, SERPENT, 0 }, { XTS, 0 }, 1, 1 },
{ { SERPENT, TWOFISH, 0 }, { XTS, 0 }, 1, 1 },
+ { { KUZNYECHIK, CAMELLIA, 0 }, { XTS, 0 }, 0, 1 },
+ { { TWOFISH, KUZNYECHIK, 0 }, { XTS, 0 }, 0, 1 },
+ { { SERPENT, CAMELLIA, 0 }, { XTS, 0 }, 0, 1 },
+ { { AES, KUZNYECHIK, 0 }, { XTS, 0 }, 0, 1 },
+ { { CAMELLIA, SERPENT, KUZNYECHIK, 0 }, { XTS, 0 }, 0, 1 },
{ { 0, 0 }, { 0, 0}, 0, 0 } // Must be all-zero
#else // TC_WINDOWS_BOOT