zig/lib/std/crypto/25519
Frank Denis fc55cd458a Hash functions now accept an option set
- This avoids having multiple `init()` functions for every combination
of optional parameters
- The API is consistent across all hash functions
- New options can be added later without breaking existing applications.
  For example, this is going to come in handy if we implement parallelization
  for BLAKE2 and BLAKE3.
- We don't have a mix of snake_case and camelCase functions any more, at
least in the public crypto API

Support for BLAKE2 salt and personalization (more commonly called context)
parameters have been implemented by the way to illustrate this.
2020-08-21 00:51:14 +02:00
..
curve25519.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
ed25519.zig Hash functions now accept an option set 2020-08-21 00:51:14 +02:00
edwards25519.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
field.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
ristretto255.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
scalar.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
x25519.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00