Home
last modified time | relevance | path

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

/system/keymaster/km_openssl/
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()
/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/core/fs_mgr/libfs_avb/
Davb_util.cpp177 hash_desc->salt = BytesToHex(desc_salt, hash_desc->salt_len); in GetHashDescriptor()
179 const uint8_t* desc_digest = desc_salt + hash_desc->salt_len; in GetHashDescriptor()
236 hashtree_desc->salt = BytesToHex(desc_salt, hashtree_desc->salt_len); in GetHashtreeDescriptor()
238 const uint8_t* desc_digest = desc_salt + hashtree_desc->salt_len; in GetHashtreeDescriptor()
/system/apex/apexd/
Dapex_file.cpp141 return bytes_to_hex(desc_salt, desc.salt_len); in getSalt()
147 trailingData + 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()