Home
last modified time | relevance | path

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

/system/keymaster/km_openssl/
Dhkdf.cpp65 size_t block_input_len = 0; in GenerateKey() local
68 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()
/system/chre/apps/nearby/location/lbs/contexthub/nanoapps/nearby/crypto/
Dhkdf.c54 size_t block_input_len = 0; in hkdfExpand() local
59 block_input_len = sizeof(exp_hmac); in hkdfExpand()
63 hmacUpdateHashInit(&hmacCtx, buf, block_input_len); in hkdfExpand()