← Back to documentation
Snapshot of projects/fog-crypto-core/requirements/RTM.md — 28 Nov 2026

Fog-Crypto Core — Requirements Traceability Matrix (RTM)

Bidirectional traceability: every requirement maps to a design element (design/SDD.md §), a component (src/), a verification item (testbench/), and a measured KPI (performance/). This matrix is the artifact required by the audit (NC/RD-3: "unique IDs + bidirectional RTM").

Rev 2.0 de-escalation: rows tagged MVP are the frozen Mandatory baseline; rows tagged Phase 2 are the Desirable hardening backlog (non-blocking). The convergence freeze rule (§0 of REQ.md, decision D-17) forbids new Mandatory requirements after this freeze.

Matrix

RequirementTypeDesign (SDD §)Component (src/)Verification (testbench/)KPI (performance/)
REQ-FOG-FUNC-001Functional§4.1 Crypto enginecrypto-engines/UVM AES vectors (VV-001)line-rate throughput
REQ-FOG-FUNC-002Functional§4.2 DSP pre-processingcrypto-engines/ (DSP)reference-model co-sim + CIC group delay + W1C ackCPU ÷ 10
REQ-FOG-FUNC-003Functional§3.3 Sensor pathbus-interfaces/ (FMC)ADC ingest sim + CDC + IDELAYE3 eye calsignal integrity
REQ-FOG-PERF-001Performance · MVP§3.3 Line-rate modelhost-integration/ + crypto-engines/CPU before/after benchcpu-offload.md (÷ 2 @ 100 MbE)
REQ-FOG-PERF-002Performance · MVP§3.3, §4.1crypto-engines/0.149 Mpps / 97.5 Mbps goodput (100 MbE) + GHASHthroughput.md
REQ-FOG-PERF-003Performance§3.2, §3.3rtl/ + host-integration/latency (excl. 12.14 µs wire)latency.md
REQ-FOG-SEC-001Security§3.4 Key managementcrypto-engines/ (CSU/BBRAM)key provisioning (TZ filter + HPM0_LPD + CSU PUF + AES-256-KW) + JTAG locksecurity review
REQ-FOG-SEC-002Security§4.1 AES-256-GCMcrypto-engines/ (GHASH)NIST CAVP + store-and-forward tag_ok + tx_ercrypto validation
REQ-FOG-SEC-003Security · Phase 2§4.1 (masked S-box)rtl/ (masked S-box)TVLA / CPA campaign (Phase 2)side-channel report
REQ-FOG-SEC-004Security§4.1, §7crypto-engines/KAT + CAVP regressioncrypto validation
REQ-FOG-SEC-005Security§4.1 Nonce countercrypto-engines/nonce monotonicity + reset/replay testcrypto validation
REQ-FOG-IF-001Interface§3.2 AXI topologybus-interfaces/coherent-DMA + OCM/batched rings + 1010 payloadslatency/CPU
REQ-FOG-IF-002Interface§4.4 Kernel driverhost-integration/ (VFIO)vfio-platform bind testdriver bench
REQ-FOG-IF-003Interface§4.3 SG-DMArtl/ + host-integration/dual-domain IRQ (coalesced + PL_PS_IRQ0)CPU bound
REQ-FOG-IF-004Interface§4.3 Descriptor ringrtl/ (DMA)Status/Submission ring split + race testline-rate
REQ-FOG-IF-005Interface§3.5 Clocking/CDCrtl/ (CDC)CDC report + scoped XDC + set_bus_skewtiming report
REQ-FOG-IF-006Interfacedesign/ICD.mdbus-interfaces/ICD contract tests—
REQ-FOG-HW-001Constraint§3.5 Signal integritybus-interfaces/ (FMC)VADJ + SFVC784 HP-bank LVDS (no shifter) + IDELAYE3HW audit
REQ-FOG-HW-002Constraint · MVP§3.5, §1rtl/OOC gate + synthesis + STA (≥ 150 MHz)utilization-timing.md
REQ-FOG-HW-003Constraint§3.5, §1rtl/OOC synthesis report (masking frozen, ZU3EG)utilization-timing.md
REQ-FOG-SW-001Functional§4.5 Data planehost-integration/ (C data plane, PL MAC + VFIO)PMD batching (B∈[8,32]) + EtherType + vfio_reset_handlercpu-offload.md
REQ-FOG-SW-002Constraint§4.6 Control planehost-integration/ (control)control-loop + MDIO/PHY ownershipcontrol telemetry
REQ-FOG-VV-001Verification§7 Verificationtestbench/ (UVM)coverage ≥ 95 % + fault injectionquality
REQ-FOG-VV-002Verification§7 Verificationtestbench/ (golden model)co-sim CIquality
REQ-FOG-VV-003Verification§7 Verificationtestbench/ (HIL)on-board benchmark (PMU L2D_CACHE_REFILL)all KPI reports

