0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 20:13:05 +02:00
openvpn3/openvpn/crypto
Arne Schwabe 171fd2f0af
Fix mbed TLS AEAD encrypt/decrypt with newer mbed TLS 2.x versions
Newer mbed TLS version changed the API. This fixes our usage of the API and
also removed the micro optimisation of reusing the buffer for plain and cipher
text.

It also adds a unit test to ensure the data is correctly encrypted/decrypted.

Signed-off-by: Arne Schwabe <arne@openvpn.net>
2023-03-08 17:06:24 +01:00
..
bs64_data_limit.hpp Reformatting source code to new coding style 2023-01-18 19:24:15 +01:00
cipher.hpp Reformatting source code to new coding style 2023-01-18 19:24:15 +01:00
crypto_aead.hpp Fix mbed TLS AEAD encrypt/decrypt with newer mbed TLS 2.x versions 2023-03-08 17:06:24 +01:00
crypto_chm.hpp Reformatting source code to new coding style 2023-01-18 19:24:15 +01:00
cryptoalgs.hpp Reformatting source code to new coding style 2023-01-18 19:24:15 +01:00
cryptodc.hpp Reformatting source code to new coding style 2023-01-18 19:24:15 +01:00
cryptodcsel.hpp Reformatting source code to new coding style 2023-01-18 19:24:15 +01:00
decrypt_chm.hpp Reformatting source code to new coding style 2023-01-18 19:24:15 +01:00
definitions.hpp Reformatting source code to new coding style 2023-01-18 19:24:15 +01:00
digestapi.hpp Reformatting source code to new coding style 2023-01-18 19:24:15 +01:00
encrypt_chm.hpp Reformatting source code to new coding style 2023-01-18 19:24:15 +01:00
hashstr.hpp Reformatting source code to new coding style 2023-01-18 19:24:15 +01:00
ovpnhmac.hpp Reformatting source code to new coding style 2023-01-18 19:24:15 +01:00
packet_id.hpp Reformatting source code to new coding style 2023-01-18 19:24:15 +01:00
selftest.hpp Reformatting source code to new coding style 2023-01-18 19:24:15 +01:00
static_key.hpp add OpenVPNStaticKey::XOR() function 2023-02-01 23:05:05 +01:00
tls_crypt_v2.hpp Reformatting source code to new coding style 2023-01-18 19:24:15 +01:00
tls_crypt.hpp Reformatting source code to new coding style 2023-01-18 19:24:15 +01:00