Skip to main content

NATIVE_BLS_BACKEND

Constant NATIVE_BLS_BACKEND 

Source
pub const NATIVE_BLS_BACKEND: bool = true;
Expand description

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.