Home
last modified time | relevance | path

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

/system/keymaster/
Dkdf.cpp24 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()
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.h36 const uint8_t* salt, size_t salt_len);
/system/extras/verity/
Dbuild_verity_tree.cpp55 const unsigned char *salt, size_t salt_len, in hash_block() argument
65 ret &= EVP_DigestUpdate(mdctx, salt, salt_len); in hash_block()