mratsim / constantine

Constantine: modular, high-performance, zero-dependency cryptography stack for verifiable computation, proof systems and blockchain protocols.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refine scalar decomposition for GLV/GLS endomorphism acceleration

mratsim opened this issue · comments

This issue tracks research and potential alternatives to the current lattice reduction based scalar decomposition. This is mentioned in #345 (comment).

Ideally we solve the following 3 issues:

  • rigorous bounds on the mini-scalars, even if we try to decompose both a 4-bit scalar and a 254-bit scalar with the same code.
  • ensuring only positive scalars, so GLV recoding does not need to have an extra bit.
  • reducing the number of precomputed values to reduce binary size.

Research papers