How each block of the SecureSign SoC can be built from existing open-source
hardware and firmware: the recommended project, the exact folders to take, what RionCore adds, alternatives, licence and a planning
estimate. Every link goes to the source code on GitHub.
Caliptra is the backbone
CHIPS Alliance’s Caliptra already joins an AHB-Lite bus, a hardware key vault and
AES, SHA and ML-DSA engines — the same structure as our diagram, under Apache-2.0.
ML-DSA-65 needs adapting
The open ML-DSA hardware (Adams Bridge) and OpenTitan’s code are ML-DSA-87.
We either re-parameterise to ML-DSA-65 or adopt ML-DSA-87.
P-256 comes from OpenTitan
Caliptra’s ECC engine is P-384 only. OpenTitan’s OTBN runs hardened
P-256 signing, which today’s CA certificates need.
What RionCore builds
Card applet and PIN policy, CCID firmware, bus firewall, the ML-DSA check in the
update flow — plus the PUF, which must come from the FPGA vendor.
Sourcing mix — 21 SoC modules≈ 66 person-weeks of block work (planning estimate) · before system integration, verification and certification
7 Reuse
9 Adapt
3 RionCore builds
2 FPGA vendor
Three choices to make first
These decide how much of the open-source code can be used unchanged. Recommendations are for the Simulator and
FPGA-prototype phases and can be revisited before production.
1 · Internal bus
AHB-Lite + APB Matches the diagram and Caliptra; OpenTitan blocks join through Caliptra’s TL-UL adapters.
TL-UL (OpenTitan) Most OpenTitan IP plugs in directly via the tlgen crossbar generator, but Caliptra and Adams Bridge then need adapters.
2 · ML-DSA security level
ML-DSA-65 As in the brief: public key 1,952 B, signature 3,309 B. Needs about 10 weeks of extra RTL work on Adams Bridge.
ML-DSA-87 Use Adams Bridge almost as-is; higher security but larger: public key 2,592 B, signature 4,627 B, and more FPGA memory.
3 · CPU core
VeeR EL2 Comes integrated in Caliptra with AHB-Lite, interrupt controller and debug — least glue for the prototype.
Ibex or rion_rv32 Ibex is smaller with PMP; rion_rv32 keeps the core in-house. Both need AHB wrappers.
Module by module
The same blocks as the SoC block diagram. Filter by group or by how each block is sourced.
MCUboot verifies only ECDSA, Ed25519 and RSA today — RionCore adds an ML-DSA image check (using mldsa-native verify), the update public-key hash in OTP and power-on self-tests (flow U1–U5).
Compact full-speed USB device core in plain Verilog, proven on FPGAs.
What we take
rtl/usb.v + usb_phy.v, usb_trans.v, usb_ep_buf.v (core is CERN-OHL-P permissive)
RionCore adds
CCID class firmware and APDU dispatcher in C on the RISC-V; descriptors so Windows, macOS, Linux, Android and iOS load their built-in smart-card driver.
Golden model: mldsa-native with MLD_CONFIG_PARAMETER_SET=65
RionCore adds
Adams Bridge implements ML-DSA-87. For ML-DSA-65 change (k, l) from (8, 7) to (6, 5), η 2→4, τ 60→49, ω 75→55 — this touches the bounded sampler, secret-key packing, challenge sampling and hint logic. Remove the ML-KEM part to save area.
Caliptra’s ECC engine is P-384 only, so P-256 comes from OTBN (or Mbed TLS in firmware for the first prototype). OTBN can also run ML-DSA code — a possible single-engine option.
PUF root key from the FPGA vendor’s PUF (no production-grade open PUF exists); an FPGA ring-oscillator noise source for entropy_src; derivation of K_sign, K_id, K_fw.
Clock glitch monitor feeds the tamper/alert block.
How the pieces come together
Third-party code is copied into one repository at a pinned version, so every build is reproducible and every
licence is tracked. RionCore’s own RTL and firmware live beside it.
Vendor & pin
Copy each project at a fixed commit with OpenTitan’s vendor.py tool — one small description file per project.
Integrate
Wire blocks on the AHB-Lite bus in securesign_top.sv; adapters where a block uses TL-UL.
Simulate
Verilator + cocotb run the whole SoC; every signature is compared with mldsa-native and Mbed TLS.
Size check
Yosys estimates logic and memory per block, so the FPGA family is chosen on real numbers.
FPGA build
Vendor place-and-route on the prototype board; the same tests run against real hardware.
// vendor/adams_bridge.vendor.hjson
{
name: "adams_bridge",
target_dir: "adams-bridge",
upstream: {
url: "https://github.com/chipsalliance/adams-bridge",
rev: "<tested commit>",
},
// only the RTL we need
mapping: [
{ from: "src", to: "src" },
],
}
# fetch / update$ util/vendor.py vendor/adams_bridge.vendor.hjson
Effort by group
Planning estimates for one experienced engineer, ±50%. They cover adapting and unit-testing each block, not
system integration, side-channel work or certification.
Group
Modules
Block work
CPU subsystem
5
10 wk
Bus & data movement
3
6 wk
Communication
1
6 wk
Crypto engines
4
20½ wk
Security
4
19 wk
System
4
4½ wk
Total
21
≈ 66 wk
Licence checklist before shipping
Keep every notice. Apache-2.0, BSD, ISC, MIT and Solderpad allow commercial use if the copyright and licence text ship with the product.
Check file by file. no2usb mixes CERN-OHL-P (core) with LGPL (stack); XKCP and PQClean are mostly CC0 with exceptions.
Reference only. Roa Logic AHB-Lite is non-commercial; the PIV authenticator is archived — read, don’t copy.
Pin versions. Several links point to development branches; use a tested commit or release tag for anything that ships.
Patents and standards. ML-DSA (FIPS 204) is royalty-free; confirm the FPGA vendor’s PUF licence terms.
Certification. Open code does not carry FIPS 140-3 or Common Criteria approval — the finished dongle is evaluated as a whole.
About this plan: project choices, folder paths and licences were checked on
GitHub in November 2026 and can change. Effort figures are planning estimates, not quotes. The final IP choices are confirmed in the
Simulator and FPGA-prototype phases — see the Executive Brief roadmap.