crypto_dispatch/algorithms/mod.rs
1// SPDX-FileCopyrightText: Copyright © 2026 ReallyMe LLC. All rights reserved
2//
3// SPDX-License-Identifier: Apache-2.0
4
5/// AES-256-GCM AEAD adapter.
6pub mod aes256_gcm;
7/// AES-256-GCM-SIV AEAD adapter.
8pub mod aes256_gcm_siv;
9/// ChaCha20-Poly1305 and XChaCha20-Poly1305 AEAD adapters.
10pub mod chacha20_poly1305;
11/// Ed25519 signature adapter.
12pub mod ed25519;
13/// HMAC-SHA-256 and HMAC-SHA-512 adapters.
14pub mod hmac;
15mod keypair_result;
16#[cfg(any(feature = "native", all(feature = "wasm", target_arch = "wasm32")))]
17mod map_signature_error;
18/// ML-DSA-44 signature adapter.
19pub mod ml_dsa_44;
20/// ML-DSA-65 signature adapter.
21pub mod ml_dsa_65;
22/// ML-DSA-87 signature adapter.
23pub mod ml_dsa_87;
24/// ML-KEM-1024 key encapsulation adapter.
25pub mod ml_kem_1024;
26/// ML-KEM-512 key encapsulation adapter.
27pub mod ml_kem_512;
28/// ML-KEM-768 key encapsulation adapter.
29pub mod ml_kem_768;
30/// NIST P-256 (secp256r1) signature adapter.
31pub mod p256;
32/// NIST P-384 (secp384r1) signature adapter.
33pub mod p384;
34/// NIST P-521 (secp521r1) signature adapter.
35pub mod p521;
36/// secp256k1 signature adapter.
37pub mod secp256k1;
38/// SHA-384 and SHA-512 (SHA-2) hash adapters.
39pub mod sha2;
40/// SHA-256 (SHA-2) hash adapter.
41pub mod sha2_256;
42/// SHA3-224, SHA3-384, and SHA3-512 hash adapters.
43pub mod sha3;
44/// SHA3-256 hash adapter.
45pub mod sha3_256;
46/// X25519 Diffie–Hellman adapter.
47pub mod x25519;
48/// X-Wing hybrid KEM adapters.
49pub mod x_wing;
50
51#[allow(unused_imports)]
52pub(crate) use keypair_result::KeypairResultExt;
53#[cfg(any(feature = "native", all(feature = "wasm", target_arch = "wasm32")))]
54pub(crate) use map_signature_error::map_verify_error;