Expand description
§EIP-7212 secp256r1 Precompile
This module implements the EIP-7212 precompile for secp256r1 curve support.
The main purpose of this precompile is to verify ECDSA signatures that use the secp256r1, or
P256 elliptic curve. The P256VERIFY
const represents the implementation of this precompile,
with the address that it is currently deployed at.
Constants§
- EIP-7212 secp256r1 precompile.
Functions§
- 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.
- Returns the secp256r1 precompile with its address.
- Returns
Some(())
if the signature included in the input byte slice is valid,None
otherwise.