Skip to content

Add krypteia to no-std WIP crates - #527

Merged
eldruin merged 1 commit into
rust-embedded:masterfrom
cslashm:add-krypteia
Jul 17, 2026
Merged

Add krypteia to no-std WIP crates#527
eldruin merged 1 commit into
rust-embedded:masterfrom
cslashm:add-krypteia

Conversation

@cslashm

@cslashm cslashm commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

This adds krypteia, a pure-Rust no_std cryptography workspace, to the no-std crates section.

What it is. Post-quantum (FIPS 203/204/205 — ML-KEM, ML-DSA, SLH-DSA) and classical (RSA, ECC, EdDSA, X25519/X448, AES, ChaCha20-Poly1305, hashes, MACs) primitives. Embedded is a first-class design goal, not an afterthought: no_std, zero runtime dependencies (std/core/alloc only), explicit RAM/stack budgets, written constant-time from the first commit.

Honest maturity status — why I'm sharing it at 0.1 rather than later. It builds and runs no_std for the embedded targets (thumbv6m / thumbv7em Cortex-M, riscv32imc / imac), and the test + side-channel suites pass — but so far validation is under emulation (qemu-user + bare-metal qemu-system), and it's fully functional on host. It has not yet run on physical silicon: the first hardware bring-up (an ESP32-C3 / RISC-V sample) is on the near-term roadmap. Side-channel countermeasures are implemented and host-verified (ctgrind / dudect); on-target power/EM measurement is future work.

So it's a 0.1, but deliberately mature enough to test and to invite early feedback. I'd rather get architecture / API / requirements input from the embedded community now, while the design can still move, than once it's set in stone — remarks on targets, memory model, feature gating, ergonomics are all very welcome.

On AI assistance. Marked 🤖 per the list convention: part of the work is AI-assisted, tracked openly via Co-Authored-By git trailers. Correctness and constant-timeness are decided by tools (NIST ACVP / Wycheproof, ctgrind, dudect), not by the model — not vibe-coded.

Pre-1.0, unaudited, structured toward a lab-class evaluation.

Docs: https://krypteia-rs.dev/
Source: https://codeberg.org/cslashm/krypteia

@eldruin eldruin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks!

@eldruin
eldruin merged commit 19a6dab into rust-embedded:master Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants