Searched defs:master_key (Results 1 - 3 of 3) sorted by relevance
/system/keymaster/key_blob_utils/ |
H A D | ocb_utils.cpp | 71 const KeymasterKeyBlob& master_key, 103 AES_set_encrypt_key(master_key.key_material, master_key.key_material_size * 8, &aes_key)) 120 const KeymasterKeyBlob& master_key, 133 InitializeKeyWrappingContext(hw_enforced, sw_enforced, hidden, master_key, &ctx); 156 const KeymasterKeyBlob& master_key, 169 InitializeKeyWrappingContext(hw_enforced, sw_enforced, hidden, master_key, &ctx); 68 InitializeKeyWrappingContext(const AuthorizationSet& hw_enforced, const AuthorizationSet& sw_enforced, const AuthorizationSet& hidden, const KeymasterKeyBlob& master_key, AeCtx* ctx) argument 118 OcbEncryptKey(const AuthorizationSet& hw_enforced, const AuthorizationSet& sw_enforced, const AuthorizationSet& hidden, const KeymasterKeyBlob& master_key, const KeymasterKeyBlob& plaintext, const Buffer& nonce, KeymasterKeyBlob* ciphertext, Buffer* tag) argument 154 OcbDecryptKey(const AuthorizationSet& hw_enforced, const AuthorizationSet& sw_enforced, const AuthorizationSet& hidden, const KeymasterKeyBlob& master_key, const KeymasterKeyBlob& ciphertext, const Buffer& nonce, const Buffer& tag, KeymasterKeyBlob* plaintext) argument
|
/system/vold/ |
H A D | cryptfs.h | 71 #define CRYPT_TYPE_PASSWORD 0 /* master_key is encrypted with a password 74 #define CRYPT_TYPE_DEFAULT 1 /* master_key is encrypted with default 76 #define CRYPT_TYPE_PATTERN 2 /* master_key is encrypted with a pattern */ 77 #define CRYPT_TYPE_PIN 3 /* master_key is encrypted with a pin */ 106 __le32 crypt_type; /* how master_key is encrypted. Must be a 115 unsigned char master_key[MAX_KEY_LEN]; /* The encrypted key for decrypting the filesystem */ member in struct:crypt_mnt_ftr
|
H A D | cryptfs.cpp | 965 static void convert_key_to_hex_ascii(const unsigned char *master_key, argument 972 nibble = (master_key[i] >> 4) & 0xf; 975 nibble = master_key[i] & 0xf; 985 const unsigned char *master_key, const char *real_blk_name, 1010 convert_key_to_hex_ascii(master_key, crypt_ftr->keysize, master_key_ascii); 1079 static int create_crypto_blk_dev(struct crypt_mnt_ftr* crypt_ftr, const unsigned char* master_key, argument 1124 load_count = load_crypto_mapping_table(crypt_ftr, master_key, real_blk_name, name, fd, 1413 ret = decrypt_master_key_aux(passwd, crypt_ftr->salt, crypt_ftr->master_key, 1424 static int create_encrypted_random_key(const char *passwd, unsigned char *master_key, unsigned char *salt, argument 1436 return encrypt_master_key(passwd, salt, key_buf, master_key, crypt_ft 984 load_crypto_mapping_table(struct crypt_mnt_ftr *crypt_ftr, const unsigned char *master_key, const char *real_blk_name, const char *name, int fd, const char *extra_params) argument [all...] |
Completed in 71 milliseconds