Frank Denis 0d192ee9ef
std.crypto.onetimeauth.Ghash: make GHASH 2 - 2.5x faster (#13374)
Rewrite GHASH to use 128-bit multiplication over non-reversed
integers, and up to 8 blocks aggregated reduction.

lib/std/crypto/benchmark.zig results:

Xeon E5:
  Before: 1604 MiB/s
   After: 4005 MiB/s

Apple M1:
  Before: 2769 MiB/s
   After: 6014 MiB/s

This also makes AES-GCM faster by the way.
2022-11-01 13:49:13 -04:00
..
2022-10-30 01:09:31 -07:00
2022-10-06 21:22:20 +03:00
2022-10-20 09:21:06 -07:00
2022-08-31 19:30:51 +02:00
2022-08-23 21:11:02 -07:00
2022-10-25 09:04:04 -07:00
2022-01-07 00:06:06 -05:00
2022-09-11 23:18:43 -04:00
2022-10-16 11:35:27 -04:00
2022-09-12 18:13:24 -07:00
2022-04-15 17:01:01 -05:00
2022-01-07 00:06:06 -05:00
2022-09-13 20:26:04 -04:00