Function hacl::hazmat::chacha20_poly1305::simd128::encrypt

source ยท
pub fn encrypt(
    key: &Chacha20Key,
    msg_ctxt: &mut [u8],
    iv: Iv,
    aad: &[u8],
) -> Tag
Expand description

128-bit SIMD encrypt.

This function requires

  • x86_64: AVX, SSE2, SSE3, SSE4.1
  • ARM: Arm64, NEON
  • s390x: z14