Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

p256verify precompile implementation #69

Draft
wants to merge 5 commits into
base: dev
Choose a base branch
from

Conversation

ColoCarletti
Copy link

@ColoCarletti ColoCarletti commented Nov 12, 2023

What

This PR adds the implementation of the p256verify precompile (Elliptic Curve Digital Signature) introduced in the EIP-7212: Precompiled for secp256r1 Curve Support.

Why

The work done in this PR brings us closer to a fully EVM-compatible verifier.

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.

@ColoCarletti ColoCarletti marked this pull request as draft November 12, 2023 21:43
@ColoCarletti ColoCarletti changed the base branch from main to dev November 12, 2023 22:21
@@ -0,0 +1,605 @@
object "P256VERIFY" {
code { }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
code { }
code {
return(0, 0)
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants