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

[WIP] Implement ECC chip #23

Closed
wants to merge 39 commits into from
Closed

[WIP] Implement ECC chip #23

wants to merge 39 commits into from

Conversation

therealyingtong
Copy link
Contributor

@therealyingtong therealyingtong commented Feb 26, 2021

This is based on #43 (Add Orchard constants) which is unmerged.

It also points to the chip-config branch zcash/halo2#253 which is unmerged on halo2.

@codecov-io
Copy link

codecov-io commented Feb 26, 2021

Codecov Report

Merging #23 (e30b493) into constants (32cccbd) will decrease coverage by 18.53%.
The diff coverage is 0.00%.

Impacted file tree graph

@@              Coverage Diff               @@
##           constants      #23       +/-   ##
==============================================
- Coverage      56.52%   37.98%   -18.54%     
==============================================
  Files             16       17        +1     
  Lines            414      616      +202     
==============================================
  Hits             234      234               
- Misses           180      382      +202     
Impacted Files Coverage Δ
src/circuit/gadget/ecc.rs 0.00% <0.00%> (ø)
src/circuit/gadget/ecc/chip.rs 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 32cccbd...e30b493. Read the comment docs.

[WIP] Fix ECC implementation to work with new Chip trait
@therealyingtong therealyingtong changed the title [WIP] Implement ECC chip Implement ECC chip Apr 23, 2021
@therealyingtong therealyingtong marked this pull request as ready for review April 23, 2021 13:36
mod witness_point;
mod witness_scalar_fixed;
mod witness_scalar_fixed_short;
mod witness_scalar_var;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We don't need to separately decompose ivk for variable-base scalar mul; we can merge the decomposition into the scalar mul.

@therealyingtong therealyingtong changed the title Implement ECC chip [WIP] Implement ECC chip Apr 26, 2021
@therealyingtong therealyingtong marked this pull request as draft April 26, 2021 14:52
@therealyingtong
Copy link
Contributor Author

Superseded by optimised implementation (#73).

@therealyingtong therealyingtong deleted the ecc-chip branch June 4, 2021 08:46
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