synor/crates/synor-crypto
Gulshan Yadav af79e21a1b feat(crypto): add post-quantum algorithm negotiation protocol
Implements a protocol for nodes to negotiate which post-quantum signature
algorithm to use for communication. Supports Dilithium3, SPHINCS+ (128s/192s/256s),
and FALCON (512/1024) with configurable preferences based on:
- Security level (NIST 1-5)
- Bandwidth constraints (signature size limits)
- Algorithm family preference (lattice vs hash-based)

Key features:
- AlgorithmCapabilities for advertising node capabilities
- AlgorithmNegotiator for selecting best common algorithm
- Scoring strategies (local/remote preference, average, min/max)
- Fallback algorithm selection (different family for resilience)
- Session parameters with renegotiation support
- Full test coverage (11 tests)

This completes Milestone 2 (Enhanced Quantum Cryptography) of Phase 13.
2026-01-19 23:03:03 +05:30
..
benches style: format all Rust code with cargo fmt 2026-01-08 05:22:24 +05:30
src feat(crypto): add post-quantum algorithm negotiation protocol 2026-01-19 23:03:03 +05:30
Cargo.toml feat(crypto): add post-quantum algorithm negotiation protocol 2026-01-19 23:03:03 +05:30