Searched refs:salt_len (Results 1 – 4 of 4) sorted by relevance
/system/keymaster/ |
D | kdf.cpp | 24 const uint8_t* salt, size_t salt_len) { in Init() argument 48 salt_len_ = salt_len; in Init() 49 if (salt && salt_len > 0) { in Init() 50 salt_.reset(dup_buffer(salt, 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 | 36 const uint8_t* salt, size_t salt_len);
|
/system/extras/verity/ |
D | build_verity_tree.cpp | 55 const unsigned char *salt, size_t salt_len, in hash_block() argument 65 ret &= EVP_DigestUpdate(mdctx, salt, salt_len); in hash_block()
|