Skip to content

Commit

Permalink
Add missing logic for accelerated ECB under MBEDTLS_PSA_CRYPTO_CONFIG
Browse files Browse the repository at this point in the history
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
  • Loading branch information
gilles-peskine-arm committed Apr 5, 2022
1 parent a9b6c80 commit 7a2e83b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/mbedtls/config_psa.h
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,8 @@ extern "C" {
#endif
#endif /* PSA_WANT_ALG_XTS */

#if defined(PSA_WANT_ALG_ECB_NO_PADDING)
#if defined(PSA_WANT_ALG_ECB_NO_PADDING) && \
!defined(MBEDTLS_PSA_ACCEL_ALG_ECB_NO_PADDING)
#define MBEDTLS_PSA_BUILTIN_ALG_ECB_NO_PADDING 1
#endif

Expand Down

0 comments on commit 7a2e83b

Please sign in to comment.