Skip to main content

Crate bench_ecrecover

Crate bench_ecrecover 

Source
Expand description

secp256k1 ecrecover benchmark — runs a single ECDSA public key recovery.

Functions§

ecrecover_bench
Perform ecrecover: recover the public key from a signature + message hash. Returns 1 if the recovered key matches the expected public key, 0 otherwise.