Home
last modified time | relevance | path

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

/system/keymaster/
Docb_utils.cpp71 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()
Docb_utils.h36 const KeymasterKeyBlob& master_key,
42 const KeymasterKeyBlob& master_key,
/system/vold/
Dcryptfs.h111 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);
Dcryptfs.cpp798 static void convert_key_to_hex_ascii(const unsigned char *master_key, in convert_key_to_hex_ascii() argument
805 nibble = (master_key[i] >> 4) & 0xf; in convert_key_to_hex_ascii()
808 nibble = master_key[i] & 0xf; in convert_key_to_hex_ascii()
818 const unsigned char *master_key, const char *real_blk_name, in load_crypto_mapping_table() argument
841 convert_key_to_hex_ascii(master_key, crypt_ftr->keysize, master_key_ascii); in load_crypto_mapping_table()
900 const unsigned char *master_key, const char *real_blk_name, in create_crypto_blk_dev() argument
945 load_count = load_crypto_mapping_table(crypt_ftr, master_key, real_blk_name, name, in create_crypto_blk_dev()
1233 ret = decrypt_master_key_aux(passwd, crypt_ftr->salt, crypt_ftr->master_key, in decrypt_master_key()
1243 static int create_encrypted_random_key(const char *passwd, unsigned char *master_key, unsigned char… in create_encrypted_random_key() argument
1255 return encrypt_master_key(passwd, salt, key_buf, master_key, crypt_ftr); in create_encrypted_random_key()
[all …]