brave_miracl/lib.rs
1/*
2 * Copyright (c) 2012-2020 MIRACL UK Ltd.
3 *
4 * This file is part of MIRACL Core
5 * (see https://github.com/miracl/core).
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 */
19
20// comment out if debugging with print macros !!!
21#![cfg_attr(not(feature = "std"), no_std)]
22#![allow(clippy::many_single_char_names)]
23#![allow(clippy::needless_range_loop)]
24#![allow(clippy::manual_memcpy)]
25#![allow(clippy::new_without_default)]
26#![allow(dangerous_implicit_autorefs)]
27pub mod aes;
28pub mod arch;
29pub mod dilithium;
30pub mod gcm;
31pub mod hash256;
32pub mod hash384;
33pub mod hash512;
34pub mod hmac;
35pub mod kyber;
36pub mod nhs;
37pub mod rand;
38pub mod sha3;
39pub mod share;
40pub mod x509;
41pub mod bn254;