rscrypto 0.1.1

Pure Rust cryptography, hardware-accelerated: BLAKE3, SHA-2/3, AES-GCM, ChaCha20-Poly1305, Ed25519, X25519, HMAC, HKDF, Argon2, CRC. no_std, WASM, ten CPU architectures.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Common utilities for hash computation.
//!
//! This module provides:
//! - Cross-architecture SIMD abstractions for hash primitives
//! - Generic kernel selection and dispatch infrastructure
//! - Software prefetch helpers for optimal memory access patterns
//! - Shared compression patterns for hash algorithms
//!
//! # Design Philosophy
//!
//! The patterns here mirror `checksum::common` to maintain consistency
//! across the rscrypto crate ecosystem. Hash algorithms share many
//! optimization techniques (SIMD vectorization, prefetch hints, etc.)
//! that can be centralized here.

#[cfg(all(feature = "blake3", target_arch = "aarch64"))]
pub mod prefetch;