Home
last modified time | relevance | path

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

/system/vold/
Dcryptfs.cpp1206 const unsigned char* decrypted_master_key, in encrypt_master_key() argument
1251 if (!EVP_EncryptUpdate(&e_ctx, encrypted_master_key, &encrypted_len, decrypted_master_key, in encrypt_master_key()
1290 unsigned char* decrypted_master_key, kdf_func kdf, in decrypt_master_key_aux() argument
1312 if (!EVP_DecryptUpdate(&d_ctx, decrypted_master_key, &decrypted_len, encrypted_master_key, in decrypt_master_key_aux()
1316 if (!EVP_DecryptFinal_ex(&d_ctx, decrypted_master_key + decrypted_len, &final_len)) { in decrypt_master_key_aux()
1351 static int decrypt_master_key(const char* passwd, unsigned char* decrypted_master_key, in decrypt_master_key() argument
1360 decrypted_master_key, kdf, kdf_params, intermediate_key, in decrypt_master_key()
1728 unsigned char decrypted_master_key[MAX_KEY_LEN]; in test_mount_encrypted_fs() local
1746 if (decrypt_master_key(passwd, decrypted_master_key, crypt_ftr, &intermediate_key, in test_mount_encrypted_fs()
1758 if (create_crypto_blk_dev(crypt_ftr, decrypted_master_key, real_blkdev.c_str(), &crypto_blkdev, in test_mount_encrypted_fs()
[all …]