Coverage rules

  • No orphan requirement: every row above has all five columns filled (a — is only allowed where the requirement has no numeric KPI, e.g. the ICD contract).
  • No orphan design/component: the reverse direction is tabulated below (component → requirements) and mirrored in each component README.
  • Each row must be checked off in performance/ before any release (charter rule).

Reverse traceability (component → requirements)

ComponentRequirements
src/crypto-engines/FUNC-001, FUNC-002, PERF-001, PERF-002, SEC-001, SEC-002, SEC-004, SEC-005
src/bus-interfaces/FUNC-003, IF-001, IF-006, HW-001
src/host-integration/PERF-001, PERF-003, IF-002, IF-003, SW-001, SW-002
src/rtl/PERF-003, SEC-003, IF-003, IF-004, IF-005, HW-002, HW-003
testbench/VV-001, VV-002, VV-003

Each component README lists the identical set (see src/*/README.md and testbench/README.md).

Audit closure map

Audit finding (§)Remediated by
NC/RD-1 CPU ÷ 10 not verifiableREQ-FOG-PERF-001 (baseline + acceptance)
NC/RD-2 line-rate ambiguousREQ-FOG-PERF-002 (frozen 1 GbE reference)
NC/RD-3 no IDs / no RTM§0 IDs + forward matrix + reverse table above
VER/VAL no UVM / no crypto vectorsREQ-FOG-VV-001, SEC-004
§3.1 SWaP/timing budgetREQ-FOG-HW-002 (≤ 70 % util, ≥ 250 MHz)
§3.2 key in clear / no mode / no side-channelSEC-001, SEC-002, SEC-003
§3.3 CDC + FMC voltageIF-005, HW-001
§4.1 AXI HP cache trapIF-001 (HPC + CCI-400)
§4.2 UIO→VFIOIF-002 (VFIO from Phase 1)
§5 Python data planeSW-001, SW-002
§6 IRQ storm + ownershipIF-003, IF-004
§7 risk 1 — qualitative, non-measurable reqsPERF-001/002/003 + this RTM
§7 risk 2 — AES key in clearSEC-001
§7 risk 3 — AES mode unformalizedSEC-002
§7 risk 4 — Python data planeSW-001, SW-002
§7 risk 5 — AXI HP latencyIF-001
§7 risk 6 — UIO→VFIO transitionIF-002
§7 risk 7 — FMC I/O integrityHW-001
§7 risk 8 — IRQ stormIF-003, IF-004

Engineering review closure (2026-11-07)

Review findingRemediated by
Masked AES-GCM + GHASH + SG-DMA may exceed 70 % LUT on ZU2CGHW-003 (OOC gate), HW-002, D-2
GHASH 128-bit carry-less multiply timing at 250 MHzPERF-002 (3–4 pipeline stages)
FMC VADJ / HP-bank (≤ 1.8 V) vs 2.5/3.3 V ADC cardsHW-001, FUNC-003, D-12
CCI-400 coherence inactive by default (Linux)IF-001 (AxCACHE/AxPROT/AxUSER[0]/dma-coherent)
SG-DMA descriptor false sharingIF-004 (64-B cache-line alignment)
No native eFUSE→PL key busSEC-001 (TrustZone/APB/KEK/tamper)
AES-GCM nonce/IV reuseSEC-005, IF-006 (ICD), D-10
1.488 Mpps @ 64 B untenable under IRQ (≤ 8.5 % CPU)PERF-001 (1500-B scope), IF-003, SW-001, D-11

Engineering review #2 closure (2026-11-07)

Review findingRemediated by
VFIO userspace driver vs AF_XDP / raw-socket contradictionSW-001, D-13 (PL MAC + full VFIO pipeline)
Busy-polling PMD reports ~100 % OS CPUPERF-001 (cycles/packet via PMU, ≤ 400 @ 1.2 GHz)
Descriptor OWN/status bidirectional false sharingIF-004 (Status vs Submission ring split)
ZU2CG LUT exhaustion (masked AES + GHASH + DSP)D-2 (ZU3EG anticipated), HW-003
CCI-400 snoop/L2 thrashing at 64-byte saturationIF-001 (non-allocating / streaming mode)
Crypto APB reachable by non-secure mastersSEC-001 (XMPU/XPPU firewall)
Nonce counter reset on warm reboot / partial reconfigSEC-005 (key renewal / epoch ID)
TXS auto-direction shifter jitter / ENOBHW-001 (unidirectional shifters / HD banks)
Blanket set_clock_groups -asynchronous scopeIF-005 (scoped XDC)

Engineering review #3 closure (2026-11-07)

Review findingRemediated by
GCM feedback loop limits GHASH throughput (1 block / 4 cycles)PERF-002 (parallel powers of H)
ZU2CG placement/routing failure under DPA share isolationD-2 (ZU3EG definitive), HW-003
Gray-pointer skew corrupting empty/full flagsIF-005 (set_bus_skew)
Session key in clear on APB (glitch/side-channel)SEC-001 (KEK-encrypted + PL-enclave decrypt)
L2/PHY ownership undefined without netdevSW-001, SW-002, D-14
ADC capture-clock skew from shifters/tracesHW-001 (IDELAYE3 / ISERDESE3)
PMD 333 ns / 64-B budget (no syscalls/cache-misses)PERF-001, SW-001 (PMD discipline)

Engineering review #4 closure (AUD-4.1 … AUD-4.8)

IDDefect (Rev 1.3)Remediated in Rev 1.4 by
AUD-4.1HD banks lack IDELAYE3/ISERDESE3FUNC-003, HW-001, D-12 (ADC on 1.8 V HP banks; HD → slow GPIO)
AUD-4.2128b/cycle masked AES + 4× GHASH exceeds ZU3EG budgetFUNC-001, PERF-002, HW-002/003 (≥ 1 blk/16 cyc, single 4-stage GHASH)
AUD-4.3KEK bootstrap unexplained; XMPU/XPPU misapplied to PLSEC-001, D-4 (ENC_ONLY bitstream / PL PUF + PL AXI Firewall → RTL TZ filter, AUD-5.3)
AUD-4.4eFUSE OTP wear + incomplete 64-bit IV vs 96-bit NISTSEC-005, D-10, IF-006 (Salt‖Counter, session-key rotation, zero runtime eFUSE writes)
AUD-4.5Non-allocating DMA causes ring cache-misses; heavy dmb oshPERF-001, IF-001, IF-004 (split AxCACHE 1111/1010 → OCM/batched, AUD-5.1; ldar/stlr)
AUD-4.6D-14 reintroduced /dev/uio; Python can't do PAUSEIF-002, SW-001/002, D-14 (no UIO; PAUSE in PL MAC HW; ARP via IPC ring)
AUD-4.7Missing PS/PL interface + latency contract for DSP sensor pathFUNC-002, PERF-003, IF-003, IF-006, D-15 (PL_PS_IRQ0 ≤ 2 µs, AXI-Lite, pre/post-trigger FIFO)
AUD-4.8Missing crypto fail-safe / frame poisoning on faultSEC-002, SEC-004, VV-001 (halt + zeroize + tx_er)

Engineering review #5 closure (AUD-5.1 … AUD-5.8)

IDDefect (Rev 1.4)Remediated in Rev 1.5 by
AUD-5.1HPC = ACE-Lite "no L2 allocation" → "zero refill" failsPERF-001, IF-001 (OCM or B≥8 batches, ≤ 0.25 refill/pkt)
AUD-5.2Cut-through decryption leaks unverified plaintextSEC-002 (store-and-forward tag_ok), PERF-003 (20 µs excl. 12.14 µs wire)
AUD-5.3Xilinx AXI Firewall ≠ TrustZone filter; APB3 drops AxPROTSEC-001, D-4 (dedicated RTL TZ filter + HPM0_LPD + hardwire AxPROT)
AUD-5.4Constant KEK / soft-PUF Fuzzy Extractor costSEC-001, D-4 (CSU hardware PUF + Black Key Blob + AES-256-KW)
AUD-5.50 GTH transceivers + 72 HP pins on small packagesHW-001, D-2, D-13 (SFVC784; RGMII/SGMII; no shifter on LVDS)
AUD-5.6DOM needs fresh entropy + masked H + share-merge guardSEC-003, HW-003 (≥ 256 b/cyc, H=H0⊕H1, DONT_TOUCH + TCL)
AUD-5.7MMIO ~60 cyc + no vfio reset handlerSW-001, IF-004, IF-002 (B∈[8,32] batching, EtherType in Status Ring, vfio_reset_handler)
AUD-5.8CIC group delay + W1C ack orderingFUNC-002, D-15 (N(R−1)/(2Fs) < 1.5 µs, read-back + dsb sy)

De-escalation closure (Rev 2.0)

The MVP baseline relaxes KPIs to right-size the first release; the hardening backlog is Phase 2.

ItemMVP (Mandatory)Phase 2 (Desirable)
Line rate100 MbE (≥ 0.149 Mpps)1 GbE (≥ 1.488 Mpps)
CPU offload÷ 2 (≤ 50 % of baseline)÷ 10 (≤ 8.5 %)
Crypto clock≥ 150 MHz≥ 250 MHz
Side-channelunmaskedDOM masking + TVLA
Crypto validationNIST CAVP+ FIPS 140-3 KAT
Key storageBBRAMCSU PUF + Black Key Blob + AES-256-KW + RTL TZ filter
DMA descriptorssimple HPC (no-allocate)OCM / batched B≥8, ≤ 0.25 refill/pkt
DriverVFIO + vfio_reset_handler+ PMD, doorbell batching
Packageboard on hand (HP banks)XCZU3EG-SFVC784 (156 HP pins)
TimingWNS ≥ 0 @ 150 MHzWNS ≥ 0 @ 250 MHz

Freeze rule (D-17): no new Mandatory requirement may be added by later reviews; new findings are Desirable / Phase 2 unless they are a blocking security flaw or a factual correctness error.

Source: raw markdown — published as-is from the source repository.