zig/std/crypto
Marc Tiehuis 65b89f598c Add poly1305 and x25519 crypto primitives
These are translated from [monocypher](https://monocypher.org/) which
has fairly competitive performance while remaining quite simple.

Initial performance comparision:

Zig:
 Poly1305: 1423 MiB/s
 X25519:   8671 exchanges per second

Monocypher:
 Poly1305: 1567 MiB/s
 X25519:   10539 exchanges per second

There is room for improvement and no real effort has been made at all in
optimization beyond a direct translation.
2018-08-30 18:02:19 +12:00
..
blake2.zig remove integer and float casting syntax 2018-06-17 02:57:07 -04:00
chacha20.zig speed up chacha20 2018-08-27 22:55:53 -07:00
hmac.zig partial conversion to post-fix pointer deref using zig fmt 2018-05-10 00:29:49 -04:00
index.zig Add poly1305 and x25519 crypto primitives 2018-08-30 18:02:19 +12:00
md5.zig remove integer and float casting syntax 2018-06-17 02:57:07 -04:00
poly1305.zig Add poly1305 and x25519 crypto primitives 2018-08-30 18:02:19 +12:00
sha1.zig all integer sizes are available as primitives 2018-07-16 10:53:15 -04:00
sha2.zig remove integer and float casting syntax 2018-06-17 02:57:07 -04:00
sha3.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
test.zig run zig fmt on the codebase 2018-05-30 16:09:11 -04:00
throughput_test.zig Update throughput_test.zig. (#1211) 2018-07-09 17:21:20 -04:00
x25519.zig Add poly1305 and x25519 crypto primitives 2018-08-30 18:02:19 +12:00