logoalt Hacker News

carsonwhite060 • yesterday at 3:51 PM • 1 reply • view on HN

4.8 ms verification and ~7 KiB SRAM for FN-DSA-512 on a Pico 2 is genuinely impressive — that fits comfortably inside the boot budget of most real MCU products, and staying compatible with MCUboot's image format makes adoption much more practical than inventing a new layout.

Curious about the planned STM32H573 (ST-iROT) port: do you plan to keep verification purely in software in the bootloader stage, or offload parts like SHAKE256/hashing to hardware crypto peripherals where available?


Replies

dpeckett • yesterday at 7:43 PM

Comes down to how well the embedded rust hal's support the crypto hardware (I've been burnt badly by esp-hal in the past so I'm a little skittish).

If I implement SLH-DSA support then presumably I'll have to use the SHA accelerator at some point for acceptable performance.

FN-DSA in software is totally fine for now (but it does look like the newer STM32 variants do have SHAKE256 acceleration).

Unfortunately ST-iROT is also P-256 based so is probably cooked for now.