Searched refs:salt_len (Results 1 – 9 of 9) sorted by relevance
/system/keymaster/km_openssl/ |
D | kdf.cpp | 24 const uint8_t* salt, size_t salt_len) { in Init() argument 46 salt_len_ = salt_len; in Init() 47 if (salt && salt_len > 0) { in Init() 48 salt_.reset(dup_buffer(salt, salt_len)); in Init()
|
/system/keymaster/include/keymaster/km_openssl/ |
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/libfec/ |
D | avb_utils.cpp | 104 uint32_t root_offset = salt_offset + hashtree_descriptor.salt_len; in parse_avb_image() 105 check(hashtree_descriptor.salt_len < vbmeta.size()); in parse_avb_image() 106 check(salt_offset < vbmeta.size() - hashtree_descriptor.salt_len); in parse_avb_image() 111 read_ptr + salt_offset + hashtree_descriptor.salt_len); in parse_avb_image()
|
/system/security/keystore2/src/crypto/ |
D | crypto.hpp | 45 const uint8_t *salt, size_t salt_len);
|
D | crypto.cpp | 209 const uint8_t* salt, size_t salt_len) { in HKDFExtract() argument 211 auto result = HKDF_extract(out_key, out_len, digest, secret, secret_len, salt, salt_len); in HKDFExtract()
|
/system/core/fs_mgr/libfs_avb/ |
D | avb_util.cpp | 179 hash_desc->salt = BytesToHex(desc_salt, hash_desc->salt_len); in GetHashDescriptor() 181 const uint8_t* desc_digest = desc_salt + hash_desc->salt_len; in GetHashDescriptor() 238 hashtree_desc->salt = BytesToHex(desc_salt, hashtree_desc->salt_len); in GetHashtreeDescriptor() 240 const uint8_t* desc_digest = desc_salt + hashtree_desc->salt_len; in GetHashtreeDescriptor()
|
/system/apex/apexd/ |
D | apex_file.cpp | 198 return BytesToHex(desc_salt, desc.salt_len); in GetSalt() 204 trailing_data + desc.partition_name_len + desc.salt_len; in GetDigest()
|
/system/update_engine/payload_generator/ |
D | payload_generation_config_android.cc | 54 part->verity.hash_tree_salt.assign(salt, salt + hashtree.salt_len); in AvbDescriptorCallback()
|