Skip to content

Commit

Permalink
MBEDTLS_CHACHAPOLY_C is needed when PSA_WANT_ALG_CHACHA20_POLY1305 is…
Browse files Browse the repository at this point in the history
… defined

Signed-off-by: Summer Qin <[email protected]>
  • Loading branch information
Summer-ARM committed Jun 17, 2022
1 parent ca3c6a5 commit e015282
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/mbedtls/config_psa.h
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,7 @@ extern "C" {
#if !defined(MBEDTLS_PSA_ACCEL_ALG_CHACHA20_POLY1305)
#if defined(PSA_WANT_KEY_TYPE_CHACHA20)
#define MBEDTLS_CHACHAPOLY_C
#define MBEDTLS_POLY1305_C
#define MBEDTLS_PSA_BUILTIN_ALG_CHACHA20_POLY1305 1
#endif /* PSA_WANT_KEY_TYPE_CHACHA20 */
#endif /* !MBEDTLS_PSA_ACCEL_ALG_CHACHA20_POLY1305 */
Expand Down

0 comments on commit e015282

Please sign in to comment.