Searched refs:max_overhead (Results 1 – 4 of 4) sorted by relevance
56 let mut out = vec![0u8; MESSAGE.len() + aead_ctx.aead().max_overhead()]; in aes_256_gcm_fails_to_encrypt_with_invalid_nonce()140 let mut out = vec![0u8; message.len() + aead_ctx.aead().max_overhead()]; in aes_256_gcm_encrypt()
66 pub fn max_overhead(&self) -> usize { in max_overhead() method
77 let mut out = vec![0u8; private_key.len() + aead_ctx.aead().max_overhead()]; in new()
143 assert!(plaintext.len() + aead_ctx.aead().max_overhead() < blk.len()); in record_instance_entry()