cess_sha2raw/lib.rs
1//! An implementation of the [SHA-2][1] cryptographic hash algorithms.
2
3// Give relevant error messages if the user tries to enable AArch64 asm on unsupported platforms.
4
5#![deny(clippy::all, clippy::perf, clippy::correctness)]
6#![allow(clippy::unreadable_literal)]
7
8pub use digest::Digest;
9
10mod consts;
11mod platform;
12mod sha256;
13#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
14mod sha256_intrinsics;
15mod sha256_utils;
16
17pub use sha256::Sha256;