krypteia-arcana 0.1.0

Pure-Rust classical cryptographic primitives: RSA (PKCS#1 v1.5, OAEP), ECC (NIST P-256/384/521, secp256k1), ECDSA, EdDSA (Ed25519), X25519, AES (128/192/256, GCM/CBC), DES/3DES, SHA-1/2/3, HMAC. Side-channel-aware (Montgomery ladder, branchless point_add_ct). Targets embedded (no_std), STM32 M0/M4/M33, ESP32-C3 RISC-V. Zero runtime dependencies.
Documentation
//! RSA encryption and signatures.
//!
//! # Algorithms
//! - **PKCS#1 v1.5** (RFC 8017): encryption and signature padding
//! - **OAEP** (RFC 8017): optimal asymmetric encryption padding
//! - **RSASSA-PSS** (RFC 8017 / PKCS#1 v2.2 ยง8.1): modern signature padding
//! - Key sizes: 512 (tests only), 1024 (tests), 2048, 3072, 4096 bits
//!
//! # Modules
//! - `bigint`: Big integer arithmetic (up to 4096-bit)
//! - `rsa`: RSA core key generation, raw encrypt/decrypt
//! - `pkcs1`: PKCS#1 v1.5 padding for encryption and signatures
//! - `oaep`: OAEP padding for encryption
//! - `pss`: RSASSA-PSS signatures (the modern RSA signature padding)

pub mod bigint;
pub mod oaep;
pub mod pkcs1;
pub mod pss;
pub mod rsa;