Searched refs:TC_SHA256_DIGEST_SIZE (Results 1 – 4 of 4) sorted by relevance
77 (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()
217 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()
68 #define TC_SHA256_DIGEST_SIZE (32) macro69 #define TC_SHA256_STATE_BLOCKS (TC_SHA256_DIGEST_SIZE/4)
84 uint8_t key[TC_SHA256_DIGEST_SIZE];86 uint8_t v[TC_SHA256_DIGEST_SIZE];