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

Implement encodings #3

Open
5 of 8 tasks
claucece opened this issue Jan 11, 2017 · 2 comments
Open
5 of 8 tasks

Implement encodings #3

claucece opened this issue Jan 11, 2017 · 2 comments

Comments

@claucece
Copy link
Member

claucece commented Jan 11, 2017

In accordance with Mike Hamburg's paper.

  • implement bigNumber arithmetic // merged
  • implement the 3 decaf new functions: equality, encoding and decoding // merged
  • implement the new scalar operations
  • implement the new point operations // check if all are done
  • change the point representation: projective coordinates
  • implement a generator for the base point according to the new coordinates // this should be on otr4
  • implement elligator2
  • implement montgomery mul and use it on 'decode_long'
@yakiradixon
Copy link
Contributor

Putting a note here to remind us that we discussed using an existing elligator implementation over implementing it ourselves

@claucece
Copy link
Member Author

claucece commented Jun 3, 2017

From scalar, missing:

  • Invert
  • Set to unsigned 64
  • MontSquare
  • Destroy
  • CondSelect

From point, missing:

  • Point negate
  • Point dual scalar mul
  • Point torque
  • Point cond_sel

From pniels

  • Check conversions
  • prepare_fixed_window
  • cond neg niels

Various

  • Batch invert

Encodings:

  • x448
  • eddsa: prehashed

Elligator:

  • all

@claucece claucece changed the title Implement Decaf Implement encodings Sep 4, 2017
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

No branches or pull requests

2 participants