mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-10-09 01:56:35 -05: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:
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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 },
|
||||
|
||||
@@ -298,7 +298,7 @@ namespace VeraCrypt
|
||||
|
||||
|
||||
// GOST89
|
||||
GOST89::GOST89 ()
|
||||
GOST89::GOST89 () : Deprecated (true)
|
||||
{
|
||||
Ciphers.push_back (shared_ptr <Cipher> (new CipherGost89()));
|
||||
|
||||
|
||||
Reference in new issue
Block a user