Home
last modified time | relevance | path

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

/system/keymaster/
Dhkdf.cpp29 const size_t kSHA256HashLength = 32; variable
49 uint8_t zeros[kSHA256HashLength]; in Rfc5869HmacSha256Kdf()
59 uint8_t prk[kSHA256HashLength]; in Rfc5869HmacSha256Kdf()
66 const size_t n = (key_bytes_to_generate + kSHA256HashLength - 1) / kSHA256HashLength; in Rfc5869HmacSha256Kdf()
68 output_.reset(new (std::nothrow) uint8_t[n * kSHA256HashLength]); in Rfc5869HmacSha256Kdf()
74 uint8_t buf[kSHA256HashLength + info_len + 1]; in Rfc5869HmacSha256Kdf()
75 uint8_t digest[kSHA256HashLength]; in Rfc5869HmacSha256Kdf()