In a striking new study that bridges the worlds of artificial intelligence hardware and cryptographic engineering, researcher Robert O’Brien of Deepn Labs has demonstrated that standard symmetric cryptographic primitives can be successfully compiled and executed on commercial edge AI accelerators. However, the findings come with a sobering catch: while these neural network-based cryptographic implementations achieve remarkable bit-exactness in many cases, they demand astronomical amounts of energy compared to traditional processors and expose a series of alarming, silent hardware and software failures across the industry.
The research paper, titled "Bit-Exact Symmetric Cryptography on Commercial Edge AI Accelerators: Exactness, Wall-Plug Energy, and Five Silent Failures," was published on the Cryptology ePrint Archive as Paper 2026/3089. The investigation addresses a novel application of edge AI hardware by forcing specialized machine learning accelerators—devices natively designed to process matrix multiplications and convolutions for neural networks—to instead compute rigorous cryptographic algorithms through networks of binary threshold units.
Translating Cryptography into Neural Networks
To test the boundaries of these commercial AI chips, O’Brien compiled seven standard symmetric cryptographic primitives into networks of binary threshold units with weights strictly limited to negative one, zero, and positive one. The selected primitives represent a cross-section of modern and traditional cryptography: the Keccak-f[1600] permutation underlying the SHA-3 hash function, AES-128, SM4, ARIA-128, Camellia-128, ChaCha20, and Salsa20.
These binary networks were then mapped onto the hardware convolution engines of six distinct commercial edge AI accelerator units sourced from five different vendors. The test hardware included a BrainChip AKD1500, two Hailo-8 cards, a MemryX MX3, the AMD XDNA 2 Neural Processing Unit (NPU), and the VeriSilicon NPU integrated into an Amlogic A311D system-on-chip. For comparison, the algorithms were also mapped to the int8 matrix extension of a SpacemiT K1 RISC-V CPU.
To achieve this, the research relied entirely on the vendors’ native toolchains, utilizing their own proprietary quantizers, compilers, and runtimes. Every single output bit generated by the hardware accelerators was meticulously checked against official cryptographic standards across runs of up to 130 million checked blocks.
Exactness on Silicon and Exceptions on the Edge
Out of the 42 total accelerator-primitive cells evaluated in the study, an impressive 34 cells achieved bit-exact results on silicon in at least one mapping. This proves that edge AI hardware can, under specific conditions, flawlessly execute cryptographic math originally formulated for completely different computational paradigms.
However, the exceptions to this rule highlight deep-seated architectural quirks and reliability concerns in commercial silicon and toolchains. The Keccak-f permutation running on the BrainChip AKD1500 exhibited a transient error rate. While input padding was found to lower this error rate by a factor of about 56, a rigorous 21-hour soak test still uncovered 56 incorrect permutations out of 2.7 million checked blocks, yielding an error rate of roughly 2.1 in one million.
Even more problematic were the results observed on the AMD XDNA 2 NPU. All seven cryptographic primitives tested on the XDNA 2 experienced sustained failures. Specifically, 13 out of 50 sustained runs returned incorrect blocks even after every standard exact test had successfully passed during initial evaluation.
The Wall-Plug Energy Penalty
Beyond functional exactness, O’Brien measured the energy consumption required to process each block at the mains plug. Measurements accounted for both the incremental power added over the host system’s idle draw and the whole-device power consumption, drawing comparisons against library code executed on the CPUs and GPUs of the exact same host machines.
The headline result regarding energy efficiency is overwhelmingly negative. For every cryptographic primitive evaluated, the best exact accelerator used between 15,000 and 260,000 times more added energy per block than the most efficient CPU or GPU measured in the study.
To put the disparity into perspective, executing AES-128 on the BrainChip AKD1500 consumed 0.945 millijoules per block. By comparison, executing the same algorithm on the Arm CPU cores of the exact same host machine required a mere 3.60 nanojoules per block. This massive energy penalty confirms that repurposing edge AI accelerators for symmetric cryptography is entirely unviable for performance-driven or power-sensitive cryptographic workloads.
Uncovering Five Silent Failures
Despite the poor energy efficiency and occasional computational errors, the research highlights a profound secondary value for these exact cryptographic networks: they serve as a strict, unyielding oracle for hardware and software validation. Because cryptographic outputs must be mathematically precise down to the single bit, any deviation instantly signals an underlying defect.
By deploying these exact networks, O’Brien uncovered five distinct silent failures hidden within shipped vendor toolchains and commercial silicon. Crucially, none of these five failures triggered an error message, warning, or exception from the software or hardware.
The first silent failure involved a Hailo calibration default that inherently breaks chained exact networks, resulting in 246 out of 256 SHA-3 permutations returning incorrect data across two separate cards. The second was a transient input zero-fill bug discovered on the BrainChip AKD1500. The third involved a cross-sample output fault on the AKD1500 for a specific SM4 mapping, which corrupted 1.29 percent of all processed blocks.
The fourth failure appeared on the MemryX MX3 accelerator, where a neural network passed the vendor’s software simulator cleanly but subsequently failed when executed on the physical silicon chip. The fifth and final set of silent failures occurred intermittently on the AMD XDNA 2 NPU, affecting both a finite field GF(2) workload and standard cipher runs, which collectively produced 4,618 wrong outputs out of 4.9 million checked results.
To ensure objectivity, a pre-registered test was conducted to determine whether standard wall power metrics or host telemetry could predict the errors occurring on the AKD1500. The results showed that external power monitoring could not foresee the failures, underscoring the insidious nature of these silent bugs.
Ultimately, O’Brien’s research suggests that the true value of running exact cryptographic networks on commercial edge AI accelerators does not lie in computational speed or energy efficiency. Instead, their primary utility is verification. These networks transform the nebulous question of whether an AI accelerator computed a task correctly into a binary yes-or-no question with an irrefutable, public answer, exposing flaws in modern hardware and software that traditional machine learning workloads might never bring to light.

