0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib
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.
History 2020-08-21 00:51:14 +02:00
..
include update clang C headers to 10.0.0rc2 2020-02-14 10:30:06 -05:00
libc zig provides shlwapi.lib for *-windows-gnu 2020-04-08 01:21:00 -04:00
libcxx zig c++: get it working with musl and mingw-w64 2020-03-27 12:38:52 -04:00
libcxxabi zig c++: get it working with musl and mingw-w64 2020-03-27 12:38:52 -04:00
libunwind update libunwind to llvm10.0.0rc2 2020-02-14 10:44:23 -05:00
std Hash functions now accept an option set 2020-08-21 00:51:14 +02:00