Is Java Card ready for hash-based signatures?
Shows the current Java Card API makes hash-based signatures slow due to call overhead, implements XMSS^MT on Java Card, and suggests platform improvements.
Schemes: XMSS^MT, Java Card
Findings (quotes checked against the source text)
-
Java Card's API overhead, not the primitives, makes hash-based signatures prohibitively slow for many applications.
the cumulative overhead of the many separate API calls results in prohibitive performance for many common applications.
-
The underlying cryptographic primitives on Java Card can be fast, via native or hardware implementations.
While the underlying implementation of the cryptographic primitives provided by the API can be fast, thanks to implementations in native code or in hardware
-
The current Java Card platform does not seem to allow fast implementations of hash-based signature schemes.
The current Java Card platform does not seem to allow for fast implementations of hash-based signature schemes.
-
The authors implement XMSS^MT on the current Java Card platform and propose platform improvements for future versions.
In this work, we present an implementation of XMSS$^{MT}$ on the current Java Card platform, and make suggestions how to improve this platform in future versions.
For builders
If a PQ scheme must run on a Java Card smartcard, minimize API call count, since per-call overhead rather than hash cost dominates.
Limits
Based on the abstract only; full text was not read, so no measured timings or sizes are reported here.
Topics: sig-hash-based sig-stateful benchmarks implementation-sidechannel