Searched refs:intermediate_key (Results 1 – 1 of 1) sorted by relevance
/system/vold/ |
D | cryptfs.cpp | 1291 void* kdf_params, unsigned char** intermediate_key, in decrypt_master_key_aux() argument 1325 if (intermediate_key && intermediate_key_size) { in decrypt_master_key_aux() 1326 *intermediate_key = (unsigned char*)malloc(INTERMEDIATE_KEY_LEN_BYTES); in decrypt_master_key_aux() 1327 if (*intermediate_key) { in decrypt_master_key_aux() 1328 memcpy(*intermediate_key, ikey, INTERMEDIATE_KEY_LEN_BYTES); in decrypt_master_key_aux() 1352 struct crypt_mnt_ftr* crypt_ftr, unsigned char** intermediate_key, in decrypt_master_key() argument 1360 decrypted_master_key, kdf, kdf_params, intermediate_key, in decrypt_master_key() 1736 unsigned char* intermediate_key = 0; in test_mount_encrypted_fs() local 1746 if (decrypt_master_key(passwd, decrypted_master_key, crypt_ftr, &intermediate_key, in test_mount_encrypted_fs() 1768 rc = crypto_scrypt(intermediate_key, intermediate_key_size, crypt_ftr->salt, in test_mount_encrypted_fs() [all …]
|