Adjust documentation of PSA_ALG_AEAD_IS_BASE_EQUAL

Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
This commit is contained in:
Bence Szépkúti 2021-04-16 11:56:58 +02:00
parent 607c0af246
commit 359411fd07

View file

@ -1182,8 +1182,8 @@
*
* \return 1 if the base both arguments correspond to the same base
* algorithm, 0 otherwise.
* Unspecified if \p aead_alg_1 or \p aead_alg_2 are not
* supported AEAD algorithms.
* Unspecified if neither \p aead_alg_1 nor \p aead_alg_2 are
* a supported AEAD algorithm.
*/
#define PSA_ALG_AEAD_IS_BASE_EQUAL(aead_alg_1, aead_alg_2) \
(!(((aead_alg_1) ^ (aead_alg_2)) & \