Skip to content

Commit 978332c

Browse files
authored
Update ERC7913P256Verifier.sol
1 parent eb97fd3 commit 978332c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

contracts/utils/cryptography/verifiers/ERC7913P256Verifier.sol

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ import {IERC7913SignatureVerifier} from "../../../interfaces/IERC7913.sol";
99
/**
1010
* @dev ERC-7913 signature verifier that support P256 (secp256r1) keys.
1111
*
12+
* Key format:
13+
* - The `key` MUST be a 64-byte concatenation of the P256 public key coordinates `qx || qy`.
14+
* - Each coordinate is a 32-byte big-endian value (`bytes32`).
15+
* - SEC1 prefixes are not accepted and compressed keys are not supported.
16+
*
1217
* @custom:stateless
1318
*/
1419
contract ERC7913P256Verifier is IERC7913SignatureVerifier {

0 commit comments

Comments
 (0)