Searched refs:TCHmacState_t (Results 1 – 2 of 2) sorted by relevance
/AliOS-Things-master/components/ble_host/bt_crypto/tinycrypt/include/tinycrypt/ |
A D | hmac.h | 78 typedef struct tc_hmac_state_struct *TCHmacState_t; typedef 92 int tc_hmac_set_key(TCHmacState_t ctx, const uint8_t *key, 102 int tc_hmac_init(TCHmacState_t ctx); 114 int tc_hmac_update(TCHmacState_t ctx, const void *data, 133 int tc_hmac_final(uint8_t *tag, unsigned int taglen, TCHmacState_t ctx);
|
/AliOS-Things-master/components/ble_host/bt_crypto/tinycrypt/source/ |
A D | hmac.c | 52 int tc_hmac_set_key(TCHmacState_t ctx, const uint8_t *key, in tc_hmac_set_key() 57 if (ctx == (TCHmacState_t) 0 || in tc_hmac_set_key() 96 int tc_hmac_init(TCHmacState_t ctx) in tc_hmac_init() 100 if (ctx == (TCHmacState_t) 0) { in tc_hmac_init() 110 int tc_hmac_update(TCHmacState_t ctx, in tc_hmac_update() 116 if (ctx == (TCHmacState_t) 0) { in tc_hmac_update() 125 int tc_hmac_final(uint8_t *tag, unsigned int taglen, TCHmacState_t ctx) in tc_hmac_final() 131 ctx == (TCHmacState_t) 0) { in tc_hmac_final()
|
Completed in 3 milliseconds