Helper macros#
Macros#
Check if two AEAD algorithm identifiers refer to the same AEAD algorithm regardless of the tag length they encode.
Check if two AEAD algorithm identifiers refer to the same AEAD algorithm regardless of the tag length they encode.
Macro Definition Documentation#
MBEDTLS_PSA_ALG_AEAD_EQUAL#
#define MBEDTLS_PSA_ALG_AEAD_EQUALValue:
Check if two AEAD algorithm identifiers refer to the same AEAD algorithm regardless of the tag length they encode.
Returns
1 if both identifiers refer to the same AEAD algorithm, 0 otherwise. Unspecified if neither
aead_alg_1noraead_alg_2are a supported AEAD algorithm.
MBEDTLS_PSA_ALG_AEAD_EQUAL#
#define MBEDTLS_PSA_ALG_AEAD_EQUALValue:
Check if two AEAD algorithm identifiers refer to the same AEAD algorithm regardless of the tag length they encode.
Returns
1 if both identifiers refer to the same AEAD algorithm, 0 otherwise. Unspecified if neither
aead_alg_1noraead_alg_2are a supported AEAD algorithm.