From d18ecc1a37b5f83d70b204f0bcb097fb8525314f Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 25 Sep 2016 09:02:30 +0200 Subject: Crypto: deprecate GOST89 so that it can't be used to create new volumes. Keep only for existing volumes. --- src/Common/Crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Common/Crypto.c') diff --git a/src/Common/Crypto.c b/src/Common/Crypto.c index 3c52ef74..43f287d3 100644 --- a/src/Common/Crypto.c +++ b/src/Common/Crypto.c @@ -79,7 +79,7 @@ static EncryptionAlgorithm EncryptionAlgorithms[] = { { TWOFISH, 0 }, { XTS, 0 }, 1, 1 }, { { CAMELLIA, 0 }, { XTS, 0 }, 1, 1 }, #if defined(CIPHER_GOST89) - { { GOST89, 0 }, { XTS, 0 }, 0, 1 }, + { { GOST89, 0 }, { XTS, 0 }, 0, 0 }, #endif // defined(CIPHER_GOST89) { { KUZNYECHIK, 0 }, { XTS, 0 }, 0, 1 }, { { TWOFISH, AES, 0 }, { XTS, 0 }, 1, 1 }, -- cgit v1.2.3