serai/coins/monero/generators
Luke Parker d25c668ee4
Replace lazy_static with OnceLock inside monero-serai
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.
2023-06-28 21:45:57 -04:00
..
src Replace lazy_static with OnceLock inside monero-serai 2023-06-28 21:45:57 -04:00
Cargo.toml Replace lazy_static with OnceLock inside monero-serai 2023-06-28 21:45:57 -04:00
LICENSE Update licenses 2023-01-11 23:05:31 -05:00
README.md Add no_std support to transcript, dalek-ff-group, ed448, ciphersuite, multiexp, schnorr, and monero-generators 2023-04-22 04:38:47 -04:00

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.