| Age | Commit message (Collapse) | Author |
|
Added journal entry on polynomial commitements (specifcially, KZG
commitments), and started thinking about how to implement them.
There is still a lot of work to be done, but pushing so I don't
lose the information I have so far.
|
|
We refactored the extension field types to use an array for
coefficients instead of a tuple. Tests were modified to only have
string literals for numerical literals (istead of previously encoding
a whole `Fp12` in a single string for example). As a result, we get
better formatting and more line breaks instead of super dense and long
lines. Unfortunately, this makes a very big PR instead. The pairing
development will continue in the next one to not overgrow this too much.
|
|
|
|
In this commit, we refactor the module to contain all the fields that we
need: namely the prime field for the BN254 curve, but also the extension
fields (polynomial rings) needed for the elliptic curve pairings used by
PLONK.
In addition, I added a "journal" for documenting findings as I go as
well as useful resources I used when implementing this from scratch.
|