Lines Matching refs:decrypted_master_key

1074                               const unsigned char *decrypted_master_key,  in encrypt_master_key()  argument
1121 decrypted_master_key, KEY_LEN_BYTES)) { in encrypt_master_key()
1160 unsigned char *decrypted_master_key, in decrypt_master_key_aux() argument
1183 if (! EVP_DecryptUpdate(&d_ctx, decrypted_master_key, &decrypted_len, in decrypt_master_key_aux()
1187 if (! EVP_DecryptFinal_ex(&d_ctx, decrypted_master_key + decrypted_len, &final_len)) { in decrypt_master_key_aux()
1223 static int decrypt_master_key(const char *passwd, unsigned char *decrypted_master_key, in decrypt_master_key() argument
1234 decrypted_master_key, kdf, kdf_params, in decrypt_master_key()
1569 unsigned char decrypted_master_key[32]; in test_mount_encrypted_fs() local
1587 if (decrypt_master_key(passwd, decrypted_master_key, crypt_ftr, in test_mount_encrypted_fs()
1599 if (create_crypto_blk_dev(crypt_ftr, decrypted_master_key, in test_mount_encrypted_fs()
1653 memcpy(saved_master_key, decrypted_master_key, KEY_LEN_BYTES); in test_mount_encrypted_fs()
1826 unsigned char decrypted_master_key[32]; in cryptfs_verify_passwd() local
1855 decrypt_master_key(passwd, decrypted_master_key, &crypt_ftr, 0, 0); in cryptfs_verify_passwd()
1856 if (!memcmp(decrypted_master_key, saved_master_key, crypt_ftr.keysize)) { in cryptfs_verify_passwd()
2685 unsigned char decrypted_master_key[KEY_LEN_BYTES]; in cryptfs_enable_internal() local
2909 decrypt_master_key(passwd, decrypted_master_key, &crypt_ftr, 0, 0); in cryptfs_enable_internal()
2910 create_crypto_blk_dev(&crypt_ftr, decrypted_master_key, real_blkdev, crypto_blkdev, in cryptfs_enable_internal()