Skip to content

Commit 4e29c8f

Browse files
Ron EldorRon Eldor
Ron Eldor
authored and
Ron Eldor
committed
Make the cmac context a typedef
Make the cmac context a typedef, to be compatible with c code.
1 parent f492ce8 commit 4e29c8f

File tree

1 file changed

+2
-2
lines changed
  • features/cryptocell/FEATURE_CRYPTOCELL310

1 file changed

+2
-2
lines changed

features/cryptocell/FEATURE_CRYPTOCELL310/cmac_alt.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
extern "C" {
2828
#endif
2929

30-
struct mbedtls_cmac_context_t
30+
typedef struct mbedtls_cmac_context_t
3131
{
3232
SaSiAesUserContext_t CC_Context;
3333
uint8_t CC_Key[SASI_AES_KEY_MAX_SIZE_IN_BYTES];
@@ -40,7 +40,7 @@ struct mbedtls_cmac_context_t
4040
size_t unprocessed_len;
4141

4242
int is_cc_initiated;
43-
};
43+
} mbedtls_cmac_context_t;
4444

4545
#ifdef __cplusplus
4646
}

0 commit comments

Comments
 (0)