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 `Element::basepoint` be a bare function #18

Closed hdevalence closed 2 years ago

hdevalence commented 2 years ago

Currently, the conventional basepoint is created using the Element::basepoint() method. But Element is already designed to be used with the crate prefix as decaf377::Element, so decaf377::Element::basepoint() is a bit unwieldy and redundant.