psa: config: Add CAMELLIA to the list of possible CMAC ciphers

Camellia-CMAC is valid PSA configuration.

Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
Ronald Cron 2021-03-25 14:25:46 +01:00
parent b9df5ceb8f
commit 51a3b7d79c

View File

@ -36,6 +36,7 @@
#if defined(PSA_WANT_ALG_CMAC) && \ #if defined(PSA_WANT_ALG_CMAC) && \
!( defined(PSA_WANT_KEY_TYPE_AES) || \ !( defined(PSA_WANT_KEY_TYPE_AES) || \
defined(PSA_WANT_KEY_TYPE_CAMELLIA) || \
defined(PSA_WANT_KEY_TYPE_DES) ) defined(PSA_WANT_KEY_TYPE_DES) )
#error "PSA_WANT_ALG_CMAC defined, but not all prerequisites" #error "PSA_WANT_ALG_CMAC defined, but not all prerequisites"
#endif #endif