Home
last modified time | relevance | path

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

/system/keymaster/km_openssl/
Dkdf.cpp23 bool Kdf::Init(keymaster_digest_t digest_type, const uint8_t* secret, size_t secret_len, in Init() argument
40 if (!secret || secret_len == 0) in Init()
43 secret_key_len_ = secret_len; in Init()
44 secret_key_.reset(dup_buffer(secret, secret_len)); in Init()
/system/keymaster/include/keymaster/km_openssl/
Diso18033kdf.h37 bool Init(keymaster_digest_t digest_type, const uint8_t* secret, size_t secret_len) { in Init() argument
38 return Kdf::Init(digest_type, secret, secret_len, nullptr /* salt */, 0 /* salt_len */); in Init()
Dhkdf.h40 bool Init(const uint8_t* secret, size_t secret_len, const uint8_t* salt, size_t salt_len) { in Init() argument
41 return Kdf::Init(KM_DIGEST_SHA_2_256, secret, secret_len, salt, salt_len); in Init()
Dkdf.h35 bool Init(keymaster_digest_t digest_type, const uint8_t* secret, size_t secret_len,