Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RIP 7696 : provide asset code #20

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

rdubois-crypto
Copy link
Contributor

The provided codes demonstrate the use of the precompile to implement ECDSA over P256.

Curves parameters are provided as parameters instead of constant. ecPow128 computes the value 2^128.P, 2^128.Q required by the precompile.

@rdubois-crypto rdubois-crypto changed the title Ripb4 branch RIP 7696 : provide asset code Apr 26, 2024
RIPS/rip-7696.md Outdated

3. **bn254-G1 :** Zcash, Tornado Cash, as specified by EIP1962.

4. **Jujub :** Circom proving system compatibility.

Choose a reason for hiding this comment

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

nit: JubJub

Also would clarify baby-Jubjub or change explanation text, the original JubJub on BLS12-381 is not really used with Circom

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

@CarlBeek CarlBeek left a comment

Choose a reason for hiding this comment

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

@rdubois-crypto Please resolve conflicts with existing files.

Additionally, we can't accept copyrighted code to this repo, finally the assets shouldn't include tests in a separate file, to my knowledge this is not how we run EIPs/ERCs

@rdubois-crypto
Copy link
Contributor Author

How shall the vectors appear then ? Code shall be tested in some way.

Concerning the copyright, it is MIT (the SPDX identifier is present in files), so this is open source code.

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.

3 participants