cast::revm::precompile::blake2

Function run

pub fn run(
    input: &Bytes,
    gas_limit: u64,
) -> Result<PrecompileOutput, PrecompileErrors>
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]