Home
last modified time | relevance | path

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

/tinycrypt-3.7.0/lib/source/
Dhmac.c77 (void)tc_sha256_final(&dummy_state.key[TC_SHA256_DIGEST_SIZE], in tc_hmac_set_key()
85 (void)tc_sha256_final(&ctx->key[TC_SHA256_DIGEST_SIZE], in tc_hmac_set_key()
88 &ctx->key[TC_SHA256_DIGEST_SIZE], in tc_hmac_set_key()
89 TC_SHA256_DIGEST_SIZE); in tc_hmac_set_key()
129 taglen != TC_SHA256_DIGEST_SIZE || in tc_hmac_final()
140 (void)tc_sha256_update(&ctx->hash_state, tag, TC_SHA256_DIGEST_SIZE); in tc_hmac_final()
Dhmac_prng.c217 bufferlen = (TC_SHA256_DIGEST_SIZE > outlen) ? in tc_hmac_prng_generate()
218 outlen : TC_SHA256_DIGEST_SIZE; in tc_hmac_prng_generate()
222 outlen = (outlen > TC_SHA256_DIGEST_SIZE) ? in tc_hmac_prng_generate()
223 (outlen - TC_SHA256_DIGEST_SIZE) : 0; in tc_hmac_prng_generate()
/tinycrypt-3.7.0/lib/include/tinycrypt/
Dsha256.h68 #define TC_SHA256_DIGEST_SIZE (32) macro
69 #define TC_SHA256_STATE_BLOCKS (TC_SHA256_DIGEST_SIZE/4)
Dhmac_prng.h84 uint8_t key[TC_SHA256_DIGEST_SIZE];
86 uint8_t v[TC_SHA256_DIGEST_SIZE];