When a Lattice Engine Reset Leaves Its Transaction Alive
Resetting a lattice accelerator does not necessarily cancel the transaction carrying its result. Consider a post-quantum silicon integration in which a stalled polynomial transform triggers local recovery, yet an outstanding memory write survives the reset. The engine restarts correctly, but its previous transaction can still corrupt the replacement operation.
The symptom appears after recovery
The visible symptom is an intermittent key establishment failure after the accelerator reports successful recovery, rather than an error at the moment it stalls. In this scenario, a watchdog expires after a configured 100 microseconds without progress, an illustrative integration parameter rather than a claimed device specification. Firmware resets the number theoretic transform engine, reuses its coefficient buffer and submits another operation, while the interconnect still holds a write accepted before reset. When that write finally reaches memory, it replaces coefficients belonging to the new operation with coefficients from the abandoned one, so correct arithmetic subsequently operates on invalid state. The distinguishing evidence is a memory commit from the abandoned transaction after buffer ownership has passed to its successor.
The trigger is not the root cause
The watchdog expiry triggers recovery, but the underlying assumption that fails is that resetting the compute engine also revokes every outstanding transaction and every ownership claim associated with its work.
Contain the transaction before restarting the engine
For an implementation using dual-port coefficient memory, transform microcode and a shared Keccak accelerator, the recovery boundary must include the state that connects these resources, not merely the butterfly datapath registers. An independently controlled transaction supervisor should prevent result publication, stop new requests from the affected engine and retain ownership of its buffers until accepted transfers have drained or a documented interconnect cancellation mechanism has completed. Generation tags can reject stale completion notifications, but they cannot prevent corruption from a stale write unless the destination checks those tags before committing data, so buffer quarantine remains necessary wherever that check is absent. Unaffected queues can continue only if their memory ownership, scheduling and reset controls are independent of the quarantined operation, while a replacement engine can take over only after trusted inputs are available through an authorized key path. The applicable decision rule is strict: reuse a buffer only when every earlier writer has lost the ability to modify it, accepting reduced capacity while that condition remains unproven.
Preserve the cryptographic contract
A detected hardware integrity fault must suppress publication of the affected result, without turning ordinary ciphertext rejection into a visible diagnostic. The NIST lattice key encapsulation standard, within the federal cryptographic algorithm standards family, specifies implicit rejection and prohibits exposing its internal rejection flag, so a supervisor must not treat ciphertext comparison failure as evidence that the engine needs resetting. Recovery should instead follow independently detected hardware conditions and invalidate the entire affected operation, including derived scratch state, before any retry uses trusted inputs. Verification must therefore delay an accepted write across reset and buffer reassignment, checking that it cannot modify a successor operation or publish an abandoned result, because arithmetic test vectors alone do not exercise this ownership boundary. If the interconnect cannot establish when outstanding writes have become harmless, continued service requires isolated spare storage and execution capacity, and that area cost belongs in the architecture before availability is promised.