Home
last modified time | relevance | path

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

/system/keymaster/km_openssl/
Dhkdf.cpp44 UniquePtr<uint8_t[]> pseudo_random_key(new (std::nothrow) uint8_t[digest_size_]); in GenerateKey() local
45 if (pseudo_random_key.get() == nullptr || digest_size_ != prk_hmac.DigestLength()) return false; in GenerateKey()
47 prk_hmac.Sign(secret_key_.get(), secret_key_len_, pseudo_random_key.get(), digest_size_); in GenerateKey()
61 result = hmac.Init(pseudo_random_key.get(), digest_size_); in GenerateKey()