Streaming SPHINCS+ for Embedded Devices using the Example of TPMs
Implements SPHINCS+ hash-based signing with streamed signature input and output so memory-limited devices, such as TPMs on Cortex-M4, can sign and verify without storing whole signatures.
Schemes: SPHINCS+, TPM specification
Findings (quotes checked against the source text)
-
Streaming reduces stack requirements as well as storage of full signatures, covering key generation, signing, and verification.
This is achieved not only by removing the need to store an entire signature but also by reducing the stack requirements of the key generation, sign, and verify operations.
-
The streaming interface greatly cuts memory use with no significant performance penalty, per the authors.
Our streaming interface greatly reduces the memory requirements without introducing a significant performance penalty.
-
The authors propose a SPHINCS+ integration and a streaming extension to the TPM specification.
We demonstrate our implementation in the context of Trusted Platform Modules (TPMs) by proposing a SPHINCS+ integration and a streaming extension for the TPM specification.
-
Overhead was evaluated for standalone SPHINCS+ and for a proof-of-concept TPM on an ARM Cortex-M4.
We evaluate the overhead of our signature-streaming approach for a stand-alone SPHINCS+ implementation and for its integration in a proof-of-concept TPM with the proposed streaming extension running on an ARM Cortex-M4 platform.
-
Small devices can use all SPHINCS+ variants, including larger parameter sets, instead of being limited to the small-signature ones.
enables small embedded devices that do not have sufficient memory to store an entire SPHINCS+ signature or that previously were only able to use a parameter set that results in smaller signatures to sign and verify messages using all SPHINCS+ variants.
For builders
Streaming signature output lets memory-constrained signers such as secure elements or hardware wallets use full SPHINCS+ parameter sets, which matters if a chain relies on hash-based signing in constrained hardware.
Limits
Abstract only; the full text was not read, so no concrete size, timing, or memory figures are available. Evaluation is on a single Cortex-M4 proof-of-concept TPM, not a chain.
Topics: sig-hash-based benchmarks wallets-keys