Allow multiple return statuses where reasonable

psa_aead_verify always outputs 0 bytes in Mbed TLS, so accept
PSA_SUCCESS as well in the small buffer test.

Allow psa_aead_setup to return PSA_ERROR_NOT_SUPPORTED for incompatible
algorithm / key type pairs in addition to PSA_ERROR_INVALID_ARGUMENT.

Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
8 files changed