mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Crypto: deprecate GOST89 so that it can't be used to create new volumes. Keep only for existing volumes.
This commit is contained in:
@@ -79,7 +79,7 @@ static EncryptionAlgorithm EncryptionAlgorithms[] =
|
|||||||
{ { TWOFISH, 0 }, { XTS, 0 }, 1, 1 },
|
{ { TWOFISH, 0 }, { XTS, 0 }, 1, 1 },
|
||||||
{ { CAMELLIA, 0 }, { XTS, 0 }, 1, 1 },
|
{ { CAMELLIA, 0 }, { XTS, 0 }, 1, 1 },
|
||||||
#if defined(CIPHER_GOST89)
|
#if defined(CIPHER_GOST89)
|
||||||
{ { GOST89, 0 }, { XTS, 0 }, 0, 1 },
|
{ { GOST89, 0 }, { XTS, 0 }, 0, 0 },
|
||||||
#endif // defined(CIPHER_GOST89)
|
#endif // defined(CIPHER_GOST89)
|
||||||
{ { KUZNYECHIK, 0 }, { XTS, 0 }, 0, 1 },
|
{ { KUZNYECHIK, 0 }, { XTS, 0 }, 0, 1 },
|
||||||
{ { TWOFISH, AES, 0 }, { XTS, 0 }, 1, 1 },
|
{ { TWOFISH, AES, 0 }, { XTS, 0 }, 1, 1 },
|
||||||
|
|||||||
@@ -298,7 +298,7 @@ namespace VeraCrypt
|
|||||||
|
|
||||||
|
|
||||||
// GOST89
|
// GOST89
|
||||||
GOST89::GOST89 ()
|
GOST89::GOST89 () : Deprecated (true)
|
||||||
{
|
{
|
||||||
Ciphers.push_back (shared_ptr <Cipher> (new CipherGost89()));
|
Ciphers.push_back (shared_ptr <Cipher> (new CipherGost89()));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user