Home
last modified time | relevance | path

Searched defs:salt (Results 1 – 25 of 25) sorted by relevance

/system/keymaster/include/keymaster/km_openssl/
Dhkdf.h35 bool Init(Buffer& secret, Buffer& salt) { in Init()
40 bool Init(const uint8_t* secret, size_t secret_len, const uint8_t* salt, size_t salt_len) { in Init()
/system/bt/stack/crypto_toolbox/
Dcrypto_toolbox.cc33 Octet16 h7(const Octet16& salt, const Octet16& w) { in h7()
83 const Octet16 salt{0xBE, 0x83, 0x60, 0x5A, 0xDB, 0x0B, 0x37, 0x60, in f5() local
157 constexpr Octet16 salt{0x31, 0x70, 0x6D, 0x74, 0x00, 0x00, 0x00, 0x00, in ltk_to_link_key() local
174 constexpr Octet16 salt{0x32, 0x70, 0x6D, 0x74, 0x00, 0x00, 0x00, 0x00, in link_key_to_ltk() local
/system/extras/verity/
Dbuild_verity_metadata.py63 def build_verity_table(block_device, data_blocks, root_hash, salt): argument
75 def build_verity_metadata(data_blocks, metadata_image, root_hash, salt, argument
Dbuild_verity_tree_main.cpp50 std::vector<unsigned char> salt; in main() local
Dbuild_verity_tree_test.cpp53 const std::vector<unsigned char>& salt) { in GenerateHashTree()
Dhash_tree_builder.cpp110 const std::vector<unsigned char>& salt) { in Initialize()
/system/keymaster/km_openssl/
Dkdf.cpp24 const uint8_t* salt, size_t salt_len) { in Init()
/system/bt/gd/crypto_toolbox/
Dcrypto_toolbox.cc34 Octet16 h7(const Octet16& salt, const Octet16& w) { in h7()
83 …const Octet16 salt{0xBE, 0x83, 0x60, 0x5A, 0xDB, 0x0B, 0x37, 0x60, 0x38, 0xA5, 0xF5, 0xAA, 0x91, 0… in f5() local
142 constexpr Octet16 salt{ in ltk_to_link_key() local
159 constexpr Octet16 salt{ in link_key_to_ltk() local
/system/update_engine/payload_generator/
Dpayload_generation_config_android_unittest.cc156 brillo::Blob salt(kHashTreeSalt, std::end(kHashTreeSalt)); in TEST_F() local
175 brillo::Blob salt(kHashTreeSalt, std::end(kHashTreeSalt)); in TEST_F() local
Dpayload_generation_config_android.cc51 const uint8_t* salt = reinterpret_cast<const uint8_t*>(descriptor) + in AvbDescriptorCallback() local
/system/keymaster/tests/
Dkdf_test.cpp34 uint8_t salt[128]; in TEST() local
Dhkdf_test.cpp63 const string salt = hex2str(test.salt_hex); in TEST() local
/system/core/fs_mgr/libfs_avb/include/fs_avb/
Dtypes.h60 std::string salt; member
66 std::string salt; member
/system/gatekeeper/include/gatekeeper/
Dpassword_handle.h40 salt_t salt; member
/system/extras/libfec/
Davb_utils.cpp109 std::vector<uint8_t> salt( in parse_avb_image() local
Dfec_verity.cpp142 const std::vector<uint8_t> &salt, int nid) { in initialize()
366 std::vector<uint8_t> salt; in parse_table() local
Dfec_private.h86 std::vector<uint8_t> salt; member
/system/security/keystore/
Duser_state.cpp168 uint8_t* salt; in readMasterKey() local
238 uint8_t* salt) { in generateKeyFromPassword()
/system/apex/apexd/
Dapex_file.h38 std::string salt; member
/system/gatekeeper/
Dgatekeeper.cpp90 salt_t salt; in Enroll() local
166 bool GateKeeper::CreatePasswordHandle(SizedBuffer *password_handle_buffer, salt_t salt, in CreatePasswordHandle()
/system/vold/
DKeyStorage.cpp332 const std::string& salt, std::string* stretched) { in stretchSecret()
365 const std::string& salt, const std::string& secdiscardable_hash, in generateAppId()
493 std::string salt; in storeKey() local
555 std::string salt; in retrieveKey() local
Dcryptfs.cpp181 unsigned char salt[SALT_LEN]; /* The salt used for this encryption */ member
1142 static int pbkdf2(const char* passwd, const unsigned char* salt, unsigned char* ikey, in pbkdf2()
1151 static int scrypt(const char* passwd, const unsigned char* salt, unsigned char* ikey, void* params)… in scrypt()
1167 static int scrypt_keymaster(const char* passwd, const unsigned char* salt, unsigned char* ikey, in scrypt_keymaster()
1205 static int encrypt_master_key(const char* passwd, const unsigned char* salt, in encrypt_master_key()
1288 static int decrypt_master_key_aux(const char* passwd, unsigned char* salt, in decrypt_master_key_aux()
1370 unsigned char* salt, struct crypt_mnt_ftr* crypt_ftr) { in create_encrypted_random_key()
/system/core/fs_mgr/libdm/
Ddm_target.cpp69 const std::string& salt) in DmTargetVerity()
Ddm_test.cpp160 std::string salt = "cc99f81ecb9484220a003b0719ee59dcf9be7e5d"; in TEST() local
/system/core/fs_mgr/libfs_avb/tests/
Dfs_avb_test_util.cpp162 const base::FilePath& key_path, const std::string& salt, in AddAvbFooter()