Crypto: Enhance definitions of Crypto function IDs
Signed-off-by: David Hu <david.hu@arm.com>
Signed-off-by: Antonio de Angelis <antonio.deangelis@arm.com>
Change-Id: Ifa809969bf02ba3c6daba4d7c32f7f7a61f7ecc2
diff --git a/secure_fw/partitions/crypto/crypto_init.c b/secure_fw/partitions/crypto/crypto_init.c
index da20896..0f01b3b 100644
--- a/secure_fw/partitions/crypto/crypto_init.c
+++ b/secure_fw/partitions/crypto/crypto_init.c
@@ -341,7 +341,7 @@
int32_t caller_id = 0;
struct tfm_crypto_key_id_s encoded_key = TFM_CRYPTO_KEY_ID_S_INIT;
bool is_key_required = false;
- enum tfm_crypto_group_id group_id;
+ enum tfm_crypto_group_id_t group_id;
if (in_vec[0].len != sizeof(struct tfm_crypto_pack_iovec)) {
return PSA_ERROR_PROGRAMMER_ERROR;