Home
last modified time | relevance | path

Searched refs:aes_key (Results 1 – 8 of 8) sorted by relevance

/aosp12/system/security/keystore2/src/
H A Dboot_level_keys.rs250 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()
273 assert_eq!(None, blkc.aes_key(0)?); in test_output_is_consistent()
274 assert_eq!(Some(v10), blkc.aes_key(10)?); in test_output_is_consistent()
280 assert_eq!(None, blkc.aes_key(0)?); in test_output_is_consistent()
[all …]
H A Dec_crypto.rs77 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()
H A Dsuper_key.rs366 .map(|b| b.aes_key(*level as usize)) in lookup_key()
/aosp12/system/keymaster/key_blob_utils/
H A Docb_utils.cpp94 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()
/aosp12/system/keymaster/contexts/
H A Dpure_soft_keymaster_context.cpp491 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()
/aosp12/bionic/libc/kernel/uapi/rdma/
H A Dib_user_ioctl_verbs.h119 __u32 aes_key[256 / 32]; member
/aosp12/frameworks/av/media/libstagefright/httplive/
H A DPlaylistFetcher.cpp454 AES_KEY aes_key; in decryptBuffer() local
455 if (AES_set_decrypt_key(key->data(), 128, &aes_key) != 0) { in decryptBuffer()
472 &aes_key, mAESInitVec, AES_DECRYPT); in decryptBuffer()
/aosp12/system/keymaster/
H A DAndroid.bp124 "km_openssl/aes_key.cpp",