1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Copyright 2022 The Tari Project
// SPDX-License-Identifier: BSD-3-Clause

//! Tari-Crypto
#![no_std]

#[allow(unused_imports)]
#[macro_use]
extern crate alloc;

#[cfg(any(feature = "bulletproofs_plus", test))]
#[macro_use]
extern crate std;

#[macro_use]
mod macros;
pub mod commitment;
pub mod deterministic_randomizer;
pub mod dhke;
pub mod hashing;
pub mod keys;
#[cfg(feature = "bulletproofs_plus")]
pub mod range_proof;
pub mod signatures;

// Implementations
#[allow(clippy::op_ref)]
pub mod ristretto;

pub mod errors;
#[cfg(feature = "bulletproofs_plus")]
pub mod extended_range_proof;

// Re-export tari_utils
pub use tari_utilities;