revm_precompile::secp256r1

Function p256_verify

Source
pub fn p256_verify(input: &Bytes, gas_limit: u64) -> PrecompileResult
Expand description

secp256r1 precompile logic. It takes the input bytes sent to the precompile and the gas limit. The output represents the result of verifying the secp256r1 signature of the input.

The input is encoded as follows:

signed message hashrspublic key xpublic key y
3232323232