A new hardware device for digital signatures

The Zirah device uses noise to create random numbers for post-quantum security.

Researchers built Zirah, a hardware signer using an STM32F407 microcontroller. It aims to find where a post-quantum signing key is exposed.

The device draws random bits from a 2N3904 junction in avalanche breakdown. This process is amplified by an LM358. It uses ML-DSA-65, which is a post-quantum signature algorithm.

A hardware signer is a device that creates digital signatures. A post-quantum signing key is a piece of data used for security. Avalanche breakdown is a state used to draw random bits.

The device adds ECDSA P-256 from an ATECC608 secure element. A person must match an eight-digit digest prefix on an OLED screen and press a button. It can sign files like PDF, Office Open XML, ZIP, PNG, and JPEG.

NIST's SP 800-90B tool rejected the IID assumption for 1,000,000 raw samples. Spectral lines near 116 Hz hold about 5 % of the variance and remain unexplained.

The ATECC608 cannot store the 4,032-byte ML-DSA-65 key. On an earlier board, a debugger copied the key out before readout protection was enabled.

Key facts

  • The masked signature took a median of 157 ms at 168 MHz.
  • The device uses two-share arithmetic masking of secret-key multiplications.
  • The ML-DSA-65 key sits in ordinary flash behind readout protection.

All sections

Edition