keepassxc/src/crypto
Barnabás Pőcze 16b3d32ca5
Fix Botan 3 build (#9388)
* SymmetricCipher: Fix Botan 3 build

Botan commit 819cf8fe6278a19b8266f449228f02fc28a4f784 changed
Botan::Cipher_Dir to be a scoped enumeration, so the users
must be adapted.

This change causes no issues with Botan 2 because normal
enumeration values can also be referred to the same way
scoped enumeration values are accessed.

* Auto detect Botan3

* AsyncTask: Do not use `std::result_of`

`std::result_of` was deprecated in C++17 and then it was
subsequently removed in C++20. One could use `std::invoke_result_t`,
but let Qt figure out the return type instead.

* Collapse Botan2 and Botan3 find package into one

* Update COPYING

---------

Co-authored-by: Jonathan White <support@dmapps.us>
2023-05-07 08:48:58 -04:00
..
kdf Improve speed of AES KDF transform 2022-04-02 12:50:43 -04:00
Crypto.cpp Fix Botan 3 build (#9388) 2023-05-07 08:48:58 -04:00
Crypto.h Replace all crypto libraries with Botan 2021-04-05 22:56:03 -04:00
CryptoHash.cpp clang-tidy: use braced init list (#7998) 2023-01-29 10:05:44 -05:00
CryptoHash.h Replace all crypto libraries with Botan 2021-04-05 22:56:03 -04:00
Random.cpp Optimize includes across code base 2021-07-13 22:08:33 -04:00
Random.h Optimize includes across code base 2021-07-13 22:08:33 -04:00
SymmetricCipher.cpp Fix Botan 3 build (#9388) 2023-05-07 08:48:58 -04:00
SymmetricCipher.h Fix support for AES-256/GCM openssh keys (#8968) 2023-01-29 10:57:09 -05:00