penumbra-zone / decaf377

decaf377 is a prime-order group designed for use in SNARKs over BLS12-377
https://protocol.penumbra.zone/main/crypto/decaf377.html
12 stars 12 forks source link

Make modular reduction work for large byte sizes #78

Closed cronokirby closed 8 months ago

cronokirby commented 8 months ago

Previously, we asserted that the byte slice had the right size. This assumption is invalidated in the actual Penumbra codebase, mainly for extracting field values from a hash function.