Failing a Crypto Core at Full Line Rate: Qualifying Redundancy in an SDR HSM
A COMSEC enclave with two crypto cores and a supervisor that moves channels between them can pass every functional test on the bench. It can still drop out of the net the first time a core faults during a saturated, fast-hopping mission. Failover itself works fine at idle. Under load, the problem is the time that failover takes, because the surviving core, the key store and the TRANSEC sequencer all share a bus that is already full.
Where the redundancy actually breaks
Moving a channel to another core is more than a pointer swap. The surviving core has to rebuild that channel's key schedule, restore the cipher state from the last checkpoint, and resynchronise with the hop sequence generator before the next dwell boundary. At idle all of this fits easily, and by our estimate it takes a few hundred microseconds. At line rate, the key expansion competes with traffic DMA for the same internal fabric, and the sequencer's request for the next hop's key material waits behind it. The failure mode is quiet. The channel keeps encrypting correctly, but it misses one or more dwell boundaries, sends on a stale hop, and the far end treats it as a net exit. The local health monitor sees no error, because every individual component did what it was designed to do.
The test that catches it
Load every channel to full line rate at the fastest supported hop rate, then fault one core through the hardware fault-injection path, not a software command. Repeat this at randomised points relative to the dwell boundary. Watch the black side with an independent wideband capture, not the HSM's own telemetry. For every channel, record when its first emission after the fault lands relative to the expected hop schedule, and decode it against a reference receiver holding the same key fill. Pass or fail is set by the timing margin: each migrated channel has to put out its first correct post-fault burst with at least 20 µs of slack before its dwell boundary, measured on the air. Run the same campaign with the alarm and tamper paths active as well. A supervisor that meets timing by delaying alarm processing has simply moved the failure into a place you aren't watching.
Your decision rule is to accept the redundant architecture only if the worst-case failover slack measured under full load stays positive across the whole randomised campaign, and to treat any result from an idle or partly loaded run as unqualified for this property.
What the evidence has to show
National security evaluation regimes for Type 1 equipment care first about fail-secure behaviour: no plaintext on the black side and no keystream reuse, whatever else goes wrong. Your campaign has to show that, but it also has to show availability, and the two can work against each other. A supervisor tuned to fail secure fast will shut a channel down when it is unsure, which is safe and keeps the radio silent. A supervisor tuned for availability will hold stale context just long enough to stay in the net. The only way to see which trade the firmware made is to capture the black side while the bus is saturated, and to keep enough trials that the worst case is real and not a guess. By our estimate that is several thousand fault injections per hop rate. Plan the fixture budget for that count early, because a lack of trials is the usual reason this test gets cut back to an idle run that proves nothing.
Technical FAQ: Can we qualify failover timing from the HSM's internal logs instead of an external capture?
No. Internal timestamps come from the same clock domain and fabric that are congested during the fault, so they understate the delay exactly when it matters. Only an independent capture of the black side measures what the far end actually received.