mirror of
https://github.com/hinto-janai/cuprate.git
synced 2025-01-09 20:39:55 +00:00
b8e2d00af4
Add common ammounts commitment lookup table - Implements `compute_zero_commitment` function in `cuprate-helper::crypto` module. - Added test that compare the function output with the correct calculation. - Use of a constant-time algorithm for the lookup table. - Added according documentation
38 lines
857 B
Rust
38 lines
857 B
Rust
#![doc = include_str!("../README.md")]
|
|
#![cfg_attr(not(feature = "std"), no_std)]
|
|
|
|
//---------------------------------------------------------------------------------------------------- Public API
|
|
#[cfg(feature = "asynch")]
|
|
pub mod asynch; // async collides
|
|
|
|
#[cfg(feature = "atomic")]
|
|
pub mod atomic;
|
|
|
|
#[cfg(feature = "cast")]
|
|
pub mod cast;
|
|
|
|
#[cfg(feature = "fs")]
|
|
pub mod fs;
|
|
|
|
pub mod network;
|
|
|
|
#[cfg(feature = "num")]
|
|
pub mod num;
|
|
|
|
#[cfg(feature = "map")]
|
|
pub mod map;
|
|
|
|
#[cfg(feature = "thread")]
|
|
pub mod thread;
|
|
|
|
#[cfg(feature = "time")]
|
|
pub mod time;
|
|
|
|
#[cfg(feature = "tx")]
|
|
pub mod tx;
|
|
|
|
#[cfg(feature = "crypto")]
|
|
pub mod crypto;
|
|
//---------------------------------------------------------------------------------------------------- Private Usage
|
|
|
|
//----------------------------------------------------------------------------------------------------
|