penumbra-zone / poseidon377

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

poseidon parameter generation: generate round constants #8

Closed redshiftzero closed 2 years ago

redshiftzero commented 2 years ago

The ark matrix (https://github.com/penumbra-zone/poseidon377/blob/main/src/params.rs#L42) contains the round constants for Poseidon. We need to implement logic to generate them using the transcript RNG (similar to the existing cauchy coefficient method on the transcript).