Mistake on this page?
Report an issue in GitHub or email us
Macros
Helper macros

Macros

#define MBEDTLS_PSA_ALG_AEAD_EQUAL(aead_alg_1, aead_alg_2)
 Check if two AEAD algorithm identifiers refer to the same AEAD algorithm regardless of the tag length they encode. More...
 

Detailed Description

Macro Definition Documentation

#define MBEDTLS_PSA_ALG_AEAD_EQUAL (   aead_alg_1,
  aead_alg_2 
)
Value:
(!(((aead_alg_1) ^ (aead_alg_2)) & \
~(PSA_ALG_AEAD_TAG_LENGTH_MASK | PSA_ALG_AEAD_AT_LEAST_THIS_LENGTH_FLAG)))

Check if two AEAD algorithm identifiers refer to the same AEAD algorithm regardless of the tag length they encode.

Parameters
aead_alg_1An AEAD algorithm identifier.
aead_alg_2An AEAD algorithm identifier.
Returns
1 if both identifiers refer to the same AEAD algorithm, 0 otherwise. Unspecified if neither aead_alg_1 nor aead_alg_2 are a supported AEAD algorithm.

Definition at line 2317 of file TARGET_TFM/TARGET_TFM_LATEST/include/psa/crypto_values.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.