Expand description
Blake2 precompile. More details in run.
The compression function is vendored from
blake2b_simd (MIT license),
with modifications for EIP-152 variable round counts.
Constants§
- FUN
- Blake2 precompile
Functions§
- compress
- BLAKE2b compression function F (EIP-152).
- run
- reference: https://eips.ethereum.org/EIPS/eip-152 input format: [4 bytes for rounds][64 bytes for h][128 bytes for m][8 bytes for t_0][8 bytes for t_1][1 byte for f]