revm_precompile::blake2

Function run

Source
pub fn run(input: &Bytes, gas_limit: u64) -> PrecompileResult
Expand description

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]