MBEDTLS_PSA_ALG_AEAD_EQUAL macro
Check if two AEAD algorithm identifiers refer to the same AEAD algorithm regardless of the tag length they encode.
Arguments
aead_alg_1
An AEAD algorithm identifier.
aead_alg_2
An AEAD algorithm identifier.
Return value
1 if both identifiers refer to the same AEAD algorithm, 0 otherwise. Unspecified if neither \p aead_alg_1 nor \p aead_alg_2 are a supported AEAD algorithm.
![]()
#define MBEDTLS_PSA_ALG_AEAD_EQUAL(aead_alg_1, aead_alg_2) \