Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion library/psa_crypto_aead.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ static psa_status_t psa_aead_setup(

key_bits = attributes->core.bits;

#if defined (MBEDTLS_PSA_CRYPTO_ACCEL_DRV_C)
#if defined (MBEDTLS_PSA_CRYPTO_ACCEL_DRV_C) && (defined(MBEDTLS_GCM_ALT) || defined(MBEDTLS_CCM_ALT) || defined(MBEDTLS_CIPHER_ALT))
if (PSA_KEY_TYPE_IS_VENDOR_DEFINED(attributes->core.type))
{
/* The mbedcrypto implementation obtains the list of methods based on the keybit size.
Expand Down