mirror of https://github.com/ARMmbed/mbed-os.git
Make the cmac context a typedef
Make the cmac context a typedef, to be compatible with c code.pull/10947/head
parent
f492ce8405
commit
4e29c8f939
|
@ -27,7 +27,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct mbedtls_cmac_context_t
|
typedef struct mbedtls_cmac_context_t
|
||||||
{
|
{
|
||||||
SaSiAesUserContext_t CC_Context;
|
SaSiAesUserContext_t CC_Context;
|
||||||
uint8_t CC_Key[SASI_AES_KEY_MAX_SIZE_IN_BYTES];
|
uint8_t CC_Key[SASI_AES_KEY_MAX_SIZE_IN_BYTES];
|
||||||
|
@ -40,7 +40,7 @@ struct mbedtls_cmac_context_t
|
||||||
size_t unprocessed_len;
|
size_t unprocessed_len;
|
||||||
|
|
||||||
int is_cc_initiated;
|
int is_cc_initiated;
|
||||||
};
|
} mbedtls_cmac_context_t;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue