mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-17 10:41:15 -04:00
SymmetricCipher: Add support for AES-128-CBC
This commit is contained in:
parent
80d85965e9
commit
d2359df2b0
5 changed files with 91 additions and 0 deletions
|
@ -37,6 +37,9 @@ SymmetricCipherGcrypt::~SymmetricCipherGcrypt()
|
|||
int SymmetricCipherGcrypt::gcryptAlgo(SymmetricCipher::Algorithm algo)
|
||||
{
|
||||
switch (algo) {
|
||||
case SymmetricCipher::Aes128:
|
||||
return GCRY_CIPHER_AES128;
|
||||
|
||||
case SymmetricCipher::Aes256:
|
||||
return GCRY_CIPHER_AES256;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue