Home
last modified time | relevance | path

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

/mcuboot-latest/ext/tinycrypt/lib/source/
Dhmac.c74 (void)tc_sha256_init(&dummy_state.hash_state); in tc_hmac_set_key()
75 (void)tc_sha256_update(&dummy_state.hash_state, in tc_hmac_set_key()
79 &dummy_state.hash_state); in tc_hmac_set_key()
84 (void)tc_sha256_init(&ctx->hash_state); in tc_hmac_set_key()
85 (void)tc_sha256_update(&ctx->hash_state, key, key_size); in tc_hmac_set_key()
87 &ctx->hash_state); in tc_hmac_set_key()
104 (void) tc_sha256_init(&ctx->hash_state); in tc_hmac_init()
105 (void) tc_sha256_update(&ctx->hash_state, ctx->key, TC_SHA256_BLOCK_SIZE); in tc_hmac_init()
120 (void)tc_sha256_update(&ctx->hash_state, data, data_length); in tc_hmac_update()
135 (void) tc_sha256_final(tag, &ctx->hash_state); in tc_hmac_final()
[all …]
/mcuboot-latest/ext/tinycrypt/lib/include/tinycrypt/
Dhmac.h74 struct tc_sha256_state_struct hash_state; member