mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-20 04:02:15 +02:00
29e060ffb3
The CryptoDCSettings::digest() method returns SHA1 digest when the cipher is an AEAD cipher. This is incorrect, as AEAD ciphers does not use digests for authentication at all; the authentication is an integral part of the AEAD cipher itself. To solve this, the CryptoAlgs::AlgFlags has been extended with a new F_NO_CIPHER_DIGEST flag which is expected to be set on ciphers not depending on any digests for authentication, like AES-GCM/AEAD ciphers. A new method, use_cipher_digest(), will return True if the cipher depends on a digest for authentication. Signed-off-by: David Sommerseth <davids@openvpn.net> |
||
---|---|---|
.. | ||
bs64_data_limit.hpp | ||
cipher.hpp | ||
crypto_aead.hpp | ||
crypto_chm.hpp | ||
cryptoalgs.hpp | ||
cryptodc.hpp | ||
cryptodcsel.hpp | ||
decrypt_chm.hpp | ||
digestapi.hpp | ||
encrypt_chm.hpp | ||
hashstr.hpp | ||
ovpnhmac.hpp | ||
packet_id.hpp | ||
selftest.hpp | ||
static_key.hpp | ||
tls_crypt_v2.hpp | ||
tls_crypt.hpp |