Crypto: Implement additional PSA Crypto APIs
This patch implements additional missing APIs available
in the PSA Crypto API headers.
Change-Id: I453f6829ed2c87a47546514becda599ecd1273a4
Signed-off-by: Antonio de Angelis <antonio.deangelis@arm.com>
diff --git a/secure_fw/services/crypto/crypto_mac.c b/secure_fw/services/crypto/crypto_mac.c
index c9218fe..625aacd 100644
--- a/secure_fw/services/crypto/crypto_mac.c
+++ b/secure_fw/services/crypto/crypto_mac.c
@@ -278,7 +278,8 @@
handle,
(void **)&operation);
if (status != PSA_SUCCESS) {
- return status;
+ /* Operation does not exist, so abort has no effect */
+ return PSA_SUCCESS;
}
status = psa_mac_abort(operation);