This EIP adds a new EIP-7932 algorithm of type 0x0 for supporting P256 signatures.
P256 (a.k.a secp256r1) is a widely-used NIST standardized algorithm that already has a presence within the Ethereum codebase. This makes it a great algorithm to write test cases against implementations of EIP-7932.
This EIP defines a new EIP-7932 algorithmic type with the following parameters:
| Constant | Value |
|---|---|
ALG_TYPE | Bytes1(0x0) |
SIZE | 129 |
P256Verify FunctionThe P256Verify function is the logic of the precompile defined in EIP-7951, the only exception is that this function MUST NOT charge any gas.
P256 or secp256r1, is used globally but (more importantly) has an existing implementation in all execution clients. This allows easy implementation of a known-safe algorithm, which is perfect for a test algorithm.
No backward compatibility issues found.
Needs discussion.
Copyright and related rights waived via CC0.