penumbra-zone / poseidon377

An instantiation of the Poseidon hash for use with decaf377
https://protocol.penumbra.zone/main/crypto/poseidon.html
Other
28 stars 10 forks source link

Poseidon parameter generation #6

Closed redshiftzero closed 2 years ago

redshiftzero commented 2 years ago

This is a start towards implementing Poseidon parameter generation in Rust The idea is for this to be an independent implementation of the parameter selection logic described in the original Poseidon paper (I'm annotating where each equation is coming from in comments).

TODO:

redshiftzero commented 2 years ago

This has an implementation of the round number and MDS matrix generation, I've filed followups for the remaining tasks (#7 #8 #9) & will do the remaining work in smaller followup PRs