Searched refs:GCM_IV_LENGTH (Results 1 – 1 of 1) sorted by relevance
33 pub const GCM_IV_LENGTH: usize = 12; constant103 GCM_IV_LENGTH => iv, in aes_gcm_decrypt()104 LEGACY_IV_LENGTH => &iv[..GCM_IV_LENGTH], in aes_gcm_decrypt()142 let mut iv = vec![0; GCM_IV_LENGTH]; in aes_gcm_encrypt()144 if !unsafe { randomBytes(iv.as_mut_ptr(), GCM_IV_LENGTH) } { in aes_gcm_encrypt()