Skip to main content

Crate ethrex_crypto

Crate ethrex_crypto 

Source

Re-exports§

pub use native::NativeCrypto;
pub use provider::Crypto;
pub use provider::CryptoError;

Modules§

blake2f
keccak
kzg
native
provider

Constants§

NATIVE_BLS_BACKEND
true when NativeCrypto routes BLS12-381 through the native blst backend; false when it falls back to the portable bls12_381 trait default (e.g. zkVM guest builds). Differential tests assert this so they fail loudly instead of silently comparing the pure-Rust backend to itself.
NATIVE_P256_BACKEND
true when NativeCrypto routes secp256r1_verify through the native aws-lc-rs backend; false when it falls back to the portable p256 trait default (e.g. zkVM guest builds). Differential tests assert this so they fail loudly instead of silently comparing the pure-Rust backend to itself.