zig/lib/std/crypto
Frank Denis bd89bd6fdb Revamp crypto/aes
* Reorganize crypto/aes in order to separate parameters, implementations and
modes.
* Add a zero-cost abstraction over the internal representation of a block,
so that blocks can be kept in vector registers in optimized implementations.
* Add architecture-independent aesenc/aesdec/aesenclast/aesdeclast operations,
so that any AES-based primitive can be implemented, including these that don't
use the original key schedule (AES-PRF, AEGIS, MeowHash...)
* Add support for parallelization/wide blocks to take advantage of hardware
implementations.
* Align T-tables to cache lines in the software implementations to slightly
reduce side channels.
* Add an optimized implementation for modern Intel CPUs with AES-NI.
* Add new tests (AES256 key expansion).
* Reimplement the counter mode to work with any block cipher, any endianness
and to take advantage of wide blocks.
* Add benchmarks for AES.
2020-09-24 13:16:00 -04:00
..
25519 Hash functions now accept an option set 2020-08-21 00:51:14 +02:00
aes Revamp crypto/aes 2020-09-24 13:16:00 -04:00
aes.zig Revamp crypto/aes 2020-09-24 13:16:00 -04:00
benchmark.zig Revamp crypto/aes 2020-09-24 13:16:00 -04:00
blake2.zig std: clean up bitrotten imports in crypto 2020-09-08 12:54:28 -04:00
blake3.zig Hash functions now accept an option set 2020-08-21 00:51:14 +02:00
chacha20.zig std: clean up bitrotten imports in crypto 2020-09-08 12:54:28 -04:00
gimli.zig Rename at to tag in AEADs 2020-08-26 10:50:34 +02:00
hmac.zig Hash functions now accept an option set 2020-08-21 00:51:14 +02:00
md5.zig std: clean up bitrotten imports in crypto 2020-09-08 12:54:28 -04:00
modes.zig Revamp crypto/aes 2020-09-24 13:16:00 -04:00
pbkdf2.zig Add an error set 2020-09-16 01:58:48 +03:00
poly1305.zig std: clean up bitrotten imports in crypto 2020-09-08 12:54:28 -04:00
sha1.zig std: clean up bitrotten imports in crypto 2020-09-08 12:54:28 -04:00
sha2.zig std: clean up bitrotten imports in crypto 2020-09-08 12:54:28 -04:00
sha3.zig std: clean up bitrotten imports in crypto 2020-09-08 12:54:28 -04:00
siphash.zig std.crypto siphash: fix assertion on the size of output buffer 2020-09-16 02:24:36 -07:00
test.zig std: clean up bitrotten imports in crypto 2020-09-08 12:54:28 -04:00