TinySSL
Lightweight cryptography for small devices, sized for kilobytes not megabytes.
A compact profile for resource-constrained hardware such as Raspberry Pi and similar boards: lightweight AEADs, small hashes, compact signatures and post-quantum key exchange where it fits.
How it is meant to work
Embedded, IoT and edge developers on boards like the Raspberry Pi, and smaller MCUs where possible.
Lightweight first
Built around Ascon, the NIST lightweight standard, plus ChaCha20-Poly1305 for boards without AES hardware.
Small footprint
Each algorithm is a separately compiled unit: link only what you use. Footprint budgets are design targets, published per board once measured.
Post-quantum where it fits
ML-KEM-512/768 and ML-DSA-44 for devices with the memory to hold them; classical X25519 and Ed25519 elsewhere.
No heap required
Planned caller-allocated buffers throughout, so it can run without an allocator.
Constant-time cores
Selection favours designs that are naturally constant-time in software.
Same names, same vectors
Algorithm names, parameters and known-answer tests are shared with NextSSL, so data moves between the two.
109 algorithms, selected from the registry
The profile is selected by rule from NextSSL's registry, so it updates when the registry does. The final selection may change before release.
| Kind | Algorithms | |
|---|---|---|
| 2 | ||
| 3 | ||
| 4 | ||
| 63 | ||
| 4 | ||
| 17 | ||
| 1 | ||
| 9 | ||
| 4 | ||
| 1 | ||
| 1 |
Highlights
From plan to release
Phases are plans, not dates. TinySSL starts once NextSSL's core has been audited.
- ProfileChoose the lightweight subset and per-board feature sets.Planned
- No-heap APICaller-allocated buffers and a static configuration.Planned
- Board supportRaspberry Pi first, then Cortex-M and RISC-V targets.Planned
- Footprint reportMeasured code size, RAM and cycles per algorithm and board.Planned
- ReleaseFirst release after NextSSL's core is audited.Planned