Skip to content

feat: RIP-7212 precompile for P256 ECDSA verification#184

Merged
ARR4N merged 13 commits intomainfrom
arr4n/p256verify
Jun 10, 2025
Merged

feat: RIP-7212 precompile for P256 ECDSA verification#184
ARR4N merged 13 commits intomainfrom
arr4n/p256verify

Conversation

@ARR4N
Copy link
Copy Markdown
Collaborator

@ARR4N ARR4N commented Jun 3, 2025

Why this should be merged

Implementation for ACP-204.

How this works

Implements RIP-7212 and an additional Pack(hash,r,s,key) function with precompile-compatible output.

How this was tested

Unit tests including fuzzing, test case from the proposed but unmerged geth implementation, and vectors from Project Wycheproof.

@ARR4N ARR4N marked this pull request as ready for review June 3, 2025 21:59
Comment thread libevm/precompiles/p256verify/p256verify.go Outdated
Comment thread libevm/precompiles/p256verify/p256verify.go Outdated
Comment thread libevm/precompiles/p256verify/p256verify.go
Comment thread libevm/precompiles/p256verify/p256verify.go Outdated
Comment thread libevm/precompiles/p256verify/p256verify.go
Comment thread libevm/precompiles/p256verify/p256verify.go Outdated
Comment thread libevm/precompiles/p256verify/p256verify.go
Comment thread libevm/precompiles/p256verify/p256verify.go
@ARR4N ARR4N enabled auto-merge (squash) June 10, 2025 14:22
@ARR4N ARR4N merged commit 2672fbd into main Jun 10, 2025
12 checks passed
@ARR4N ARR4N deleted the arr4n/p256verify branch June 10, 2025 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants