A sufficient ciphertext buffer size for psa_aead_finish(). If the size of the ciphertext buffer is at least this large, it is guaranteed that psa_aead_finish() will not fail due to an insufficient ciphertext buffer size. The actual size of the output may be smaller in any given call. See also #PSA_AEAD_FINISH_OUTPUT_MAX_SIZE.
A symmetric key type that is compatible with algorithm \p alg.
alg
An AEAD algorithm (\c PSA_ALG_XXX value such that #PSA_ALG_IS_AEAD(\p alg) is true).
Return value
A sufficient ciphertext buffer size for the specified algorithm. If the key type or AEAD algorithm is not recognized, or the parameters are incompatible, return 0.