Remix.run Logo
▲ lxgr a day ago

What hardware accelerators do you mean?

AES is often HW accelerated, and that's not at risk; the asymmetric key exchange usually happens in software these days, as far as I know, since even RSA-4096 is not that big of a deal anymore for embedded systems, and even less for anything ECDH/ECDSA.

The only embedded systems with "asymmetric crypto coprocessors" I know are smartcards, and even those are increasingly based on ARM CPUs instead of legacy 8 bit microcontrollers.

▲less_less 9 hours ago | parent | next [-]

I work in the industry. Here is my opinion.

A lot of embedded systems ship with a root-of-trust core to manage secure boot, key storage etc. (So do more powerful systems, like phones and even computers.) These cores usually have both symmetric and asymmetric crypto accelerators, often with hardening against side-channel and/or fault attacks. These are indeed increasingly, but not always, based on small-ish 32-bit CPUs (ARM, ARC, MIPS, RISC-V etc) with an arithmetic coprocessor plus AES/hashing, and some embedded systems ship such a core (or just its coprocessors) only for acceleration and not root-of-trust. When a root-of-trust is present, its crypto API is often exposed and used to offload, accelerate and protect crypto operations for the rest of the system, sort of like an HSM but not as strong/fast/fancy/expensive. For a smartphone or similarly powerful device the acceleration is irrelevant, because its processor is faster than anything but a high-end TLS termination card, but the protection might still be relevant.

Cores from the past couple years usually have post-quantum crypto support, because that's been coming for a while now. But older cores do not, and of course are also likely to be driven by a state machine, sequencer or microcontroller which cannot be updated to run postquantum crypto.

If classical asymmetric crypto ends up broken, then these older cores might become worthless. Or they might in principle be repurposed to accelerate not-currently-standard postquantum (isogenies once they're mature, or SABER using Kronecker substitution, or ThreeBears), but for legacy parts that likely won't happen.

▲bobmcnamara a day ago | parent | prev | next [-]

Asymmetric accelerators aren't required but aren't uncommon on chips targeting IoT applications

https://docs.espressif.com/projects/esp-idf/en/stable/esp32p...

https://support.arm.com/downloads/-/arm-security-algorithm-a...

▲bigfatkitten 15 hours ago | parent | prev | next [-]

> even those are increasingly based on ARM CPUs instead of legacy 8 bit microcontrollers

They are almost universally based on anaemic 16-bit CPUs like the NXP SmartMX3 or Infineon SLE78 that, among other things need to operate on an NFC power budget.

▲ACCount39 14 hours ago | parent [-]

Older chips yes. But 32 bits isn't an issue for even the NFC power budget nowadays. Newer ones can ship things like ARM SC000. It's just that there's very little reason to update your ICs in designs like this.

▲bigfatkitten 13 hours ago | parent [-]

They probably could, but they don’t. 32 bit chips are pretty well nonexistent in the PKI smart card market.

▲mosura a day ago | parent | prev [-]

Embedded ARMs are not exactly fast/efficient for pqc. Basically nothing is really.

▲lxgr a day ago | parent [-]

Good point, PQC might bring back the age of accelerators after all.

▲less_less 9 hours ago | parent [-]

Yeah, especially as conservative design is looking more critical than ever. If people pivot to SLH-DSA (the most conservative signature option), well, verification is just hundreds of hash calls, and signing requires millions of hash calls. So a hash accelerator with SLH-DSA support (without special support you become badly I/O-bound) seems in order, especially if you want to sign or if low-latency boot is important.