Docs.rs
  • revm-precompile-18.0.0
    • revm-precompile 18.0.0
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • rakita
    • Dependencies
      • ark-bls12-381 ^0.5 normal
      • ark-bn254 ^0.5 normal
      • ark-ec ^0.5 normal
      • ark-ff ^0.5 normal
      • ark-serialize ^0.5 normal
      • aurora-engine-modexp ^1.1 normal
      • blst ^0.3.13 normal optional
      • substrate-bn ^0.6 normal optional
      • c-kzg ^2.1.0 normal optional
      • cfg-if ^1.0 normal
      • k256 ^0.13.3 normal
      • kzg-rs ^0.2.4 normal optional
      • libsecp256k1 ^0.7 normal optional
      • once_cell ^1.19 normal
      • p256 ^0.13.2 normal optional
      • revm-primitives ^17.0.0 normal
      • ripemd ^0.1 normal
      • secp256k1 ^0.30 normal optional
      • sha2 ^0.10 normal
      • codspeed-criterion-compat ^2.7 dev
      • eyre ^0.6.12 dev
      • rand ^0.8 dev
      • rstest ^0.24.0 dev
      • serde ^1.0 dev
      • serde_derive ^1.0 dev
      • serde_json ^1.0 dev
    • Versions
    • 51.5% of the crate is documented
  • Go to latest version
  • Platform
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

revm_precompile18.0.0

Module algo

Module Items

  • Constants
  • Functions

In revm_precompile::blake2

revm_precompile::blake2

Module algo

Source

Constants§

IV
got IV from: https://en.wikipedia.org/wiki/BLAKE_(hash_function)
SIGMA
SIGMA from spec: https://datatracker.ietf.org/doc/html/rfc7693#section-2.7

Functions§

compress
g
G function: https://tools.ietf.org/html/rfc7693#section-3.1