mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-30 15:32:58 +00:00
Change config_psa.h PBKDF2_CMAC dependencies
Signed-off-by: Kusumit Ghoderao <Kusumit.Ghoderao@silabs.com>
This commit is contained in:
parent
5168bd5f0f
commit
ce38db1c0b
@ -519,12 +519,20 @@ extern "C" {
|
|||||||
#define MBEDTLS_PSA_BUILTIN_ALG_CMAC 1
|
#define MBEDTLS_PSA_BUILTIN_ALG_CMAC 1
|
||||||
#define MBEDTLS_CMAC_C
|
#define MBEDTLS_CMAC_C
|
||||||
#endif /* !MBEDTLS_PSA_ACCEL_ALG_CMAC */
|
#endif /* !MBEDTLS_PSA_ACCEL_ALG_CMAC */
|
||||||
|
#endif /* PSA_WANT_ALG_CMAC */
|
||||||
|
|
||||||
#if defined(PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128)
|
#if defined(PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128)
|
||||||
#if !defined(MBEDTLS_PSA_ACCEL_ALG_PBKDF2_AES_CMAC_PRF_128)
|
#if !defined(MBEDTLS_PSA_ACCEL_ALG_PBKDF2_AES_CMAC_PRF_128)
|
||||||
#define MBEDTLS_PSA_BUILTIN_ALG_PBKDF2_AES_CMAC_PRF_128 1
|
#define MBEDTLS_PSA_BUILTIN_ALG_PBKDF2_AES_CMAC_PRF_128 1
|
||||||
|
#if !defined(MBEDTLS_PSA_ACCEL_KEY_TYPE_AES)
|
||||||
|
#define MBEDTLS_PSA_BUILTIN_KEY_TYPE_AES 1
|
||||||
|
#endif /* !MBEDTLS_PSA_ACCEL_KEY_TYPE_AES */
|
||||||
|
#if !defined(MBEDTLS_PSA_ACCEL_ALG_CMAC)
|
||||||
|
#define MBEDTLS_PSA_BUILTIN_ALG_CMAC 1
|
||||||
|
#endif /* !MBEDTLS_PSA_ACCEL_ALG_CMAC */
|
||||||
#endif /* !MBEDTLS_PSA_ACCEL_ALG_PBKDF2_AES_CMAC_PRF_128 */
|
#endif /* !MBEDTLS_PSA_ACCEL_ALG_PBKDF2_AES_CMAC_PRF_128 */
|
||||||
#endif /* PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128 */
|
#endif /* PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128 */
|
||||||
#endif /* PSA_WANT_ALG_CMAC */
|
|
||||||
|
|
||||||
#if defined(PSA_WANT_ALG_CTR)
|
#if defined(PSA_WANT_ALG_CTR)
|
||||||
#if !defined(MBEDTLS_PSA_ACCEL_ALG_CTR) || \
|
#if !defined(MBEDTLS_PSA_ACCEL_ALG_CTR) || \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user