Home
last modified time | relevance | path

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

/system/vold/
Dcryptfs.c890 unsigned char *decrypted_master_key, in encrypt_master_key() argument
911 decrypted_master_key, KEY_LEN_BYTES)) { in encrypt_master_key()
930 unsigned char *decrypted_master_key, in decrypt_master_key_aux() argument
946 if (! EVP_DecryptUpdate(&d_ctx, decrypted_master_key, &decrypted_len, in decrypt_master_key_aux()
950 if (! EVP_DecryptFinal(&d_ctx, decrypted_master_key + decrypted_len, &final_len)) { in decrypt_master_key_aux()
972 static int decrypt_master_key(char *passwd, unsigned char *decrypted_master_key, in decrypt_master_key() argument
980 …= decrypt_master_key_aux(passwd, crypt_ftr->salt, crypt_ftr->master_key, decrypted_master_key, kdf, in decrypt_master_key()
1198 unsigned char decrypted_master_key[32]; in test_mount_encrypted_fs() local
1225 if (decrypt_master_key(passwd, decrypted_master_key, &crypt_ftr)) { in test_mount_encrypted_fs()
1231 if (create_crypto_blk_dev(&crypt_ftr, decrypted_master_key, in test_mount_encrypted_fs()
[all …]