mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-05-17 18:11:30 +00:00
wolfCrypt as crypto backend for VeraCrypt (#1227)
* wolfCrypt as crypto backend for VeraCrypt * Refactor to use EncryptionModeWolfCryptXTS class
This commit is contained in:
@@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user