Expand description
§AEAD
Depending on the platform and available features the most efficient implementation is chosen.
§ChaCha20Poly1305
The HACL implementations are used on all platforms. On x64 CPUs with AVX and AVX2 support the 256-bit SIMD implementation is used. On CPUs with a 128-bit SIMD unit (arm64, or SSE3, SSE4.1, and AVX on x64), the 128-bit SIMD implementation is used. In any other case the portable implementation is used.
Structs§
Enums§
Functions§
- decrypt
- AEAD decrypt the ciphertext in
ctxt_msg
with thekey
,iv
,aad
, andtag
. - decrypt_
detached - AEAD decrypt the ciphertext in
ctxt
with thekey
,iv
,aad
, andtag
. - encrypt
- AEAD encrypt the message in
msg_ctxt
with thekey
,iv
andaad
. - encrypt_
detached - AEAD encrypt the message in
msg
with thekey
,iv
andaad
.