Skip to content

Commit

Permalink
Add MBEDTLS_PSA_BUILTIN_AEAD definition
Browse files Browse the repository at this point in the history
Signed-off-by: Przemek Stekiel <[email protected]>
  • Loading branch information
mprse committed Oct 13, 2022
1 parent 9e8556c commit 0368d36
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/psa/crypto_builtin_composites.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@
#define MBEDTLS_PSA_BUILTIN_MAC
#endif

#if defined(MBEDTLS_PSA_BUILTIN_ALG_GCM) || \
defined(MBEDTLS_PSA_BUILTIN_ALG_CCM) || \
defined(MBEDTLS_PSA_BUILTIN_ALG_CHACHA20_POLY1305)
#define MBEDTLS_PSA_BUILTIN_AEAD 1
#endif

#if defined(MBEDTLS_PSA_BUILTIN_ALG_HMAC) || defined(PSA_CRYPTO_DRIVER_TEST)
typedef struct
{
Expand Down

0 comments on commit 0368d36

Please sign in to comment.