mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-13 11:58:26 -06:00
Initial support of SM4 cipher for normal volumes
This commit is contained in:
@@ -312,9 +312,14 @@ namespace VeraCrypt
|
||||
typeid (EncryptionModeXTS));
|
||||
#endif
|
||||
bool algoNotSupported = (typeid (*volume->GetEncryptionAlgorithm()) == typeid (Kuznyechik))
|
||||
|| (typeid (*volume->GetEncryptionAlgorithm()) == typeid (SM4))
|
||||
|| (typeid (*volume->GetEncryptionAlgorithm()) == typeid (CamelliaKuznyechik))
|
||||
|| (typeid (*volume->GetEncryptionAlgorithm()) == typeid (KuznyechikTwofish))
|
||||
|| (typeid (*volume->GetEncryptionAlgorithm()) == typeid (KuznyechikAES))
|
||||
|| (typeid (*volume->GetEncryptionAlgorithm()) == typeid (KuznyechikSM4))
|
||||
|| (typeid (*volume->GetEncryptionAlgorithm()) == typeid (SerpentSM4))
|
||||
|| (typeid (*volume->GetEncryptionAlgorithm()) == typeid (SM4Twofish))
|
||||
|| (typeid (*volume->GetEncryptionAlgorithm()) == typeid (TwofishSerpentSM4))
|
||||
|| (typeid (*volume->GetEncryptionAlgorithm()) == typeid (KuznyechikSerpentCamellia));
|
||||
|
||||
if (options.NoKernelCrypto
|
||||
|
||||
Reference in New Issue
Block a user