Searched refs:secret_len (Results 1 – 6 of 6) sorted by relevance
/system/keymaster/km_openssl/ |
D | kdf.cpp | 23 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) return false; in Init() 42 secret_key_len_ = secret_len; in Init() 43 secret_key_.reset(dup_buffer(secret, secret_len)); in Init()
|
/system/keymaster/include/keymaster/km_openssl/ |
D | iso18033kdf.h | 36 bool Init(keymaster_digest_t digest_type, const uint8_t* secret, size_t secret_len) { in Init() argument 37 return Kdf::Init(digest_type, secret, secret_len, nullptr /* salt */, 0 /* salt_len */); in Init()
|
D | hkdf.h | 40 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()
|
D | kdf.h | 35 bool Init(keymaster_digest_t digest_type, const uint8_t* secret, size_t secret_len,
|
/system/security/keystore2/src/crypto/ |
D | crypto.hpp | 46 const uint8_t *secret, size_t secret_len,
|
D | crypto.cpp | 208 bool HKDFExtract(uint8_t* out_key, size_t* out_len, const uint8_t* secret, size_t secret_len, in HKDFExtract() argument 211 auto result = HKDF_extract(out_key, out_len, digest, secret, secret_len, salt, salt_len); in HKDFExtract()
|