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 53 let mut key = ZVec::new(AES_256_KEY_LENGTH)?; in generate_aes256_key() 54 if unsafe { randomBytes(key.as_mut_ptr(), AES_256_KEY_LENGTH) } { in generate_aes256_key() 112 AES_128_KEY_LENGTH | AES_256_KEY_LENGTH => {} in aes_gcm_decrypt() 149 AES_128_KEY_LENGTH | AES_256_KEY_LENGTH => {} in aes_gcm_encrypt() 205 AES_128_KEY_LENGTH | AES_256_KEY_LENGTH => {} in derive_key()
|
/system/security/keystore2/src/ |
D | ec_crypto.rs | 23 AES_256_KEY_LENGTH, 71 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}; 287 self.expand_key(boot_level, AES_256_KEY_LENGTH, BootLevelKeyCache::HKDF_AES) in aes_key()
|
D | super_key.rs | 46 AES_256_KEY_LENGTH, 637 .derive_key(salt, AES_256_KEY_LENGTH) in extract_super_key_from_key_entry() 674 .derive_key(&salt, AES_256_KEY_LENGTH) in encrypt_with_password()
|
D | legacy_blob.rs | 442 key_size: keystore2_crypto::AES_256_KEY_LENGTH, in new_from_stream()
|