Searched refs:TCHmacState_t (Results 1 – 2 of 2) sorted by relevance
/lib/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);
|
/lib/source/ |
A D | hmac.c | 52 int tc_hmac_set_key(TCHmacState_t ctx, const uint8_t *key, in tc_hmac_set_key() 56 if (ctx == (TCHmacState_t) 0 || in tc_hmac_set_key() 95 int tc_hmac_init(TCHmacState_t ctx) in tc_hmac_init() 99 if (ctx == (TCHmacState_t) 0) { in tc_hmac_init() 109 int tc_hmac_update(TCHmacState_t ctx, in tc_hmac_update() 115 if (ctx == (TCHmacState_t) 0) { in tc_hmac_update() 124 int tc_hmac_final(uint8_t *tag, unsigned int taglen, TCHmacState_t ctx) in tc_hmac_final() 130 ctx == (TCHmacState_t) 0) { in tc_hmac_final()
|
Completed in 7 milliseconds