Searched refs:master_key (Results 1 – 4 of 4) sorted by relevance
/system/keymaster/ |
D | ocb_utils.cpp | 71 const KeymasterKeyBlob& master_key, in InitializeKeyWrappingContext() argument 103 AES_set_encrypt_key(master_key.key_material, master_key.key_material_size * 8, &aes_key)) in InitializeKeyWrappingContext() 120 const KeymasterKeyBlob& master_key, in OcbEncryptKey() argument 133 InitializeKeyWrappingContext(hw_enforced, sw_enforced, hidden, master_key, &ctx); in OcbEncryptKey() 156 const KeymasterKeyBlob& master_key, in OcbDecryptKey() argument 169 InitializeKeyWrappingContext(hw_enforced, sw_enforced, hidden, master_key, &ctx); in OcbDecryptKey()
|
D | ocb_utils.h | 36 const KeymasterKeyBlob& master_key, 42 const KeymasterKeyBlob& master_key,
|
/system/vold/ |
D | cryptfs.h | 111 unsigned char master_key[MAX_KEY_LEN]; /* The encrypted key for decrypting the filesystem */ member 252 unsigned char* master_key); 254 const unsigned char* master_key);
|
D | cryptfs.c | 1044 static void convert_key_to_hex_ascii(const unsigned char *master_key, in convert_key_to_hex_ascii() argument 1051 nibble = (master_key[i] >> 4) & 0xf; in convert_key_to_hex_ascii() 1054 nibble = master_key[i] & 0xf; in convert_key_to_hex_ascii() 1064 const unsigned char *master_key, const char *real_blk_name, in load_crypto_mapping_table() argument 1095 convert_key_to_hex_ascii(master_key, crypt_ftr->keysize, master_key_ascii); in load_crypto_mapping_table() 1155 const unsigned char *master_key, const char *real_blk_name, argument 1200 load_count = load_crypto_mapping_table(crypt_ftr, master_key, real_blk_name, name, 1484 ret = decrypt_master_key_aux(passwd, crypt_ftr->salt, crypt_ftr->master_key, 1494 static int create_encrypted_random_key(char *passwd, unsigned char *master_key, unsigned char *salt, argument 1506 return encrypt_master_key(passwd, salt, key_buf, master_key, crypt_ftr); [all …]
|