Docs.rs
  • rtvm-precompile-6.0.0
    • rtvm-precompile 6.0.0
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • tomisetsu
    • Dependencies
      • aurora-engine-modexp ^1.0 normal
      • substrate-bn ^0.6 normal
      • c-kzg ^1.0.0 normal optional
      • k256 ^0.13.3 normal
      • once_cell ^1.19 normal
      • ripemd ^0.1 normal
      • rtvm-primitives ^3.1.1 normal
      • secp256k1 ^0.29.0 normal optional
      • sha2 ^0.10 normal
      • criterion ^0.5 dev
      • rand ^0.8 dev
    • Versions
    • 40.71% of the crate is documented
  • 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

rtvm_precompile6.0.0

Module algo

Module Items

  • Constants
  • Functions

In rtvm_precompile::blake2

rtvm_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