mbedtls
mbedtls copied to clipboard
adjust_legacy_crypto: enabled CIPHER_C if CMAC is builtin
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.