mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-04 09:59:42 +00:00
d25c668ee4
lazy_static, if no_std environments were used, effectively required always using spin locks. This resolves the ergonomics of that while adopting Rust std code. no_std does still use a spin based solution. Theoretically, we could use atomics, yet writing our own Mutex wasn't a priority. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE | ||
README.md |
Monero Generators
Generators used by Monero in both its Pedersen commitments and Bulletproofs(+).
An implementation of Monero's ge_fromfe_frombytes_vartime
, simply called
hash_to_point
here, is included, as needed to generate generators.
This library is usable under no_std when the alloc
feature is enabled.