Home
last modified time | relevance | path

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

/system/keymaster/
Dhkdf.cpp32 size_t key_bytes_to_generate, keymaster_error_t* error) { in Rfc5869HmacSha256Kdf() argument
35 key_bytes_to_generate, error); in Rfc5869HmacSha256Kdf()
41 size_t key_bytes_to_generate, keymaster_error_t* error) { in Rfc5869HmacSha256Kdf() argument
66 const size_t n = (key_bytes_to_generate + kSHA256HashLength - 1) / kSHA256HashLength; in Rfc5869HmacSha256Kdf()
94 if (key_bytes_to_generate) { in Rfc5869HmacSha256Kdf()
95 secret_key_len_ = key_bytes_to_generate; in Rfc5869HmacSha256Kdf()
96 secret_key_.reset(dup_buffer(output_.get(), key_bytes_to_generate)); in Rfc5869HmacSha256Kdf()
Dhkdf.h41 Rfc5869HmacSha256Kdf(Buffer& secret, Buffer& salt, Buffer& info, size_t key_bytes_to_generate,
46 size_t key_bytes_to_generate, keymaster_error_t* error);