Completing the Chain: Verified Implementations of Hash-Based Signatures and Their Security
Verified Jasmin AMD64 implementations of XMSS and XMSS-MT, linked via EasyCrypt to RFC 8391 specs and a machine-checked security reduction.
Schemes: XMSS, XMSS-MT
Findings (quotes checked against the source text)
-
First formally verified implementation of a hash-based signature scheme linked to a machine-checked proof of security, covering XMSS and XMSS-MT in Jasmin for AMD64.
We present the first formally verified implementation of a hash-based signature scheme that is linked to a machine-checked proof of security.
-
For XMSS, the RFC 8391 specification is machine-checked to refine the abstract spec proven secure in EasyCrypt at CRYPTO'23, yielding a security reduction for the instantiation.
for XMSS, we give a machine-checked proof that our specification of RFC~8391 refines the abstract specification proven secure in EasyCrypt by Barbosa, Dupressoir, Grégoire, Hülsing, Meijers and Strub [CRYPTO'23].
-
The main technical difficulty was bridging low-level TreeHash implementations with high-level functional specifications.
The core technical challenge in our work resides in bridging low-level implementations of TreeHash algorithms with high-level functional specifications used in the pre-existing formalization.
For builders
If you ship XMSS or XMSS-MT in a chain, this paper's Jasmin/EasyCrypt artifacts are a verified reference to audit or reuse rather than writing TreeHash and signing code from scratch.
Limits
Based on the abstract only (full text not read); covers stateful hash-based XMSS/XMSS-MT on AMD64 only; no performance or side-channel results stated in the abstract.
Topics: sig-stateful sig-hash-based implementation-sidechannel cryptanalysis