Home
last modified time | relevance | path

Searched refs:TCHmacState_t (Results 1 – 4 of 4) sorted by relevance

/mcuboot-latest/ext/tinycrypt/lib/include/tinycrypt/
Dhmac.h78 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);
/mcuboot-latest/ext/tinycrypt/lib/source/
Dhmac.c52 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()
/mcuboot-latest/ext/tinycrypt/tests/
Dtest_hmac.c51 unsigned int do_hmac_test(TCHmacState_t h, unsigned int testnum, const uint8_t *data, in do_hmac_test()
/mcuboot-latest/ext/tinycrypt/documentation/
Dtinycrypt.rst139 clean the TCHmacState_t ctx after calling tc_hmac_final. This should not