mbedtls icon indicating copy to clipboard operation
mbedtls copied to clipboard

adjust_legacy_crypto: enabled CIPHER_C if CMAC is builtin

Open valeriosetti opened this issue 1 year ago • 0 comments

psa_crypto_mac.c requires cipher's functions so we need to auto-enable MBEDTLS_CIPHER_C when CMAC support in PSA is built-in.

This PR tracks the change introduced in the official Mbed TLS repo https://github.com/Mbed-TLS/mbedtls/pull/9178. Note: for now 9178 is introduced in the main development branch, but it will also be backported to mbedtls-3.6 once it is approved on the main branch.

valeriosetti avatar May 24 '24 13:05 valeriosetti