diff options
Diffstat (limited to 'src/Volume/EncryptionAlgorithm.h')
-rw-r--r-- | src/Volume/EncryptionAlgorithm.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/Volume/EncryptionAlgorithm.h b/src/Volume/EncryptionAlgorithm.h index c2d7acbd..d60082fa 100644 --- a/src/Volume/EncryptionAlgorithm.h +++ b/src/Volume/EncryptionAlgorithm.h @@ -46,7 +46,10 @@ namespace VeraCrypt virtual bool IsModeSupported (const EncryptionMode &mode) const; virtual bool IsModeSupported (const shared_ptr <EncryptionMode> mode) const; virtual void SetKey (const ConstBufferPtr &key); - virtual void SetMode (shared_ptr <EncryptionMode> mode); + #ifdef WOLFCRYPT_BACKEND + virtual void SetKeyXTS (const ConstBufferPtr &key); + #endif + virtual void SetMode (shared_ptr <EncryptionMode> mode); protected: EncryptionAlgorithm (); @@ -86,8 +89,12 @@ namespace VeraCrypt TC_ENCRYPTION_ALGORITHM (TwofishSerpent); TC_ENCRYPTION_ALGORITHM (SerpentTwofishAES); TC_ENCRYPTION_ALGORITHM (Camellia); - TC_ENCRYPTION_ALGORITHM (GOST89); TC_ENCRYPTION_ALGORITHM (Kuznyechik); + TC_ENCRYPTION_ALGORITHM (KuznyechikTwofish); + TC_ENCRYPTION_ALGORITHM (KuznyechikAES); + TC_ENCRYPTION_ALGORITHM (KuznyechikSerpentCamellia); + TC_ENCRYPTION_ALGORITHM (CamelliaKuznyechik); + TC_ENCRYPTION_ALGORITHM (CamelliaSerpent); #undef TC_ENCRYPTION_ALGORITHM } |