mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 09:02:32 +00:00
119fc318a7
See https://eprint.iacr.org/2019/1492.pdf for justification. 8 rounds ChaCha20 provides a 2.5x speedup, and is still believed to be safe. Round-reduced versions are actually deployed (ex: Android filesystem encryption), and thanks to the magic of comptime, it doesn't take much to support them. This also makes the ChaCha20 code more consistent with the Salsa20 code, removing internal functions that were not part of the public API any more. No breaking changes; the public API remains backwards compatible. |
||
---|---|---|
.. | ||
25519 | ||
aes | ||
aegis.zig | ||
aes_gcm.zig | ||
aes_ocb.zig | ||
aes.zig | ||
bcrypt.zig | ||
benchmark.zig | ||
blake2.zig | ||
blake3.zig | ||
chacha20.zig | ||
error.zig | ||
ghash.zig | ||
gimli.zig | ||
hkdf.zig | ||
hmac.zig | ||
isap.zig | ||
md5.zig | ||
modes.zig | ||
pbkdf2.zig | ||
poly1305.zig | ||
salsa20.zig | ||
sha1.zig | ||
sha2.zig | ||
sha3.zig | ||
siphash.zig | ||
test.zig | ||
tlcsprng.zig | ||
utils.zig |