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

Optimized poseidon software implementation #18

Closed redshiftzero closed 2 years ago

redshiftzero commented 2 years ago

Currently we are using an upstream implementation of Poseidon: ark-sponge. This implementation doesn't support the optimizations suggested in the Poseidon paper (which we added the parameter generation code for in #17). We should add an implementation of Poseidon fixed-width hashing here using either code from scratch or modified ark-sponge, and add support for optimized Poseidon.

redshiftzero commented 2 years ago

Next steps here: