Searched refs:aes_key (Results 1 – 6 of 6) sorted by relevance
/system/security/keystore2/src/ |
D | boot_level_keys.rs | 232 pub fn aes_key(&mut self, boot_level: usize) -> Result<Option<ZVec>> { in aes_key() method 250 let v0 = blkc.aes_key(0).unwrap().unwrap(); in test_output_is_consistent() 251 let v10 = blkc.aes_key(10).unwrap().unwrap(); in test_output_is_consistent() 252 assert_eq!(Some(&v0), blkc.aes_key(0)?.as_ref()); in test_output_is_consistent() 253 assert_eq!(Some(&v10), blkc.aes_key(10)?.as_ref()); in test_output_is_consistent() 259 assert_eq!(None, blkc.aes_key(0)?); in test_output_is_consistent() 260 assert_eq!(Some(&v10), blkc.aes_key(10)?.as_ref()); in test_output_is_consistent() 266 assert_eq!(None, blkc.aes_key(0)?); in test_output_is_consistent() 267 assert_eq!(Some(&v10), blkc.aes_key(10)?.as_ref()); in test_output_is_consistent() 273 assert_eq!(None, blkc.aes_key(0)?); in test_output_is_consistent() [all …]
|
D | ec_crypto.rs | 77 let aes_key = hkdf_expand(AES_256_KEY_LENGTH, &prk, b"AES-256-GCM key") in agree_key() localVariable 79 Ok(aes_key) in agree_key() 94 let aes_key = sender_key in encrypt_message() localVariable 97 let (ciphertext, iv, tag) = aes_gcm_encrypt(message, &aes_key) in encrypt_message() 112 let aes_key = self in decrypt_message() localVariable 115 aes_gcm_decrypt(ciphertext, iv, tag, &aes_key) in decrypt_message()
|
D | super_key.rs | 366 .map(|b| b.aes_key(*level as usize)) in lookup_key()
|
/system/keymaster/key_blob_utils/ |
D | ocb_utils.cpp | 94 AES_KEY aes_key; in InitializeKeyWrappingContext() local 97 AES_set_encrypt_key(master_key.key_material, master_key.key_material_size * 8, &aes_key)) in InitializeKeyWrappingContext() 100 AES_encrypt(hash_buf.get(), derived_key.get(), &aes_key); in InitializeKeyWrappingContext()
|
/system/keymaster/contexts/ |
D | pure_soft_keymaster_context.cpp | 491 UniquePtr<Key> aes_key; in UnwrapKey() local 493 AuthorizationSet(), &aes_key); in UnwrapKey() 500 aes_operation_factory->CreateOperation(move(*aes_key), gcm_params, &error)); in UnwrapKey()
|
/system/keymaster/ |
D | Android.bp | 124 "km_openssl/aes_key.cpp",
|