Home
last modified time | relevance | path

Searched refs:hash_state (Results 1 – 2 of 2) sorted by relevance

/tinycrypt-latest/lib/source/
Dhmac.c73 (void)tc_sha256_init(&dummy_state.hash_state); in tc_hmac_set_key()
74 (void)tc_sha256_update(&dummy_state.hash_state, in tc_hmac_set_key()
78 &dummy_state.hash_state); in tc_hmac_set_key()
83 (void)tc_sha256_init(&ctx->hash_state); in tc_hmac_set_key()
84 (void)tc_sha256_update(&ctx->hash_state, key, key_size); in tc_hmac_set_key()
86 &ctx->hash_state); in tc_hmac_set_key()
103 (void) tc_sha256_init(&ctx->hash_state); in tc_hmac_init()
104 (void) tc_sha256_update(&ctx->hash_state, ctx->key, TC_SHA256_BLOCK_SIZE); in tc_hmac_init()
119 (void)tc_sha256_update(&ctx->hash_state, data, data_length); in tc_hmac_update()
134 (void) tc_sha256_final(tag, &ctx->hash_state); in tc_hmac_final()
[all …]
/tinycrypt-latest/lib/include/tinycrypt/
Dhmac.h74 struct tc_sha256_state_struct hash_state; member