Home
last modified time | relevance | path

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

/system/security/keystore2/src/crypto/
Dlib.rs33 pub const GCM_IV_LENGTH: usize = 12; constant
86 GCM_IV_LENGTH => iv, in aes_gcm_decrypt()
87 LEGACY_IV_LENGTH => &iv[..GCM_IV_LENGTH], in aes_gcm_decrypt()
125 let mut iv = vec![0; GCM_IV_LENGTH]; in aes_gcm_encrypt()
127 if !unsafe { randomBytes(iv.as_mut_ptr(), GCM_IV_LENGTH) } { in aes_gcm_encrypt()