Home
last modified time | relevance | path

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

/system/keymaster/
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()
Dkdf.cpp24 const uint8_t* salt, size_t salt_len) { in Init()
Dkdf_test.cpp34 uint8_t salt[128]; in TEST() local
Dhkdf_test.cpp63 const string salt = hex2str(test.salt_hex); in TEST() local
/system/extras/verity/
Dbuild_verity_metadata.py40 def build_verity_table(block_device, data_blocks, root_hash, salt): argument
53 salt, block_device, signer_path, signing_key): argument
71 salt = sys.argv[4] variable
Dbuild_verity_tree.cpp23 const unsigned char *salt; member
55 const unsigned char *salt, size_t salt_len, in hash_block()
79 const unsigned char *salt, size_t salt_size, in hash_blocks()
129 unsigned char *salt = NULL; in main() local
DVerityVerifier.java44 private byte[] salt; field in VerityVerifier
/system/core/gatekeeperd/
DSoftGateKeeper.h38 uint64_t salt; member
83 uint32_t password_length, salt_t salt) const { in ComputePasswordSignature()
136 fast_hash_t ComputeFastHash(const SizedBuffer &password, uint64_t salt) { in ComputeFastHash()
161 uint64_t salt; in DoVerify() local
/system/tpm/trunks/
Dsession_manager_impl.cc82 std::string salt(SHA256_DIGEST_SIZE, 0); in StartSession() local
151 TPM_RC SessionManagerImpl::EncryptSalt(const std::string& salt, in EncryptSalt()
Dhmac_authorization_delegate_test.cc71 std::string salt("salt"); in TEST() local
Dhmac_authorization_delegate.cc214 const std::string& salt, in InitSession()
/system/vold/
DKeyStorage.cpp205 const std::string& salt, std::string* stretched) { in stretchSecret()
238 const std::string& salt, const std::string& secdiscardable, in generateAppId()
261 std::string salt; in storeKey() local
293 std::string salt; in retrieveKey() local
Dcryptfs.c1256 static int pbkdf2(const char *passwd, const unsigned char *salt,
1267 static int scrypt(const char *passwd, const unsigned char *salt,
1287 static int scrypt_keymaster(const char *passwd, const unsigned char *salt,
1328 static int encrypt_master_key(const char *passwd, const unsigned char *salt,
1411 static int decrypt_master_key_aux(const char *passwd, unsigned char *salt,
1494 static int create_encrypted_random_key(char *passwd, unsigned char *master_key, unsigned char *salt,
Dcryptfs.h112 unsigned char salt[SALT_LEN]; /* The salt used for this encryption */ member
/system/security/keystore/
Duser_state.cpp156 uint8_t* salt; in readMasterKey() local
229 uint8_t* salt) { in generateKeyFromPassword()
/system/gatekeeper/include/gatekeeper/
Dpassword_handle.h40 salt_t salt; member
/system/gatekeeper/
Dgatekeeper.cpp90 salt_t salt; in Enroll() local
169 bool GateKeeper::CreatePasswordHandle(SizedBuffer *password_handle_buffer, salt_t salt, in CreatePasswordHandle()
/system/extras/libfec/
Dfec_verity.cpp347 std::unique_ptr<uint8_t[]> salt; in parse_table() local
Dfec_private.h86 uint8_t *salt; member
/system/bt/stack/smp/
Dsmp_keys.c1682 BT_OCTET16 salt = { in smp_calculate_f5_key() local