aboutsummaryrefslogtreecommitdiff
path: root/src-self-hosted
diff options
context:
space:
mode:
authorFrank Denis <github@pureftpd.org>2020-08-16 21:33:02 +0200
committerAndrew Kelley <andrew@ziglang.org>2020-08-17 13:54:01 -0700
commit795033c35fd7bb411277079e72b148bf7810c18e (patch)
tree42862bab9797b6e613479f64c63393525288664b /src-self-hosted
parent5cb96681d92e7a410577215ff057e459f10304dc (diff)
downloadzig-795033c35fd7bb411277079e72b148bf7810c18e.tar.gz
zig-795033c35fd7bb411277079e72b148bf7810c18e.zip
std/crypto: XChaCha20, detached modes and standard AEAD API
* Factor redundant code in std/crypto/chacha20 * Add support for XChaCha20, and the XChaCha20-Poly1305 construction. XChaCha20 is a 24-byte version of ChaCha20, is widely implemented and is on the standards track: https://tools.ietf.org/html/draft-irtf-cfrg-xchacha-03 * Add support for encryption/decryption with the authentication tag detached from the ciphertext * Add wrappers with an API similar to the Gimli AEAD type, so that we can use and benchmark AEADs with a common API.
Diffstat (limited to 'src-self-hosted')
0 files changed, 0 insertions, 0 deletions