Searched refs:block_input_len (Results 1 – 2 of 2) sorted by relevance
65 size_t block_input_len = 0; in GenerateKey() local68 block_input_len = digest_size_; in GenerateKey()70 if (info != nullptr && info_len > 0) memcpy(buf.get() + block_input_len, info, info_len); in GenerateKey()71 block_input_len += info_len; in GenerateKey()72 *(buf.get() + block_input_len++) = static_cast<uint8_t>(i + 1); in GenerateKey()73 result = hmac.Sign(buf.get(), block_input_len, digest.get(), digest_size_); in GenerateKey()
54 size_t block_input_len = 0; in hkdfExpand() local59 block_input_len = sizeof(exp_hmac); in hkdfExpand()63 hmacUpdateHashInit(&hmacCtx, buf, block_input_len); in hkdfExpand()