An open source, portable, easy to use, readable and flexible TLS library, and reference implementation of the PSA Cryptography API. Releases are on a varying cadence, typically around 3 - 6 months between releases.
From code inspection (context: https://github.com/ARMmbed/mbedtls/pull/1915), we only allow GCM and CCM modes to wrap SSL session tickets. (mbedtls_ssl_ticket_setup checks that cipher_info->mode is MBEDTLS_MODE_CCM or MBEDTLS_MODE_GCM.) We should allow any AEAD mode, including ChaChaPoly.
More generally, instead of having to enumerate the authenticated modes all the time, the cipher module should expose a function mbedtls_cipher_mode_is_authenticated.
Type: Enhancement
Priority: Minor
From code inspection (context: https://github.com/ARMmbed/mbedtls/pull/1915), we only allow GCM and CCM modes to wrap SSL session tickets. (
mbedtls_ssl_ticket_setup
checks thatcipher_info->mode
isMBEDTLS_MODE_CCM
orMBEDTLS_MODE_GCM
.) We should allow any AEAD mode, including ChaChaPoly.More generally, instead of having to enumerate the authenticated modes all the time, the cipher module should expose a function
mbedtls_cipher_mode_is_authenticated
.