Home
last modified time | relevance | path

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

/system/keymaster/km_openssl/
Dkdf.cpp24 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/
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/libfec/
Davb_utils.cpp104 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/
Dcrypto.hpp45 const uint8_t *salt, size_t salt_len);
Dcrypto.cpp209 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/
Davb_util.cpp179 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/
Dapex_file.cpp198 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/
Dpayload_generation_config_android.cc54 part->verity.hash_tree_salt.assign(salt, salt + hashtree.salt_len); in AvbDescriptorCallback()