Searched refs:AES_256_KEY_LENGTH (Results 1 – 5 of 5) sorted by relevance
/system/security/keystore2/src/crypto/ |
D | lib.rs | 37 pub const AES_256_KEY_LENGTH: usize = 32; constant 51 let mut key = ZVec::new(AES_256_KEY_LENGTH)?; in generate_aes256_key() 52 if unsafe { randomBytes(key.as_mut_ptr(), AES_256_KEY_LENGTH) } { in generate_aes256_key() 95 AES_128_KEY_LENGTH | AES_256_KEY_LENGTH => {} in aes_gcm_decrypt() 132 AES_128_KEY_LENGTH | AES_256_KEY_LENGTH => {} in aes_gcm_encrypt() 197 AES_128_KEY_LENGTH | AES_256_KEY_LENGTH => {} in derive_key()
|
/system/security/keystore2/src/ |
D | ec_crypto.rs | 22 AES_256_KEY_LENGTH, 77 let aes_key = hkdf_expand(AES_256_KEY_LENGTH, &prk, b"AES-256-GCM key") in agree_key()
|
D | boot_level_keys.rs | 28 use keystore2_crypto::{hkdf_expand, ZVec, AES_256_KEY_LENGTH}; 233 self.expand_key(boot_level, AES_256_KEY_LENGTH, BootLevelKeyCache::HKDF_AES) in aes_key()
|
D | super_key.rs | 47 AES_256_KEY_LENGTH, 626 let key = pw.derive_key(Some(salt), AES_256_KEY_LENGTH).context( in extract_super_key_from_key_entry() 666 .derive_key(Some(&salt), AES_256_KEY_LENGTH) in encrypt_with_password()
|
D | legacy_blob.rs | 369 key_size: keystore2_crypto::AES_256_KEY_LENGTH, in new_from_stream()
|