Searched refs:GCM_IV_LENGTH (Results 1 – 1 of 1) sorted by relevance
33 pub const GCM_IV_LENGTH: usize = 12; constant86 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()