The length of a tag for an AEAD algorithm, in bytes. This macro can be used to allocate a buffer of sufficient size to store the tag output from psa_aead_finish(). See also #PSA_AEAD_TAG_MAX_SIZE.
An AEAD algorithm (\c PSA_ALG_XXX value such that #PSA_ALG_IS_AEAD(\p alg) is true).
Return value
The tag length for the specified algorithm and key. If the AEAD algorithm does not have an identified tag that can be distinguished from the rest of the ciphertext, return 0. If the key type or AEAD algorithm is not recognized, or the parameters are incompatible, return 0.