Benchmark · Post-quantum signatures on signing-device hardware
The benchmark harness, the measurements, and this document were produced by an AI agent (Claude) at the direction of GitHub user kdmukai. The results have not been independently reviewed.
This page times post-quantum signature schemes on five boards and compares them with the hardware wallets in Blockstream's tests:
Averaged over SLH-DSA-SHA2-128s and SPHINCS+ 2^40 signing [3]; the Trezor Safe 7 row covers one scheme. The Pi Zero 2 W ran at 1 GHz [4]. The wallet figures are Blockstream's, timed differently from ours; Table 11 has the per-scheme times.
Signing with SLH-DSA-SHA2-128s, the standardized hash-based scheme that needs nothing saved between signatures:
The full results, with run counts and every measured figure, follow in section 3.
| Item | Details |
|---|---|
| Boards | Pi Zero 2 W: BCM2710A1, four Cortex-A53 cores, run in 32-bit mode, 1 GHz Pi Zero: BCM2835, one ARM1176JZF-S core, 1 GHz ESP32-P4: chip revision v3.2, two cores, 400 MHz ESP32-S3: chip revision v0.2, two cores, 240 MHz RP2350: two Arm Cortex-M33 cores, 150 MHz |
| Hash-based schemes and signature sizes | SLH-DSA-SHA2-128s: 7,856-byte signatures SPHINCS+ 2^40: 5,776 bytes SHRINCS-B and SHRINCS-L (an earlier SHRINCS design [3]), stateful: 324 and 1,092 bytes [5] SHRINCS-B and SHRINCS-L, stateless: 2,568 and 4,104 bytes XMSS 2^10: 696 bytes implementation: Blockstream's code in the Jade fork (jade-hbs @ f5c90a5e), with two build-time edits (methods page, Implementations and inputs) |
| Lattice schemes and signature sizes | ML-DSA-44, -65, and -87: 2,420, 3,309, and 4,627 bytes; mldsa-native v2.0.0, default and reduced-RAM configurations FN-DSA-512 and -1024: 666 and 1,280 bytes [6]; c-fn-dsa @ 1b858880 |
| Operations | key generation signing verification peak stack and heap |
| Settings | level 1: SHA-256 in portable C level 2: each platform's SHA-256 acceleration level 3: tuned SHA-256 code, compiler settings, and memory placement one and two cores on the Pi Zero 2 W, the ESP32 boards, and the RP2350 each platform's default safeguards |
| Board [7] | Processor | Clock | RAM |
|---|---|---|---|
| Pi Zero 2 W | BCM2710A1, four Cortex-A53 cores, run in 32-bit mode; NEON, no SHA-256 instructions | 1 GHz (cycle-counter checks: 1,000 MHz), set with force_turbo=1 [4] |
440,588 KiB visible to Linux (512 MB on the board) |
| Pi Zero | BCM2835, one ARM1176JZF-S core | 1 GHz (cycle-counter checks: 997 to 1,001 MHz), set with force_turbo=1, as in SeedSigner OS's Pi Zero image |
475,896 KiB visible to Linux |
| ESP32-P4 | ESP32-P4 (chip revision v3.2), two cores | 400 MHz | internal heap free before a job set: about 589,000 bytes at level 1 and 422,000 at level 3 |
| ESP32-S3 | ESP32-S3 (chip revision v0.2), two cores | 240 MHz | internal heap free before a job set: about 384,000 bytes at level 1 and 305,000 at level 3 |
| RP2350 | RP2350A (chip revision A2), two Arm Cortex-M33 cores used (its two Hazard3 RISC-V cores are not); one SHA-256 accelerator, shared by both cores, that cannot resume from a saved state | 150 MHz (the SDK default) | 520 KB of SRAM, no PSRAM; FreeRTOS heap free before a job set: about 394,000 bytes at levels 1 and 3; 16 MiB of QSPI flash at 50 MHz behind a 16 KB XIP cache |
| Level | Pi Zero 2 W | Pi Zero | ESP32 boards | RP2350 |
|---|---|---|---|---|
| 1, portable C | SHA-256 in plain C; gcc 13.3 -O2 | SHA-256 in plain C; gcc 13.3 -O2 | SHA-256 in plain C; ESP-IDF -O2 | SHA-256 in plain C; Pico SDK 2.3.1 -O2 |
| 2, platform acceleration | OpenSSL 3.4.1 through its public API, linked statically from the SDK; it selects its NEON SHA-256 code at run time | the system OpenSSL 3.4.1 through its public API | the SHA unit through ESP-IDF's driver functions | the SHA-256 accelerator through the SDK's hardware_sha256 driver functions |
| 3, tuned | a modified copy of OpenSSL 3.4.1's NEON SHA-256 code; a native-word-order SHA-256 API; -O3; LTO | a modified copy of OpenSSL 3.4.1's ARM assembly; a native-word-order SHA-256 API; -O3; LTO | register-level SHA unit access; hot hash-based code in IRAM; larger caches; -O3 | register-level accelerator access; hash-based and SHA-256 code in SRAM; -O3 |
Methods: the methods page.
Detail
Everything above is the summary. What follows is every measured figure with its run count and inputs, written to be checked rather than read.
Signing time at level 3 on one core, rounded to at most three significant figures. Full figures and statistics follow in sections 3.1 to 3.3; for devices short on RAM, peak stack and heap are in section 3.4.
| Scheme | Pi Zero 2 W | Pi Zero | ESP32-P4 | ESP32-S3 | RP2350 |
|---|---|---|---|---|---|
| Stateless: nothing to keep between signatures | |||||
| SLH-DSA-SHA2-128s | 2.48 s | 5.03 s | 6.20 s | 7.34 s | 9.74 s |
| SPHINCS+ 2^40 [3] | 1.93 s | 3.91 s | 4.89 s | 5.79 s | 7.71 s |
| Stateful: the device must never lose or reuse its counter | |||||
| XMSS 2^10 [13] | 2.16 s | 4.08 s | 7.20 s | 9.54 s | 12.3 s |
| Lattice (stateless) [14] | |||||
| ML-DSA-44 | 5.10 ms* | 9.15 ms* | 23.3 ms* | 40.4 ms* | 54.2 ms* |
| ML-DSA-65 | 8.12 ms* | 14.6 ms* | 36.9 ms* | 66.0 ms* | 82.8 ms* |
| ML-DSA-87 | 10.3 ms* | 18.6 ms* | 48.3 ms* | 86.9 ms* | 106 ms* |
| FN-DSA-512 [6] | 22.5 ms | 44.1 ms | 105 ms | 190 ms | 317 ms |
| FN-DSA-1024 [6] | 48.8 ms | 96.4 ms | 227 ms | 411 ms | 685 ms |
* Expected value per message: the signing time varies by message, and the figure comes from a fit over the measured messages (sections 3.1 and 3.3).
SHRINCS-B and SHRINCS-L, the earlier SHRINCS design that Blockstream timed, appear only in the detail tables.
Number format [15]: one unit per table, seconds for hash-based signing and key generation, milliseconds for verification and the lattice schemes.
The SHRINCS-B and SHRINCS-L rows time the earlier SHRINCS design in Blockstream's Jade code, not the current draft [3].
Means of n=100 runs over inputs 0 to 99 [16]. The SHRINCS-L expected value's ± is the fit's standard error, not the spread between messages: at level 3 on one core, single messages at swn=140 took 0.11 to 71 s. XMSS 2^10 has no two-core path and was run in the one-core build only, so its two-core cells read n/a.
| Operation | Level 1, one core | Level 1, two cores | Level 2, one core | Level 2, two cores | Level 3, one core | Level 3, two cores |
|---|---|---|---|---|---|---|
| Signing | ||||||
| SLH-DSA-SHA2-128s | 4.047 | 2.154 | 2.710 | 1.428 | 2.483 | 1.311 |
| SPHINCS+ 2^40 | 3.150 | 1.671 | 2.121 | 1.112 | 1.934 | 1.020 |
| SHRINCS-B, stateful | 1.207 | 0.6125 | 0.9535 | 0.4818 | 0.6559 | 0.3346 |
| SHRINCS-L, stateful, swn=140 (expected) | 17.34 ± 0.0004 | 8.744 ± 0.0003 | 14.44 ± 0.0003 | 7.241 ± 0.0006 | 9.890 ± 0.00004 | 4.992 ± 0.00009 |
| XMSS 2^10 | 3.770 | n/a | 2.891 | n/a | 2.157 | n/a |
| Key generation [17] | ||||||
| SLH-DSA-SHA2-128s | 0.5320 | 0.2784 | 0.3506 | 0.1905 | 0.3225 | 0.1712 |
| SPHINCS+ 2^40 | 0.5320 | 0.2785 | 0.3506 | 0.1904 | 0.3228 | 0.1708 |
| SHRINCS-B | 1.205 | 0.6066 | 0.9393 | 0.4781 | 0.6558 | 0.3343 |
| SHRINCS-L | 0.1086 | 0.06043 | 0.08669 | 0.04661 | 0.05955 | 0.03371 |
| XMSS 2^10 | 3.767 | n/a | 2.903 | n/a | 2.154 | n/a |
Means of n=100 runs over inputs 0 to 99 [16] [18]. The SHRINCS-L expected value's ± is the fit's standard error, not the spread between messages: at level 3 on one core, single messages at swn=140 took 0.22 to 140 s.
| Operation | Level 1 | Level 2 | Level 3 |
|---|---|---|---|
| Signing | |||
| SLH-DSA-SHA2-128s | 6.546 | 5.79 | 5.030 |
| SPHINCS+ 2^40 | 5.094 | 4.504 | 3.912 |
| SHRINCS-B, stateful | 1.881 | 1.759 | 1.271 |
| SHRINCS-L, stateful, swn=140 (expected) | 27.04 ± 0.003 | 25.44 ± 0.003 | 19.81 ± 0.003 |
| XMSS 2^10 | 5.924 | 5.547 | 4.081 |
| Key generation [17] | |||
| SLH-DSA-SHA2-128s | 0.8514 | 0.7515 | 0.6553 |
| SPHINCS+ 2^40 | 0.8518 | 0.7513 | 0.6555 |
| SHRINCS-B | 1.886 | 1.762 | 1.275 |
| SHRINCS-L | 0.1695 | 0.1596 | 0.1149 |
| XMSS 2^10 | 5.919 | 5.716 | 4.081 |
Means of n=10 runs over inputs 0 to 9. The SHRINCS-L expected value's ± is the fit's standard error, not the spread between messages: at level 3 on one core, single messages at swn=140 took 1.7 to 25 s. XMSS 2^10 has no two-core path: its two-core cells time it on one core of the two-core build.
| Operation | Level 1, one core | Level 1, two cores | Level 2, one core | Level 2, two cores | Level 3, one core | Level 3, two cores |
|---|---|---|---|---|---|---|
| Signing | ||||||
| SLH-DSA-SHA2-128s | 24.56 | 12.89 | 8.195 | 6.501 | 6.198 | 5.204 |
| SPHINCS+ 2^40 | 19.02 | 9.946 | 6.424 | 5.107 | 4.886 | 4.174 |
| SHRINCS-B, stateful | 7.056 | 3.634 | 2.772 | 2.269 | 2.081 | 1.721 |
| SHRINCS-L, stateful, swn=140 (expected) | 86.45 ± 0.003 | 43.80 ± 0.004 | 40.67 ± 0.002 | 27.67 ± 0.003 | 31.28 ± 0.002 | 22.78 ± 0.005 |
| XMSS 2^10 | 21.24 | 21.14 | 8.535 | 8.534 | 7.201 | 7.201 |
| Key generation | ||||||
| SLH-DSA-SHA2-128s | 3.215 | 1.692 | 1.057 | 0.8440 | 0.7940 | 0.6601 |
| SPHINCS+ 2^40 | 3.215 | 1.692 | 1.057 | 0.8441 | 0.7939 | 0.6601 |
| SHRINCS-B | 7.074 | 3.632 | 2.775 | 2.275 | 2.086 | 1.725 |
| SHRINCS-L | 0.6445 | 0.3457 | 0.2555 | 0.1962 | 0.1983 | 0.1643 |
| XMSS 2^10 | 21.23 | 21.12 | 8.530 | 8.529 | 7.197 | 7.199 |
As Table 5. The SHRINCS-L expected value's ± is the fit's standard error, not the spread between messages: at level 3 on one core, single messages at swn=140 took 2.4 to 37 s.
| Operation | Level 1, one core | Level 1, two cores | Level 2, one core | Level 2, two cores | Level 3, one core | Level 3, two cores |
|---|---|---|---|---|---|---|
| Signing | ||||||
| SLH-DSA-SHA2-128s | 38.37 | 26.09 | 10.10 | 9.198 | 7.337 | 6.861 |
| SPHINCS+ 2^40 | 29.68 | 20.13 | 7.926 | 7.359 | 5.794 | 5.320 |
| SHRINCS-B, stateful | 11.09 | 7.261 | 3.767 | 3.193 | 2.562 | 2.091 |
| SHRINCS-L, stateful, swn=140 (expected) | 139.1 ± 0.002 | 91.55 ± 0.006 | 60.05 ± 0.002 | 50.34 ± 0.002 | 45.65 ± 0.0005 | 34.85 ± 0.006 |
| XMSS 2^10 | 33.74 | 33.74 | 12.66 | 12.66 | 9.541 | 9.541 |
| Key generation | ||||||
| SLH-DSA-SHA2-128s | 5.029 | 3.426 | 1.301 | 1.169 | 0.9377 | 0.8835 |
| SPHINCS+ 2^40 | 5.029 | 3.427 | 1.301 | 1.169 | 0.9377 | 0.8835 |
| SHRINCS-B | 11.11 | 7.268 | 3.771 | 3.200 | 2.562 | 2.095 |
| SHRINCS-L | 1.015 | 0.6825 | 0.3562 | 0.3130 | 0.2537 | 0.2098 |
| XMSS 2^10 | 33.72 | 33.72 | 12.65 | 12.65 | 9.536 | 9.536 |
Means of n=10 runs over inputs 0 to 9 [19] [20]. The SHRINCS-L expected value's ± is the fit's standard error, not the spread between messages: at level 3 on one core, single messages at swn=140 took 3.5 to 54 s. XMSS 2^10 has no two-core path: its two-core cells time it on one core of the two-core build.
| Operation | Level 1, one core | Level 1, two cores | Level 2, one core | Level 2, two cores | Level 3, one core | Level 3, two cores |
|---|---|---|---|---|---|---|
| Signing | ||||||
| SLH-DSA-SHA2-128s | 47.76 | 26.04 | 12.90 | 20.75 | 9.737 | 8.304 |
| SPHINCS+ 2^40 | 37.09 | 20.10 | 10.26 | 16.28 | 7.708 | 6.615 |
| SHRINCS-B, stateful | 13.80 | 7.072 | 4.633 | 6.168 | 3.561 | 3.183 |
| SHRINCS-L, stateful, swn=140 (expected) | 186.2 ± 0.02 | 100.5 ± 0.003 | 86.23 ± 0.002 | 59.07 ± 0.002 | 68.10 ± 0.002 | 48.43 ± 0.002 |
| XMSS 2^10 | 44.10 | 44.07 | 16.67 | 16.70 | 12.33 | 12.39 |
| Key generation | ||||||
| SLH-DSA-SHA2-128s | 6.229 | 3.415 | 1.635 | 2.688 | 1.242 | 1.061 |
| SPHINCS+ 2^40 | 6.229 | 3.415 | 1.635 | 2.688 | 1.241 | 1.061 |
| SHRINCS-B | 13.81 | 7.049 | 4.640 | 6.174 | 3.568 | 3.205 |
| SHRINCS-L | 1.250 | 0.6977 | 0.4155 | 0.3469 | 0.3220 | 0.2617 |
| XMSS 2^10 | 44.08 | 44.05 | 16.66 | 16.69 | 12.35 | 12.38 |
Level-1 time divided by level-3 time, one core, from Tables 3 to 7.
| Operation | Pi Zero 2 W | Pi Zero | ESP32-P4 | ESP32-S3 | RP2350 |
|---|---|---|---|---|---|
| Signing | |||||
| SLH-DSA-SHA2-128s | 1.63 | 1.30 | 3.96 | 5.23 | 4.90 |
| SPHINCS+ 2^40 | 1.63 | 1.30 | 3.89 | 5.12 | 4.81 |
| SHRINCS-B, stateful | 1.84 | 1.48 | 3.39 | 4.33 | 3.88 |
| SHRINCS-L, stateful, swn=140 (expected) | 1.75 | 1.36 | 2.76 | 3.05 | 2.73 |
| XMSS 2^10 | 1.75 | 1.45 | 2.95 | 3.54 | 3.58 |
| Key generation | |||||
| SLH-DSA-SHA2-128s | 1.65 | 1.30 | 4.05 | 5.36 | 5.02 |
| SPHINCS+ 2^40 | 1.65 | 1.30 | 4.05 | 5.36 | 5.02 |
| SHRINCS-B | 1.84 | 1.48 | 3.39 | 4.34 | 3.87 |
| SHRINCS-L | 1.82 | 1.48 | 3.25 | 4.00 | 3.88 |
| XMSS 2^10 | 1.75 | 1.45 | 2.95 | 3.54 | 3.57 |
Stateless signing in the earlier SHRINCS design (PORS+FP), expected value per message ±
its standard error (seconds), from a fit over messages 0 to 9 (n=10) [21] [22]. The ±
covers the fit only, not the spread between messages: single messages took 0.34 to 1.6
times the expected value. The larger standard errors of two-core SHRINCS-B (the Pi Zero 2
W at levels 2 and 3 and the RP2350 at level 2) come from the fit: the few WOTS+C attempts
at swn=2040 are split between the cores by counter parity, and over these messages the two
per-core counts vary too little to fix their terms. Fit coefficients:
results/derived/stateless_fit.csv.
| Board, cores | SHRINCS-B, level 1 | SHRINCS-B, level 2 | SHRINCS-B, level 3 | SHRINCS-L, level 1 | SHRINCS-L, level 2 | SHRINCS-L, level 3 |
|---|---|---|---|---|---|---|
| Pi Zero 2 W, one core | 193.7 ± 0.003 | 152.2 ± 0.007 | 111.0 ± 0.002 | 130.7 ± 0.006 | 104.9 ± 0.01 | 77.52 ± 0.002 |
| Pi Zero 2 W, two cores | 142.7 ± 0.01 | 112 ± 2 | 83 ± 2 | 110.4 ± 0.006 | 87.78 ± 0.01 | 67.71 ± 0.02 |
| Pi Zero, one core | 300.0 ± 0.03 | 280.0 ± 0.02 | 209.3 ± 0.07 | 201.1 ± 0.03 | 188.3 ± 0.02 | 145.9 ± 0.06 |
| ESP32-P4, one core | 1,099 ± 0.02 | 450.4 ± 0.2 | 356.0 ± 0.009 | 699.7 ± 0.02 | 307.1 ± 0.03 | 250.5 ± 0.004 |
| ESP32-P4, two cores | 803.4 ± 0.04 | 406.6 ± 0.03 | 324.9 ± 0.02 | 598.6 ± 0.09 | 277.6 ± 0.08 | 231.3 ± 0.008 |
| ESP32-S3, one core | 1,734 ± 0.002 | 625.2 ± 0.002 | 458.3 ± 0.002 | 1,115 ± 0.008 | 441.3 ± 0.009 | 343.8 ± 0.01 |
| ESP32-S3, two cores | 1,402 ± 0.03 | 575.8 ± 0.001 | 417.9 ± 0.002 | 998.8 ± 0.01 | 419.2 ± 0.009 | 319.4 ± 0.01 |
| RP2350, one core | 2,179 ± 0.004 | 853.6 ± 0.004 | 639.1 ± 0.02 | 1,437 ± 0.08 | 659.7 ± 0.02 | 485.2 ± 0.03 |
| RP2350, two cores | n/a | 1,005 ± 5 | 598.3 ± 0.04 | n/a | 583.0 ± 0.02 | 442.4 ± 0.005 |
Level 3 on one core, as Jade's release signs, against Blockstream's published figures
(seconds), which time each wallet's own firmware on the host over USB [23] [24] [25].
Blockstream's figures, transcribed:
results/published/blockstream_2026-08-19.csv.
| Operation | Pi Zero 2 W | Pi Zero | ESP32-P4 | ESP32-S3 | RP2350 | Jade Plus | Trezor Safe 3/5/7 [26] | Ledger Nano gen5/S+ | BitBox02 Nova |
|---|---|---|---|---|---|---|---|---|---|
| SLH-DSA-SHA2-128s sign | 2.483 | 5.030 | 6.198 | 7.337 | 9.737 | 52.85 | 65.31 | 120.12 | 100.1 |
| SPHINCS+ 2^40 sign | 1.934 | 3.912 | 4.886 | 5.794 | 7.708 | 43.28 | 53.45 | 94.98 | 78.4 |
| SHRINCS-B sign | 0.6559 | 1.271 | 2.081 | 2.562 | 3.561 | 21.75 | 25.82 | 41.83 | 30.9 |
| SHRINCS-L sign, swn=96 | 0.05950 | 0.1146 | 0.1984 | 0.2607 | 0.3290 | 3.31 | 3.01 | 8.04 | 5.5 |
| SHRINCS-L sign, swn=140 (expected) | 9.890 ± 0.00004 | 19.81 ± 0.003 | 31.28 ± 0.002 | 45.65 ± 0.0005 | 68.10 ± 0.002 | 225.63 | 264.74 | 572.78 | 334.6 |
| XMSS 2^10 sign | 2.157 | 4.081 | 7.201 | 9.541 | 12.33 | 57.8 | 75.63 | 118.2 | 79.6 |
| SLH-DSA-SHA2-128s keygen | 0.3225 | 0.6553 | 0.7940 | 0.9377 | 1.242 | 7.06 | 8.64 | 15.82 | 12.7 |
| SPHINCS+ 2^40 keygen | 0.3228 | 0.6555 | 0.7939 | 0.9377 | 1.241 | 7.06 | 8.64 | 15.82 | 12.7 |
| SHRINCS-L keygen | 0.05955 | 0.1149 | 0.1983 | 0.2537 | 0.3220 | 1.81 | 2.35 | 6.1 | 3.3 |
| SHRINCS-B keygen | 0.6558 | 1.275 | 2.086 | 2.562 | 3.568 | 18.87 | 22.8 | 40.18 | 28.8 |
| XMSS 2^10 keygen | 2.154 | 4.081 | 7.197 | 9.536 | 12.35 | 57.78 | 75.64 | 117.85 | 79.5 |
How long each device takes to sign, for four schemes: our boards, and every device in the other published reports we found. The sources used different code and timing methods, so the comparison is approximate [27].
| Device | Chip and clock [28] | SLH-DSA-SHA2-128s | SPHINCS+ 2^40 | ML-DSA-44 | FN-DSA-512 | Source |
|---|---|---|---|---|---|---|
| Pi Zero 2 W | Cortex-A53, 1 GHz | 2.5 s | 1.9 s | 5.1 ms | 23 ms | this report |
| Pi Zero | ARM1176, 1 GHz | 5.0 s | 3.9 s | 9.2 ms | 44 ms | this report |
| ESP32-P4 | ESP32-P4, 400 MHz | 6.2 s | 4.9 s | 23 ms | 100 ms | this report |
| ESP32-S3 | ESP32-S3, 240 MHz | 7.3 s | 5.8 s | 40 ms | 190 ms | this report |
| RP2350 | Cortex-M33, 150 MHz | 9.7 s | 7.7 s | 54 ms | 320 ms | this report |
| Trezor Safe 7, developer experiment with the hash unit [2] | STM32U5G9 (Cortex-M33), 160 MHz | 20 s | – | – | – | trezor-firmware issue #6835 and branch notes |
| Jade Plus | ESP32-S3, 240 MHz | 53 s | 43 s | – | – | Blockstream, 2026-08-19 |
| Trezor Model T [29] | STM32F427 (Cortex-M4F), 180 MHz | 75 s | – | 78 ms | 510 ms | trezor-firmware PR #4901 and gist, 2025-04 |
| Trezor Safe 3/5/7 | STM32F427, 180 MHz, or STM32U585 or STM32U5G9, 160 MHz | 65 s | 53 s | – | – | Blockstream, 2026-08-19 |
| BitBox02 Nova | ATSAMD51J20A (Cortex-M4F), 120 MHz | 100 s | 78 s | – | – | Blockstream, 2026-08-19 |
| Ledger Nano gen5/S+ | ST33K1M5 secure element, 70 or 75 MHz | 120 s | 95 s | – | – | Blockstream, 2026-08-19 |
| Not named in the post [30] | not stated | – | – | 1,100 ms | 840 ms | Ledger Donjon, 2026-02-26 |
| NUCLEO-L4R5ZI | Cortex-M4, 20 MHz | 380 s | – | 370 ms | – | pqm4, derived [31] |
docs/other-devices-hash-hardware.md).Verification by level on the Pi Zero 2 W and Pi Zero, one core (milliseconds): means over host-made signatures, n=100 [32]. Lattice verification is in Tables 13a and 13b.
| Operation | Pi Zero 2 W, level 1 | Pi Zero 2 W, level 2 | Pi Zero 2 W, level 3 | Pi Zero, level 1 | Pi Zero, level 2 | Pi Zero, level 3 |
|---|---|---|---|---|---|---|
| SLH-DSA-SHA2-128s | 4.10 | 2.734 | 2.493 | 6.68 | 5.92 | 5.10 |
| SPHINCS+ 2^40 | 2.96 | 1.970 | 1.792 | 4.74 | 4.21 | 3.75 |
| XMSS 2^10 | 2.017 | 1.555 | 1.158 | 3.191 | 2.931 | 2.196 |
| SHRINCS-B, stateful | 4.262 | 3.339 | 2.320 | 6.75 | 6.236 | 4.510 |
| SHRINCS-B, stateless | 8.999 | 7.014 | 4.937 | 14.09 | 13.21 | 9.70 |
| SHRINCS-L, stateful | 0.166 | 0.131 | 0.092 | 0.276 | 0.263 | 0.199 |
| SHRINCS-L, stateless | 0.811 | 0.606 | 0.462 | 1.303 | 1.194 | 0.96 |
Verification by level on the microcontrollers, one core [33] (milliseconds): means over host-made signatures, n=10.
| Operation | ESP32-P4, level 1 | ESP32-P4, level 2 | ESP32-P4, level 3 | ESP32-S3, level 1 | ESP32-S3, level 2 | ESP32-S3, level 3 | RP2350, level 1 | RP2350, level 2 | RP2350, level 3 |
|---|---|---|---|---|---|---|---|---|---|
| SLH-DSA-SHA2-128s | 24.5 | 8.30 | 6.35 | 38.6 | 10.5 | 7.58 | 48.2 | 13.5 | 10.04 |
| SPHINCS+ 2^40 | 17.5 | 5.94 | 4.57 | 27.8 | 7.65 | 5.45 | 34.7 | 9.8 | 7.23 |
| XMSS 2^10 | 11.36 | 4.63 | 3.850 | 18.37 | 7.020 | 5.112 | 23.80 | 9.29 | 6.65 |
| SHRINCS-B, stateful | 24.90 | 9.80 | 7.373 | 39.46 | 13.43 | 9.027 | 49.10 | 16.69 | 12.87 |
| SHRINCS-B, stateless | 52.65 | 20.66 | 15.71 | 83.25 | 28.30 | 19.24 | 104.7 | 36.01 | 26.52 |
| SHRINCS-L, stateful | 1.03 | 0.44 | 0.337 | 1.874 | 0.752 | 0.452 | 2.25 | 0.85 | 0.537 |
| SHRINCS-L, stateless | 4.81 | 1.92 | 1.621 | 8.02 | 2.894 | 2.080 | 11.76 | 3.37 | 2.29 |
Lattice key generation, signing, and verification at levels 1 and 3, one core (milliseconds): means over inputs 0 to 99 (n=100), and ML-DSA signing as the expected value per message ± its standard error (the fit's, not the spread between messages, which follows the attempt count), with the per-attempt time [34] [35] [6] [36].
| Operation | Pi Zero 2 W, level 1 | Pi Zero 2 W, level 3 | Pi Zero, level 1 | Pi Zero, level 3 |
|---|---|---|---|---|
| ML-DSA-44 keygen | 1.582 | 1.511 | 2.761 | 2.692 |
| ML-DSA-44 sign (expected) | 5.24 ± 0.03 | 5.10 ± 0.03 | 8.97 ± 0.04 | 9.15 ± 0.09 |
| ML-DSA-44 sign, per attempt | 0.835 ± 0.007 | 0.815 ± 0.007 | 1.41 ± 0.01 | 1.49 ± 0.03 |
| ML-DSA-44 verify | 1.671 | 1.599 | 2.861 | 2.792 |
| ML-DSA-65 keygen | 2.744 | 2.598 | 4.87 | 4.568 |
| ML-DSA-65 sign (expected) | 8.37 ± 0.03 | 8.12 ± 0.03 | 14.68 ± 0.1 | 14.59 ± 0.08 |
| ML-DSA-65 sign, per attempt | 1.095 ± 0.007 | 1.062 ± 0.007 | 1.93 ± 0.02 | 1.91 ± 0.02 |
| ML-DSA-65 verify | 2.757 | 2.628 | 4.82 | 4.63 |
| ML-DSA-87 keygen | 4.644 | 4.405 | 8.06 | 7.92 |
| ML-DSA-87 sign (expected) | 10.86 ± 0.04 | 10.31 ± 0.04 | 19.06 ± 0.07 | 18.64 ± 0.07 |
| ML-DSA-87 sign, per attempt | 1.64 ± 0.01 | 1.54 ± 0.01 | 2.91 ± 0.02 | 2.84 ± 0.02 |
| ML-DSA-87 verify | 4.697 | 4.452 | 8.072 | 7.94 |
| ML-DSA-44, reduced RAM keygen | 1.570 | 1.548 | 2.693 | 2.699 |
| ML-DSA-44, reduced RAM sign (expected) | 9.63 ± 0.05 | 9.89 ± 0.06 | 16.0 ± 0.1 | 16.8 ± 0.1 |
| ML-DSA-44, reduced RAM sign, per attempt | 2.07 ± 0.02 | 2.12 ± 0.02 | 3.48 ± 0.03 | 3.63 ± 0.03 |
| ML-DSA-44, reduced RAM verify | 1.648 | 1.628 | 2.786 | 2.806 |
| ML-DSA-65, reduced RAM keygen | 2.714 | 2.675 | 4.605 | 4.576 |
| ML-DSA-65, reduced RAM sign (expected) | 17.47 ± 0.06 | 17.15 ± 0.06 | 29.2 ± 0.1 | 29.3 ± 0.2 |
| ML-DSA-65, reduced RAM sign, per attempt | 3.23 ± 0.01 | 3.17 ± 0.01 | 5.35 ± 0.03 | 5.37 ± 0.04 |
| ML-DSA-65, reduced RAM verify | 2.711 | 2.687 | 4.585 | 4.595 |
| ML-DSA-87, reduced RAM keygen | 4.599 | 4.511 | 7.97 | 7.764 |
| ML-DSA-87, reduced RAM sign (expected) | 22.16 ± 0.08 | 21.73 ± 0.08 | 37.2 ± 0.2 | 36.9 ± 0.2 |
| ML-DSA-87, reduced RAM sign, per attempt | 5.46 ± 0.02 | 5.35 ± 0.02 | 9.17 ± 0.05 | 9.10 ± 0.05 |
| ML-DSA-87, reduced RAM verify | 4.612 | 4.555 | 7.93 | 7.79 |
| FN-DSA-512 keygen | 45 | 44 | 76 | 75 |
| FN-DSA-512 sign | 22.98 | 22.53 | 44.2 | 44.1 |
| FN-DSA-512 verify | 0.394 | 0.338 | 0.74 | 0.712 |
| FN-DSA-1024 keygen | 192 | 189 | 320 | 320 |
| FN-DSA-1024 sign | 49.71 | 48.76 | 96.3 | 96.4 |
| FN-DSA-1024 verify | 0.775 | 0.648 | 1.405 | 1.388 |
| Operation | ESP32-P4, level 1 | ESP32-P4, level 3 | ESP32-S3, level 1 | ESP32-S3, level 3 | RP2350, level 1 | RP2350, level 3 |
|---|---|---|---|---|---|---|
| ML-DSA-44 keygen | 7.553 | 7.30 | 14.77 | 14.01 | 17.63 | 16.85 |
| ML-DSA-44 sign (expected) | 23.8 ± 0.1 | 23.3 ± 0.1 | 40.8 ± 0.1 | 40.4 ± 0.1 | 53.6 ± 0.2 | 54.2 ± 0.2 |
| ML-DSA-44 sign, per attempt | 3.75 ± 0.03 | 3.67 ± 0.03 | 6.25 ± 0.04 | 6.27 ± 0.04 | 8.38 ± 0.07 | 8.48 ± 0.07 |
| ML-DSA-44 verify | 7.791 | 7.610 | 14.77 | 14.24 | 18.00 | 17.27 |
| ML-DSA-65 keygen | 13.03 | 12.60 | 25.20 | 24.58 | 29.89 | 28.36 |
| ML-DSA-65 sign (expected) | 37.7 ± 0.1 | 36.9 ± 0.1 | 63.2 ± 0.2 | 66.0 ± 0.2 | 83.9 ± 0.3 | 82.8 ± 0.3 |
| ML-DSA-65 sign, per attempt | 4.85 ± 0.03 | 4.72 ± 0.03 | 7.76 ± 0.04 | 8.34 ± 0.04 | 10.64 ± 0.07 | 10.60 ± 0.07 |
| ML-DSA-65 verify | 12.98 | 12.68 | 24.38 | 24.12 | 29.71 | 28.51 |
| ML-DSA-87 keygen | 22.18 | 21.38 | 42.52 | 41.71 | 50.51 | 47.90 |
| ML-DSA-87 sign (expected) | 49.4 ± 0.2 | 48.3 ± 0.2 | 84.7 ± 0.2 | 86.9 ± 0.2 | 109.1 ± 0.4 | 105.8 ± 0.4 |
| ML-DSA-87 sign, per attempt | 7.24 ± 0.05 | 7.05 ± 0.05 | 11.72 ± 0.07 | 12.40 ± 0.07 | 15.7 ± 0.1 | 15.2 ± 0.1 |
| ML-DSA-87 verify | 22.11 | 21.37 | 41.51 | 40.80 | 50.16 | 47.99 |
| ML-DSA-44, reduced RAM keygen | 7.598 | 7.55 | 14.59 | 14.14 | 17.47 | 17.42 |
| ML-DSA-44, reduced RAM sign (expected) | 45.4 ± 0.2 | 45.2 ± 0.2 | 80.6 ± 0.3 | 80.1 ± 0.3 | 99.3 ± 0.5 | 102.0 ± 0.5 |
| ML-DSA-44, reduced RAM sign, per attempt | 9.84 ± 0.07 | 9.77 ± 0.07 | 17.48 ± 0.1 | 17.4 ± 0.1 | 21.4 ± 0.1 | 21.9 ± 0.2 |
| ML-DSA-44, reduced RAM verify | 7.822 | 7.838 | 14.68 | 14.16 | 17.82 | 17.79 |
| ML-DSA-65, reduced RAM keygen | 13.15 | 13.06 | 24.93 | 24.59 | 29.44 | 29.31 |
| ML-DSA-65, reduced RAM sign (expected) | 83.5 ± 0.3 | 83.0 ± 0.3 | 148.4 ± 0.4 | 147.1 ± 0.4 | 181.7 ± 0.6 | 182.4 ± 0.6 |
| ML-DSA-65, reduced RAM sign, per attempt | 15.51 ± 0.06 | 15.41 ± 0.06 | 27.69 ± 0.09 | 27.50 ± 0.09 | 33.7 ± 0.1 | 33.7 ± 0.1 |
| ML-DSA-65, reduced RAM verify | 13.10 | 13.07 | 24.17 | 23.69 | 29.37 | 29.25 |
| ML-DSA-87, reduced RAM keygen | 22.41 | 22.26 | 42.20 | 41.67 | 49.60 | 49.78 |
| ML-DSA-87, reduced RAM sign (expected) | 106.4 ± 0.4 | 105.8 ± 0.4 | 190.4 ± 0.5 | 189.0 ± 0.5 | 230.8 ± 0.8 | 230.1 ± 0.8 |
| ML-DSA-87, reduced RAM sign, per attempt | 26.3 ± 0.1 | 26.2 ± 0.1 | 47.3 ± 0.2 | 47.0 ± 0.2 | 57.0 ± 0.2 | 56.8 ± 0.2 |
| ML-DSA-87, reduced RAM verify | 22.35 | 22.28 | 41.22 | 40.55 | 49.05 | 49.34 |
| FN-DSA-512 keygen | 160 | 156 | 350 | 340 | 470 | 450 |
| FN-DSA-512 sign | 104.6 | 104.7 | 191.0 | 190.3 | 313.6 | 317.4 |
| FN-DSA-512 verify | 1.481 | 1.486 | 3.250 | 2.821 | 4.753 | 4.627 |
| FN-DSA-1024 keygen | 670 | 660 | 1,460 | 1,420 | 1,930 | 1,860 |
| FN-DSA-1024 sign | 226.4 | 226.7 | 412.3 | 411.3 | 678.3 | 685.2 |
| FN-DSA-1024 verify | 2.921 | 2.922 | 5.867 | 5.477 | 9.10 | 8.95 |
FN-DSA key generation over seeds 0 to 99, one core (milliseconds): n=100 [37].
| Board, level | FN-DSA-512 mean | FN-DSA-512 median | FN-DSA-512 minimum | FN-DSA-512 maximum | FN-DSA-1024 mean | FN-DSA-1024 median | FN-DSA-1024 minimum | FN-DSA-1024 maximum |
|---|---|---|---|---|---|---|---|---|
| Pi Zero 2 W, level 1 | 45 | 39.97 | 33.67 | 93.27 | 192 | 173.7 | 113.1 | 470.0 |
| Pi Zero 2 W, level 3 | 44 | 39.08 | 33.79 | 86.02 | 189 | 169.6 | 114.3 | 456.9 |
| Pi Zero, level 1 | 76 | 67.46 | 55.93 | 156.8 | 320 | 294.9 | 187.1 | 793.0 |
| Pi Zero, level 3 | 75 | 67.69 | 56.15 | 150.8 | 320 | 292.0 | 188.9 | 796.5 |
| ESP32-P4, level 1 | 160 | 142.2 | 118.0 | 339.4 | 670 | 607.2 | 388.8 | 1,659 |
| ESP32-P4, level 3 | 156 | 138.8 | 115.5 | 327.7 | 660 | 592.3 | 379.8 | 1,618 |
| ESP32-S3, level 1 | 350 | 307.3 | 255.7 | 722.8 | 1,460 | 1,319 | 836.6 | 3,600 |
| ESP32-S3, level 3 | 340 | 300.0 | 249.2 | 703.6 | 1,420 | 1,283 | 811.7 | 3,496 |
| RP2350, level 1 | 470 | 415.8 | 343.2 | 1,003 | 1,930 | 1,754 | 1,104 | 4,816 |
| RP2350, level 3 | 450 | 401.0 | 331.1 | 947.0 | 1,860 | 1,694 | 1,065 | 4,628 |
Reduced RAM against default, ML-DSA signing at level 3, one core: the reduced-RAM configuration's peak stack (Tables 17a and 17b) and expected signing time (Tables 13a and 13b) divided by the default configuration's.
| Parameter set | Pi Zero 2 W, peak stack | Pi Zero 2 W, expected signing time | Pi Zero, peak stack | Pi Zero, expected signing time |
|---|---|---|---|---|
| ML-DSA-44 | 0.290 | 1.94 | 0.290 | 1.84 |
| ML-DSA-65 | 0.253 | 2.11 | 0.252 | 2.01 |
| ML-DSA-87 | 0.202 | 2.11 | 0.202 | 1.98 |
| Parameter set | ESP32-P4, peak stack | ESP32-P4, expected signing time | ESP32-S3, peak stack | ESP32-S3, expected signing time | RP2350, peak stack | RP2350, expected signing time |
|---|---|---|---|---|---|---|
| ML-DSA-44 | 0.292 | 1.94 | 0.298 | 1.99 | 0.291 | 1.88 |
| ML-DSA-65 | 0.249 | 2.25 | 0.254 | 2.23 | 0.249 | 2.20 |
| ML-DSA-87 | 0.203 | 2.19 | 0.206 | 2.17 | 0.202 | 2.17 |
Lattice level-1 time divided by level-3 time, one core, from Tables 13a and 13b [38].
| Operation | Pi Zero 2 W | Pi Zero | ESP32-P4 | ESP32-S3 | RP2350 |
|---|---|---|---|---|---|
| ML-DSA-44 keygen | 1.05 | 1.03 | 1.03 | 1.05 | 1.05 |
| ML-DSA-44 sign (expected) | 1.03 | 0.981 | 1.02 | 1.01 | 0.990 |
| ML-DSA-44 verify | 1.04 | 1.02 | 1.02 | 1.04 | 1.04 |
| ML-DSA-65 keygen | 1.06 | 1.07 | 1.03 | 1.03 | 1.05 |
| ML-DSA-65 sign (expected) | 1.03 | 1.01 | 1.02 | 0.958 | 1.01 |
| ML-DSA-65 verify | 1.05 | 1.04 | 1.02 | 1.01 | 1.04 |
| ML-DSA-87 keygen | 1.05 | 1.02 | 1.04 | 1.02 | 1.05 |
| ML-DSA-87 sign (expected) | 1.05 | 1.02 | 1.02 | 0.975 | 1.03 |
| ML-DSA-87 verify | 1.06 | 1.02 | 1.03 | 1.02 | 1.05 |
| ML-DSA-44, reduced RAM keygen | 1.01 | 0.998 | 1.01 | 1.03 | 1.00 |
| ML-DSA-44, reduced RAM sign (expected) | 0.974 | 0.954 | 1.01 | 1.01 | 0.973 |
| ML-DSA-44, reduced RAM verify | 1.01 | 0.993 | 0.998 | 1.04 | 1.00 |
| ML-DSA-65, reduced RAM keygen | 1.01 | 1.01 | 1.01 | 1.01 | 1.00 |
| ML-DSA-65, reduced RAM sign (expected) | 1.02 | 0.997 | 1.01 | 1.01 | 0.996 |
| ML-DSA-65, reduced RAM verify | 1.01 | 0.998 | 1.00 | 1.02 | 1.00 |
| ML-DSA-87, reduced RAM keygen | 1.02 | 1.03 | 1.01 | 1.01 | 0.996 |
| ML-DSA-87, reduced RAM sign (expected) | 1.02 | 1.01 | 1.01 | 1.01 | 1.00 |
| ML-DSA-87, reduced RAM verify | 1.01 | 1.02 | 1.00 | 1.02 | 0.994 |
| FN-DSA-512 keygen | 1.02 | 1.01 | 1.03 | 1.03 | 1.04 |
| FN-DSA-512 sign | 1.02 | 1.00 | 0.999 | 1.00 | 0.988 |
| FN-DSA-512 verify | 1.17 | 1.04 | 0.997 | 1.15 | 1.03 |
| FN-DSA-1024 keygen | 1.02 | 1.00 | 1.03 | 1.03 | 1.04 |
| FN-DSA-1024 sign | 1.02 | 0.999 | 0.998 | 1.00 | 0.990 |
| FN-DSA-1024 verify | 1.20 | 1.01 | 1.00 | 1.07 | 1.02 |
Peak stack and heap per operation at level 3, one core unless stated (bytes) [39] [40]. The Pi boards' memory builds ran on one core only, so their tables have no two-core rows.
| Operation | Pi Zero 2 W stack | Pi Zero 2 W heap | Pi Zero stack | Pi Zero heap |
|---|---|---|---|---|
| Hash-based | ||||
| SLH-DSA-SHA2-128s keygen | 4,739 | 8,208 | 4,707 | 8,208 |
| SLH-DSA-SHA2-128s sign | 5,523 | 7,856 | 5,475 | 7,856 |
| SLH-DSA-SHA2-128s verify | 4,099 | 7,856 | 4,075 | 7,856 |
| SPHINCS+ 2^40 keygen | 4,739 | 8,208 | 4,707 | 8,208 |
| SPHINCS+ 2^40 sign | 5,523 | 5,776 | 5,475 | 5,776 |
| SPHINCS+ 2^40 verify | 4,099 | 5,776 | 4,075 | 5,776 |
| SHRINCS-B keygen | 1,707 | 2,288 | 1,695 | 2,288 |
| SHRINCS-B sign, stateful | 2,515 | 324 | 2,507 | 324 |
| SHRINCS-B verify, stateful | 2,523 | 324 | 2,551 | 324 |
| SHRINCS-B sign, stateless | 7,539 | 2,568 | 7,675 | 2,568 |
| SHRINCS-B verify, stateless | 3,347 | 2,568 | 3,315 | 2,568 |
| SHRINCS-L keygen | 2,291 | 3,056 | 2,251 | 3,056 |
| SHRINCS-L sign, stateful, swn=140 | 2,819 | 1,092 | 2,763 | 1,092 |
| SHRINCS-L verify, stateful | 3,027 | 1,092 | 2,995 | 1,092 |
| SHRINCS-L sign, stateless | 8,259 | 4,104 | 8,419 | 4,104 |
| SHRINCS-L verify, stateless | 3,971 | 4,104 | 3,947 | 4,104 |
| XMSS 2^10 keygen | 2,883 | 108 | 2,811 | 108 |
| XMSS 2^10 sign | 2,819 | 1,424 | 2,747 | 1,424 |
| XMSS 2^10 verify | 2,499 | 2,184 | 2,419 | 2,184 |
| Lattice | ||||
| ML-DSA-44 keygen | 32,203 | 3,872 | 32,219 | 3,872 |
| ML-DSA-44 sign | 50,651 | 6,292 | 50,643 | 6,292 |
| ML-DSA-44 verify | 30,259 | 3,732 | 30,243 | 3,732 |
| ML-DSA-65 keygen | 49,611 | 5,984 | 49,627 | 5,984 |
| ML-DSA-65 sign | 74,499 | 9,293 | 74,395 | 9,293 |
| ML-DSA-65 verify | 45,667 | 5,261 | 45,659 | 5,261 |
| ML-DSA-87 keygen | 80,315 | 7,488 | 80,331 | 7,488 |
| ML-DSA-87 sign | 113,459 | 12,115 | 113,347 | 12,115 |
| ML-DSA-87 verify | 74,627 | 7,219 | 74,611 | 7,219 |
| ML-DSA-44, reduced RAM keygen | 14,155 | 3,872 | 14,139 | 3,872 |
| ML-DSA-44, reduced RAM sign | 14,675 | 6,292 | 14,691 | 6,292 |
| ML-DSA-44, reduced RAM verify | 11,475 | 3,732 | 11,483 | 3,732 |
| ML-DSA-65, reduced RAM keygen | 17,731 | 5,984 | 17,707 | 5,984 |
| ML-DSA-65, reduced RAM sign | 18,867 | 9,293 | 18,771 | 9,293 |
| ML-DSA-65, reduced RAM verify | 12,563 | 5,261 | 12,555 | 5,261 |
| ML-DSA-87, reduced RAM keygen | 21,339 | 7,488 | 21,323 | 7,488 |
| ML-DSA-87, reduced RAM sign | 22,955 | 12,115 | 22,851 | 12,115 |
| ML-DSA-87, reduced RAM verify | 14,883 | 7,219 | 14,891 | 7,219 |
| FN-DSA-512 keygen | 13,119 | 2,242 | 12,763 | 2,242 |
| FN-DSA-512 sign | 33,479 | 2,908 | 32,763 | 2,908 |
| FN-DSA-512 verify | 5,423 | 1,563 | 5,435 | 1,563 |
| FN-DSA-1024 keygen | 24,399 | 4,162 | 24,035 | 4,162 |
| FN-DSA-1024 sign | 63,815 | 5,442 | 63,091 | 5,442 |
| FN-DSA-1024 verify | 5,423 | 3,073 | 5,435 | 3,073 |
| Operation | ESP32-P4 stack | ESP32-P4 heap | ESP32-S3 stack | ESP32-S3 heap | RP2350 stack | RP2350 heap |
|---|---|---|---|---|---|---|
| Hash-based | ||||||
| SLH-DSA-SHA2-128s keygen | 4,120 | 8,728 | 4,580 | 8,724 | 3,984 | 8,216 |
| SLH-DSA-SHA2-128s sign | 4,408 | 7,960 | 4,964 | 7,956 | 4,224 | 7,864 |
| SLH-DSA-SHA2-128s verify | 4,152 | 8,056 | 4,980 | 8,052 | 4,032 | 7,864 |
| SPHINCS+ 2^40 keygen | 4,120 | 8,728 | 4,580 | 8,724 | 3,984 | 8,216 |
| SPHINCS+ 2^40 sign | 4,408 | 5,912 | 4,964 | 5,908 | 4,224 | 5,784 |
| SPHINCS+ 2^40 verify | 4,048 | 5,912 | 4,740 | 5,908 | 4,096 | 5,784 |
| SHRINCS-B keygen | 1,608 | 2,328 | 2,036 | 2,324 | 1,800 | 2,296 |
| SHRINCS-B sign, stateful | 2,008 | 360 | 2,372 | 356 | 1,872 | 336 |
| SHRINCS-B verify, stateful | 2,280 | 360 | 2,596 | 356 | 2,176 | 336 |
| SHRINCS-B sign, stateless | 10,664 | 2,808 | 11,076 | 2,804 | 10,296 | 2,576 |
| SHRINCS-B sign, stateless, two cores | 10,664 | 7,264 | 11,084 | 7,260 | 10,296 | 9,152 |
| SHRINCS-B verify, stateless | 3,120 | 2,712 | 3,460 | 2,708 | 3,048 | 2,576 |
| SHRINCS-L keygen | 2,376 | 3,096 | 2,804 | 3,092 | 2,232 | 3,064 |
| SHRINCS-L sign, stateful, swn=140 | 3,060 | 1,176 | 3,492 | 1,172 | 2,784 | 1,104 |
| SHRINCS-L verify, stateful | 3,088 | 1,272 | 3,380 | 1,268 | 2,992 | 1,104 |
| SHRINCS-L sign, stateless | 10,664 | 4,472 | 11,076 | 4,468 | 10,296 | 4,112 |
| SHRINCS-L sign, stateless, two cores | 10,664 | 8,928 | 11,084 | 8,924 | 10,296 | 10,688 |
| SHRINCS-L verify, stateless | 3,936 | 4,376 | 4,244 | 4,372 | 3,864 | 4,112 |
| XMSS 2^10 keygen | 2,344 | 136 | 2,676 | 132 | 2,224 | 128 |
| XMSS 2^10 sign | 2,264 | 1,468 | 2,644 | 1,464 | 2,144 | 1,440 |
| XMSS 2^10 verify | 1,960 | 2,244 | 2,148 | 2,240 | 1,800 | 2,216 |
| Lattice | ||||||
| ML-DSA-44 keygen | 32,408 | 3,992 | 32,916 | 3,988 | 32,384 | 3,880 |
| ML-DSA-44 sign | 50,728 | 6,368 | 51,252 | 6,364 | 50,720 | 6,320 |
| ML-DSA-44 verify | 30,344 | 3,804 | 30,916 | 3,800 | 30,344 | 3,752 |
| ML-DSA-65 keygen | 51,080 | 6,168 | 51,476 | 6,164 | 50,904 | 5,992 |
| ML-DSA-65 sign | 75,976 | 9,440 | 76,324 | 9,436 | 75,808 | 9,320 |
| ML-DSA-65 verify | 46,872 | 5,340 | 47,460 | 5,336 | 46,840 | 5,280 |
| ML-DSA-87 keygen | 80,696 | 7,704 | 81,092 | 7,700 | 80,536 | 7,496 |
| ML-DSA-87 sign | 113,560 | 12,704 | 113,956 | 12,700 | 113,448 | 12,144 |
| ML-DSA-87 verify | 74,824 | 7,580 | 75,300 | 7,576 | 74,696 | 7,240 |
| ML-DSA-44, reduced RAM keygen | 13,608 | 3,992 | 14,132 | 3,988 | 13,632 | 3,880 |
| ML-DSA-44, reduced RAM sign | 14,808 | 6,368 | 15,268 | 6,364 | 14,752 | 6,320 |
| ML-DSA-44, reduced RAM verify | 11,560 | 3,804 | 12,164 | 3,800 | 11,576 | 3,752 |
| ML-DSA-65, reduced RAM keygen | 16,760 | 6,168 | 17,204 | 6,164 | 16,664 | 5,992 |
| ML-DSA-65, reduced RAM sign | 18,936 | 9,440 | 19,396 | 9,436 | 18,864 | 9,320 |
| ML-DSA-65, reduced RAM verify | 12,616 | 5,340 | 13,108 | 5,336 | 12,528 | 5,280 |
| ML-DSA-87, reduced RAM keygen | 20,856 | 7,704 | 21,284 | 7,700 | 20,760 | 7,496 |
| ML-DSA-87, reduced RAM sign | 23,032 | 12,704 | 23,492 | 12,700 | 22,952 | 12,144 |
| ML-DSA-87, reduced RAM verify | 14,952 | 7,580 | 15,428 | 7,576 | 14,848 | 7,240 |
| FN-DSA-512 keygen | 12,472 | 2,328 | 13,108 | 2,324 | 12,432 | 2,256 |
| FN-DSA-512 sign | 32,568 | 3,040 | 33,156 | 3,036 | 32,448 | 2,952 |
| FN-DSA-512 verify | 5,204 | 1,628 | 5,684 | 1,624 | 5,168 | 1,592 |
| FN-DSA-1024 keygen | 23,736 | 4,376 | 24,372 | 4,372 | 23,696 | 4,176 |
| FN-DSA-1024 sign | 62,872 | 5,600 | 63,460 | 5,596 | 62,744 | 5,480 |
| FN-DSA-1024 verify | 5,204 | 3,164 | 5,684 | 3,160 | 5,272 | 3,096 |
Largest peak over all levels and core counts, with where it occurred (bytes; L: level, c: cores).
| Operation | Pi Zero 2 W stack (where) | Pi Zero 2 W heap (where) | Pi Zero stack (where) | Pi Zero heap (where) |
|---|---|---|---|---|
| Hash-based | ||||
| SLH-DSA-SHA2-128s keygen | 4,739 (L3) | 8,208 (L1) | 4,707 (L3) | 8,208 (L1) |
| SLH-DSA-SHA2-128s sign | 5,523 (L3) | 7,856 (L1) | 5,475 (L3) | 7,856 (L1) |
| SLH-DSA-SHA2-128s verify | 4,479 (L1) | 7,856 (L1) | 4,455 (L1) | 7,856 (L1) |
| SPHINCS+ 2^40 keygen | 4,739 (L3) | 8,208 (L1) | 4,707 (L3) | 8,208 (L1) |
| SPHINCS+ 2^40 sign | 5,523 (L3) | 5,776 (L1) | 5,475 (L3) | 5,776 (L1) |
| SPHINCS+ 2^40 verify | 4,479 (L1) | 5,776 (L1) | 4,455 (L1) | 5,776 (L1) |
| SHRINCS-B keygen | 2,171 (L2) | 2,288 (L1) | 2,163 (L2) | 2,288 (L1) |
| SHRINCS-B sign, stateful | 2,619 (L2) | 324 (L1) | 2,611 (L2) | 324 (L1) |
| SHRINCS-B verify, stateful | 3,163 (L2) | 324 (L1) | 3,147 (L2) | 324 (L1) |
| SHRINCS-B sign, stateless | 10,171 (L2) | 2,568 (L1) | 10,147 (L2) | 2,568 (L1) |
| SHRINCS-B verify, stateless | 4,043 (L2) | 2,568 (L1) | 4,027 (L2) | 2,568 (L1) |
| SHRINCS-L keygen | 2,939 (L2) | 3,056 (L1) | 2,939 (L2) | 3,056 (L1) |
| SHRINCS-L sign, stateful, swn=140 | 3,739 (L2) | 1,092 (L1) | 3,739 (L2) | 1,092 (L1) |
| SHRINCS-L verify, stateful | 3,979 (L2) | 1,092 (L1) | 3,971 (L2) | 1,092 (L1) |
| SHRINCS-L sign, stateless | 11,243 (L2) | 4,104 (L1) | 11,235 (L2) | 4,104 (L1) |
| SHRINCS-L verify, stateless | 4,859 (L2) | 4,104 (L1) | 4,851 (L2) | 4,104 (L1) |
| XMSS 2^10 keygen | 2,883 (L3) | 108 (L1) | 2,811 (L3) | 108 (L1) |
| XMSS 2^10 sign | 2,819 (L3) | 1,424 (L1) | 2,747 (L3) | 1,424 (L1) |
| XMSS 2^10 verify | 2,499 (L3) | 2,184 (L1) | 2,419 (L3) | 2,184 (L1) |
| Lattice | ||||
| ML-DSA-44 keygen | 32,323 (L1) | 3,872 (L1) | 32,323 (L1) | 3,872 (L1) |
| ML-DSA-44 sign | 51,107 (L1) | 6,292 (L1) | 50,707 (L1) | 6,292 (L1) |
| ML-DSA-44 verify | 30,347 (L1) | 3,732 (L1) | 30,307 (L1) | 3,732 (L1) |
| ML-DSA-65 keygen | 50,827 (L1) | 5,984 (L1) | 50,835 (L1) | 5,984 (L1) |
| ML-DSA-65 sign | 76,555 (L1) | 9,293 (L1) | 76,515 (L1) | 9,293 (L1) |
| ML-DSA-65 verify | 46,819 (L1) | 5,261 (L1) | 46,795 (L1) | 5,261 (L1) |
| ML-DSA-87 keygen | 80,451 (L1) | 7,488 (L1) | 80,451 (L1) | 7,488 (L1) |
| ML-DSA-87 sign | 113,459 (L3) | 12,115 (L1) | 113,403 (L1) | 12,115 (L1) |
| ML-DSA-87 verify | 74,667 (L1) | 7,219 (L1) | 74,635 (L1) | 7,219 (L1) |
| ML-DSA-44, reduced RAM keygen | 14,155 (L3) | 3,872 (L1) | 14,139 (L3) | 3,872 (L1) |
| ML-DSA-44, reduced RAM sign | 14,987 (L1) | 6,292 (L1) | 14,691 (L3) | 6,292 (L1) |
| ML-DSA-44, reduced RAM verify | 11,499 (L1) | 3,732 (L1) | 11,491 (L1) | 3,732 (L1) |
| ML-DSA-65, reduced RAM keygen | 17,731 (L3) | 5,984 (L1) | 17,707 (L3) | 5,984 (L1) |
| ML-DSA-65, reduced RAM sign | 18,867 (L3) | 9,293 (L1) | 18,771 (L3) | 9,293 (L1) |
| ML-DSA-65, reduced RAM verify | 12,563 (L3) | 5,261 (L1) | 12,555 (L3) | 5,261 (L1) |
| ML-DSA-87, reduced RAM keygen | 21,339 (L3) | 7,488 (L1) | 21,323 (L3) | 7,488 (L1) |
| ML-DSA-87, reduced RAM sign | 22,955 (L3) | 12,115 (L1) | 22,851 (L1) | 12,115 (L1) |
| ML-DSA-87, reduced RAM verify | 14,883 (L3) | 7,219 (L1) | 14,891 (L3) | 7,219 (L1) |
| FN-DSA-512 keygen | 13,119 (L3) | 2,242 (L1) | 12,763 (L3) | 2,242 (L1) |
| FN-DSA-512 sign | 33,479 (L3) | 2,908 (L1) | 32,763 (L3) | 2,908 (L1) |
| FN-DSA-512 verify | 5,423 (L3) | 1,563 (L1) | 5,435 (L3) | 1,563 (L1) |
| FN-DSA-1024 keygen | 24,399 (L3) | 4,162 (L1) | 24,035 (L3) | 4,162 (L1) |
| FN-DSA-1024 sign | 63,815 (L3) | 5,442 (L1) | 63,091 (L3) | 5,442 (L1) |
| FN-DSA-1024 verify | 5,423 (L3) | 3,073 (L1) | 5,435 (L3) | 3,073 (L1) |
| Operation | ESP32-P4 stack (where) | ESP32-P4 heap (where) | ESP32-S3 stack (where) | ESP32-S3 heap (where) | RP2350 stack (where) | RP2350 heap (where) |
|---|---|---|---|---|---|---|
| Hash-based | ||||||
| SLH-DSA-SHA2-128s keygen | 5,148 (L1, 2c) | 11,136 (L1, 2c) | 5,728 (L1, 2c) | 11,136 (L1, 2c) | 5,200 (L1, 2c) | 14,792 (L1, 2c) |
| SLH-DSA-SHA2-128s sign | 5,356 (L1, 2c) | 11,392 (L1, 2c) | 5,936 (L1, 2c) | 11,392 (L1, 2c) | 5,304 (L1, 2c) | 14,440 (L1, 2c) |
| SLH-DSA-SHA2-128s verify | 4,540 (L1, 1c) | 8,056 (L2, 1c) | 5,424 (L1, 2c) | 8,056 (L2, 1c) | 4,416 (L1, 1c) | 7,864 (L1, 1c) |
| SPHINCS+ 2^40 keygen | 5,148 (L1, 2c) | 11,136 (L1, 2c) | 5,728 (L1, 2c) | 11,136 (L1, 2c) | 5,200 (L1, 2c) | 14,792 (L1, 2c) |
| SPHINCS+ 2^40 sign | 5,356 (L1, 2c) | 9,344 (L1, 2c) | 5,936 (L1, 2c) | 9,344 (L1, 2c) | 5,304 (L1, 2c) | 12,360 (L1, 2c) |
| SPHINCS+ 2^40 verify | 4,540 (L1, 1c) | 5,912 (L1, 1c) | 5,408 (L1, 1c) | 5,912 (L1, 1c) | 4,488 (L1, 1c) | 5,784 (L1, 1c) |
| SHRINCS-B keygen | 2,284 (L1, 2c) | 4,736 (L1, 2c) | 2,896 (L1, 2c) | 4,736 (L1, 2c) | 2,312 (L1, 2c) | 8,872 (L1, 2c) |
| SHRINCS-B sign, stateful | 2,620 (L1, 2c) | 4,816 (L1, 2c) | 3,200 (L1, 2c) | 4,816 (L1, 2c) | 2,616 (L1, 2c) | 6,912 (L1, 2c) |
| SHRINCS-B verify, stateful | 2,780 (L1, 1c) | 360 (L1, 1c) | 3,232 (L1, 1c) | 360 (L1, 1c) | 2,560 (L1, 1c) | 336 (L1, 1c) |
| SHRINCS-B sign, stateless (one and two cores) | 10,664 (L3, 1c) | 7,264 (L2, 2c) | 11,084 (L3, 2c) | 7,264 (L2, 2c) | 10,296 (L3, 1c) | 9,152 (L1, 2c) |
| SHRINCS-B verify, stateless | 3,628 (L1, 1c) | 2,712 (L1, 1c) | 4,096 (L1, 1c) | 2,712 (L1, 1c) | 3,432 (L1, 1c) | 2,576 (L1, 1c) |
| SHRINCS-L keygen | 3,052 (L1, 2c) | 5,600 (L1, 2c) | 3,664 (L1, 2c) | 5,600 (L1, 2c) | 3,080 (L1, 2c) | 9,640 (L1, 2c) |
| SHRINCS-L sign, stateful, swn=140 | 3,388 (L1, 2c) | 5,632 (L1, 2c) | 3,968 (L1, 2c) | 5,632 (L1, 2c) | 3,384 (L1, 2c) | 9,728 (L1, 2c) |
| SHRINCS-L verify, stateful | 3,480 (L1, 1c) | 1,272 (L2, 1c) | 3,888 (L1, 1c) | 1,272 (L2, 1c) | 3,376 (L1, 1c) | 1,104 (L1, 1c) |
| SHRINCS-L sign, stateless (one and two cores) | 10,664 (L3, 1c) | 8,928 (L2, 2c) | 11,084 (L3, 2c) | 8,928 (L2, 2c) | 10,296 (L3, 1c) | 10,688 (L1, 2c) |
| SHRINCS-L verify, stateless | 4,460 (L1, 1c) | 4,376 (L1, 1c) | 4,928 (L1, 1c) | 4,376 (L1, 1c) | 4,248 (L1, 2c) | 4,112 (L1, 1c) |
| XMSS 2^10 keygen | 2,812 (L1, 1c) | 136 (L1, 1c) | 3,264 (L1, 1c) | 136 (L1, 1c) | 2,680 (L1, 1c) | 128 (L1, 1c) |
| XMSS 2^10 sign | 2,732 (L1, 1c) | 1,468 (L1, 1c) | 3,232 (L1, 1c) | 1,468 (L1, 1c) | 2,600 (L1, 1c) | 1,440 (L1, 1c) |
| XMSS 2^10 verify | 2,428 (L1, 1c) | 2,244 (L1, 1c) | 2,944 (L1, 1c) | 2,244 (L1, 1c) | 2,336 (L1, 1c) | 2,216 (L1, 1c) |
| Lattice | ||||||
| ML-DSA-44 keygen | 32,508 (L1, 1c) | 3,992 (L1, 1c) | 32,928 (L1, 1c) | 3,992 (L1, 1c) | 32,424 (L1, 1c) | 3,880 (L1, 1c) |
| ML-DSA-44 sign | 50,892 (L1, 1c) | 6,368 (L1, 1c) | 51,296 (L1, 1c) | 6,368 (L1, 1c) | 50,800 (L1, 1c) | 6,320 (L1, 1c) |
| ML-DSA-44 verify | 30,492 (L1, 1c) | 3,804 (L1, 1c) | 30,916 (L3, 1c) | 3,804 (L1, 1c) | 30,376 (L1, 1c) | 3,752 (L1, 1c) |
| ML-DSA-65 keygen | 51,080 (L3, 1c) | 6,168 (L1, 1c) | 51,476 (L3, 1c) | 6,168 (L1, 1c) | 50,920 (L1, 1c) | 5,992 (L1, 1c) |
| ML-DSA-65 sign | 75,980 (L1, 1c) | 9,440 (L1, 1c) | 76,336 (L1, 1c) | 9,440 (L1, 1c) | 75,856 (L1, 1c) | 9,320 (L1, 1c) |
| ML-DSA-65 verify | 47,004 (L1, 1c) | 5,340 (L1, 1c) | 47,460 (L3, 1c) | 5,340 (L1, 1c) | 46,864 (L1, 1c) | 5,280 (L1, 1c) |
| ML-DSA-87 keygen | 80,696 (L3, 1c) | 7,704 (L1, 1c) | 81,092 (L3, 1c) | 7,704 (L1, 1c) | 80,544 (L1, 1c) | 7,496 (L1, 1c) |
| ML-DSA-87 sign | 113,596 (L1, 1c) | 12,704 (L1, 1c) | 113,956 (L3, 1c) | 12,704 (L1, 1c) | 113,488 (L1, 1c) | 12,144 (L1, 1c) |
| ML-DSA-87 verify | 74,844 (L1, 1c) | 7,580 (L1, 1c) | 75,300 (L3, 1c) | 7,580 (L1, 1c) | 74,704 (L1, 1c) | 7,240 (L1, 1c) |
| ML-DSA-44, reduced RAM keygen | 13,676 (L1, 1c) | 3,992 (L1, 1c) | 14,132 (L3, 1c) | 3,992 (L1, 1c) | 13,632 (L3, 1c) | 3,880 (L1, 1c) |
| ML-DSA-44, reduced RAM sign | 14,808 (L3, 1c) | 6,368 (L1, 1c) | 15,268 (L3, 1c) | 6,368 (L1, 1c) | 14,752 (L3, 1c) | 6,320 (L1, 1c) |
| ML-DSA-44, reduced RAM verify | 11,660 (L1, 1c) | 3,804 (L1, 1c) | 12,164 (L3, 1c) | 3,804 (L1, 1c) | 11,576 (L3, 1c) | 3,752 (L1, 1c) |
| ML-DSA-65, reduced RAM keygen | 16,764 (L1, 1c) | 6,168 (L1, 1c) | 17,204 (L3, 1c) | 6,168 (L1, 1c) | 16,664 (L3, 1c) | 5,992 (L1, 1c) |
| ML-DSA-65, reduced RAM sign | 18,936 (L3, 1c) | 9,440 (L1, 1c) | 19,396 (L3, 1c) | 9,440 (L1, 1c) | 18,864 (L3, 1c) | 9,320 (L1, 1c) |
| ML-DSA-65, reduced RAM verify | 12,700 (L1, 1c) | 5,340 (L1, 1c) | 13,184 (L1, 1c) | 5,340 (L1, 1c) | 12,608 (L1, 1c) | 5,280 (L1, 1c) |
| ML-DSA-87, reduced RAM keygen | 20,860 (L1, 1c) | 7,704 (L1, 1c) | 21,284 (L3, 1c) | 7,704 (L1, 1c) | 20,760 (L1, 1c) | 7,496 (L1, 1c) |
| ML-DSA-87, reduced RAM sign | 23,032 (L3, 1c) | 12,704 (L1, 1c) | 23,492 (L3, 1c) | 12,704 (L1, 1c) | 22,952 (L3, 1c) | 12,144 (L1, 1c) |
| ML-DSA-87, reduced RAM verify | 15,020 (L1, 1c) | 7,580 (L1, 1c) | 15,504 (L1, 1c) | 7,580 (L1, 1c) | 14,928 (L1, 1c) | 7,240 (L1, 1c) |
| FN-DSA-512 keygen | 12,472 (L3, 1c) | 2,328 (L1, 1c) | 13,200 (L1, 1c) | 2,328 (L1, 1c) | 12,496 (L1, 1c) | 2,256 (L1, 1c) |
| FN-DSA-512 sign | 32,668 (L1, 1c) | 3,040 (L1, 1c) | 33,312 (L1, 1c) | 3,040 (L1, 1c) | 32,536 (L1, 1c) | 2,952 (L1, 1c) |
| FN-DSA-512 verify | 5,240 (L1, 1c) | 1,628 (L1, 1c) | 5,776 (L1, 1c) | 1,628 (L1, 1c) | 5,208 (L1, 1c) | 1,592 (L1, 1c) |
| FN-DSA-1024 keygen | 23,736 (L3, 1c) | 4,376 (L1, 1c) | 24,464 (L1, 1c) | 4,376 (L1, 1c) | 23,760 (L1, 1c) | 4,176 (L1, 1c) |
| FN-DSA-1024 sign | 62,972 (L1, 1c) | 5,600 (L1, 1c) | 63,616 (L1, 1c) | 5,600 (L1, 1c) | 62,832 (L1, 1c) | 5,480 (L1, 1c) |
| FN-DSA-1024 verify | 5,240 (L1, 1c) | 3,164 (L1, 1c) | 5,776 (L1, 1c) | 3,164 (L1, 1c) | 5,312 (L1, 1c) | 3,096 (L1, 1c) |
One-core time divided by two-core time on the boards with a second core (the Pi Zero 2 W and the microcontrollers), from Tables 3, 5, 6, 7, and 9. XMSS 2^10 has no two-core path: on the ESP32 boards and the RP2350 its row compares two builds of the same code, and the Pi Zero 2 W ran it on one core only.
| Operation | Pi Zero 2 W, level 1 | Pi Zero 2 W, level 2 | Pi Zero 2 W, level 3 |
|---|---|---|---|
| Signing | |||
| SLH-DSA-SHA2-128s | 1.88 | 1.90 | 1.89 |
| SPHINCS+ 2^40 | 1.89 | 1.91 | 1.90 |
| SHRINCS-B, stateful | 1.97 | 1.98 | 1.96 |
| SHRINCS-L, stateful, swn=140 (expected) | 1.98 | 1.99 | 1.98 |
| XMSS 2^10 | n/a | n/a | n/a |
| Key generation | |||
| SLH-DSA-SHA2-128s | 1.91 | 1.84 | 1.88 |
| SPHINCS+ 2^40 | 1.91 | 1.84 | 1.89 |
| SHRINCS-B | 1.99 | 1.96 | 1.96 |
| SHRINCS-L | 1.80 | 1.86 | 1.77 |
| XMSS 2^10 | n/a | n/a | n/a |
| Signing, stateless | |||
| SHRINCS-B, stateless (expected) | 1.36 | 1.36 | 1.35 |
| SHRINCS-L, stateless (expected) | 1.18 | 1.19 | 1.14 |
| Operation | ESP32-P4, level 1 | ESP32-P4, level 2 | ESP32-P4, level 3 | ESP32-S3, level 1 | ESP32-S3, level 2 | ESP32-S3, level 3 | RP2350, level 1 | RP2350, level 2 | RP2350, level 3 |
|---|---|---|---|---|---|---|---|---|---|
| Signing | |||||||||
| SLH-DSA-SHA2-128s | 1.91 | 1.26 | 1.19 | 1.47 | 1.10 | 1.07 | 1.83 | 0.622 | 1.17 |
| SPHINCS+ 2^40 | 1.91 | 1.26 | 1.17 | 1.47 | 1.08 | 1.09 | 1.85 | 0.630 | 1.17 |
| SHRINCS-B, stateful | 1.94 | 1.22 | 1.21 | 1.53 | 1.18 | 1.23 | 1.95 | 0.751 | 1.12 |
| SHRINCS-L, stateful, swn=140 (expected) | 1.97 | 1.47 | 1.37 | 1.52 | 1.19 | 1.31 | 1.85 | 1.46 | 1.41 |
| XMSS 2^10 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 0.998 | 0.996 |
| Key generation | |||||||||
| SLH-DSA-SHA2-128s | 1.90 | 1.25 | 1.20 | 1.47 | 1.11 | 1.06 | 1.82 | 0.608 | 1.17 |
| SPHINCS+ 2^40 | 1.90 | 1.25 | 1.20 | 1.47 | 1.11 | 1.06 | 1.82 | 0.608 | 1.17 |
| SHRINCS-B | 1.95 | 1.22 | 1.21 | 1.53 | 1.18 | 1.22 | 1.96 | 0.751 | 1.11 |
| SHRINCS-L | 1.86 | 1.30 | 1.21 | 1.49 | 1.14 | 1.21 | 1.79 | 1.20 | 1.23 |
| XMSS 2^10 | 1.01 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 0.998 | 0.997 |
| Signing, stateless | |||||||||
| SHRINCS-B, stateless (expected) | 1.37 | 1.11 | 1.10 | 1.24 | 1.09 | 1.10 | n/a | 0.850 | 1.07 |
| SHRINCS-L, stateless (expected) | 1.17 | 1.11 | 1.08 | 1.12 | 1.05 | 1.08 | n/a | 1.13 | 1.10 |
Tables 20a to 20c compare the second round's means with the first round's for the same operations (the rounds: How the runs were done on the methods page); the differences measure how well the runs repeat and correct nothing. Tables 21a, 21b, and 22 come from the first round only.
Pi Zero: second-round mean against first-round mean for the same operation, level, and runs (percent change) [41] [42] [43].
| Operation | Level 1 | Level 2 | Level 3 |
|---|---|---|---|
| SLH-DSA-SHA2-128s sign | -0.01% | +1.00% | +0.02% |
| SPHINCS+ 2^40 sign | +0.03% | +0.72% | +0.07% |
| SHRINCS-B sign | -0.24% | -0.44% | -0.84% |
| SHRINCS-L sign, swn=96 | -0.31% | -0.25% | +0.38% |
| SHRINCS-L sign, swn=140 | -0.08% | -2.61% | -0.78% |
| XMSS 2^10 sign | -0.02% | +3.62% | -1.46% |
| SLH-DSA-SHA2-128s keygen | -0.28% | +0.78% | +0.01% |
| SPHINCS+ 2^40 keygen | -0.07% | +0.69% | +0.08% |
| SHRINCS-L keygen | -0.20% | -0.06% | +0.78% |
| SHRINCS-B keygen | -0.17% | -0.54% | -0.76% |
| XMSS 2^10 keygen | -0.04% | +6.80% | -1.43% |
| SHRINCS-B self-test | -0.17% | -0.75% | -0.49% |
| SHRINCS-L self-test | +0.12% | -2.62% | -0.71% |
| XMSS 2^10 self-test | +0.06% | +3.26% | -1.29% |
Largest absolute change per column:
Every compared output equals the first round's.
The Pi Zero's level-2 build runs at a speed that depends on the process, as a layout diagnostic showed: XMSS 2^10 key generation took 5.417 to 5.615 s of CPU time in 6 processes of the same level-2 binary (3.7% apart). The first round's level-2 and level-3 binaries, run again in 6 processes each, signed XMSS 2^10 within 0.02% and less than 0.01% of their first-round mean CPU times. The second round's level-3 binary signed XMSS 2^10 in 4.0562 to 4.0576 s of CPU time in 6 processes, -1.4% against the first round's 4.1140 s, so that difference belongs to the new binary. The SDK image randomizes the address-space layout, and a 100-run job is one process, so its standard deviation leaves this component out; most of the level-2 differences above are attributed to it. The cause inside the layout (cache or TLB conflicts, for example) was not investigated.
ESP32-P4, as Table 20a, per level and core count (percent change) [44].
| Operation | Level 1, one core | Level 1, two cores | Level 2, one core | Level 2, two cores | Level 3, one core | Level 3, two cores |
|---|---|---|---|---|---|---|
| SLH-DSA-SHA2-128s sign | -0.12% | -0.11% | -0.13% | -0.05% | -0.17% | +0.21% |
| SPHINCS+ 2^40 sign | -0.12% | -0.11% | -0.14% | -0.06% | -0.15% | +0.27% |
| SHRINCS-B sign | -0.12% | +2.25% | -0.50% | +2.33% | +0.36% | +0.15% |
| SHRINCS-L sign, swn=96 | -0.00% | -0.01% | -1.45% | +0.59% | -2.22% | +0.54% |
| SHRINCS-L sign, swn=140 | +0.00% | +0.72% | -0.02% | +1.04% | -0.05% | +0.08% |
| XMSS 2^10 sign | +0.80% | +0.35% | -0.26% | -0.28% | +0.06% | +0.03% |
| SLH-DSA-SHA2-128s keygen | -0.12% | -0.09% | -0.27% | -0.03% | -0.25% | +0.16% |
| SPHINCS+ 2^40 keygen | -0.12% | -0.09% | -0.18% | -0.03% | -0.22% | +0.15% |
| SHRINCS-L keygen | +0.72% | +0.04% | +0.04% | +2.70% | +0.74% | +0.47% |
| SHRINCS-B keygen | -0.05% | +2.28% | -0.49% | +2.36% | +0.55% | +0.17% |
| XMSS 2^10 keygen | +0.29% | -0.34% | -0.27% | -0.41% | +0.07% | +0.06% |
| SHRINCS-B self-test | -0.05% | +2.27% | -0.47% | +2.32% | +0.42% | +0.23% |
| SHRINCS-L self-test | +0.01% | +2.14% | -0.00% | +2.14% | +0.01% | -0.02% |
| XMSS 2^10 self-test | +0.46% | +0.03% | -0.26% | -0.27% | +0.05% | +0.03% |
Largest absolute change per column:
Every compared output equals the first round's.
ESP32-S3, as Table 20b (percent change).
| Operation | Level 1, one core | Level 1, two cores | Level 2, one core | Level 2, two cores | Level 3, one core | Level 3, two cores |
|---|---|---|---|---|---|---|
| SLH-DSA-SHA2-128s sign | +0.00% | +0.00% | +0.00% | +0.00% | +0.00% | -0.00% |
| SPHINCS+ 2^40 sign | +0.00% | +0.00% | +0.00% | +0.00% | +0.00% | -0.00% |
| SHRINCS-B sign | -0.01% | -0.00% | +0.03% | -0.00% | +0.12% | -0.10% |
| SHRINCS-L sign, swn=96 | +0.30% | -0.01% | -0.77% | -0.01% | +1.55% | -0.11% |
| SHRINCS-L sign, swn=140 | -0.00% | -0.02% | +0.01% | +0.00% | +0.01% | -0.14% |
| XMSS 2^10 sign | +0.00% | +0.00% | +0.00% | +0.00% | -0.00% | -0.00% |
| SLH-DSA-SHA2-128s keygen | +0.00% | -0.00% | +0.00% | +0.00% | +0.00% | -0.00% |
| SPHINCS+ 2^40 keygen | +0.00% | -0.00% | +0.00% | +0.00% | +0.00% | +0.00% |
| SHRINCS-L keygen | +0.00% | +0.00% | +0.00% | +0.00% | +0.00% | -0.10% |
| SHRINCS-B keygen | +0.00% | -0.00% | +0.00% | +0.00% | +0.00% | -0.10% |
| XMSS 2^10 keygen | +0.00% | +0.00% | +0.00% | -0.00% | +0.00% | +0.00% |
| SHRINCS-B self-test | -0.09% | -0.01% | +0.16% | +0.00% | +0.25% | -0.10% |
| SHRINCS-L self-test | +0.00% | +0.00% | +0.01% | -0.00% | -0.02% | -0.01% |
| XMSS 2^10 self-test | +0.00% | -0.00% | +0.00% | +0.00% | +0.00% | +0.00% |
Largest absolute change per column:
Every compared output equals the first round's.
Cost of safeguards, Pi Zero level 3, first round: means of n=100 runs (seconds), and in the last two columns the percent change from adding the stack protector (static builds) and from moving to PIE with dynamic linking [45].
| Operation | Static, no stack protector (s) | Static, stack protector (s) | PIE, stack protector, SDK defaults (s) | Stack protector, static builds | PIE and dynamic linking |
|---|---|---|---|---|---|
| SLH-DSA-SHA2-128s sign | 4.929 | 4.968 | 5.029 | +0.8% | +1.2% |
| SPHINCS+ 2^40 sign | 3.825 | 3.855 | 3.909 | +0.8% | +1.4% |
| SHRINCS-B sign | 1.272 | 1.271 | 1.282 | -0.1% | +0.9% |
| SHRINCS-L sign, swn=140 (expected) | 20.41 | 20.91 | 19.97 | +2.4% | -4.5% |
| XMSS 2^10 sign | 3.978 | 4.376 | 4.142 | +10.0% | -5.3% |
| SLH-DSA-SHA2-128s keygen | 0.6431 | 0.6490 | 0.6553 | +0.9% | +1.0% |
| SPHINCS+ 2^40 keygen | 0.6432 | 0.6480 | 0.6550 | +0.7% | +1.1% |
| SHRINCS-L keygen | 0.1153 | 0.1144 | 0.1140 | -0.8% | -0.3% |
| SHRINCS-B keygen | 1.276 | 1.274 | 1.284 | -0.2% | +0.8% |
| XMSS 2^10 keygen | 3.977 | 4.373 | 4.140 | +10.0% | -5.3% |
Cost of the ESP32 compiler stack protector (-fstack-protector-strong) at level 3, first
round (percent change against ESP-IDF's defaults) [46] [47].
| Operation | ESP32-P4, one core | ESP32-P4, two cores | ESP32-S3, one core | ESP32-S3, two cores |
|---|---|---|---|---|
| SLH-DSA-SHA2-128s sign | +0.0% | +0.7% | +0.7% | +0.9% |
| SPHINCS+ 2^40 sign | +0.1% | +0.8% | +0.9% | +0.9% |
| SHRINCS-B sign | +1.4% | +0.6% | +1.5% | +1.7% |
| SHRINCS-L sign, swn=140 (expected) | -3.7% | -0.7% | +0.0% | -0.4% |
| XMSS 2^10 sign | +1.5% | +5.5% | +3.7% | +3.7% |
Jade firmware calibration, first round: Blockstream's unmodified Jade firmware on our ESP32-S3 board, timed on the host over USB as Blockstream timed it, against Blockstream's published Jade Plus figures (seconds) [25].
| Operation | Jade firmware, our ESP32-S3 board (s) | n | Jade Plus, Blockstream's published figure (s) | Ours divided by published |
|---|---|---|---|---|
| SLH-DSA-SHA2-128s sign | 48.99 | 10 | 52.85 | 0.927 |
| SPHINCS+ 2^40 sign | 37.96 | 10 | 43.28 | 0.877 |
| SHRINCS-B sign | 16.19 | 10 | 21.75 | 0.745 |
| XMSS 2^10 sign | 47.60 | 10 | 57.8 | 0.824 |
| SLH-DSA-SHA2-128s keygen | 6.581 | 10 | 7.06 | 0.932 |
| SPHINCS+ 2^40 keygen | 6.576 | 10 | 7.06 | 0.931 |
| SHRINCS-B keygen | 15.33 | 10 | 18.87 | 0.812 |
| XMSS 2^10 keygen | 47.56 | 10 | 57.78 | 0.823 |
results/published/blockstream_2026-08-19.csv). Their chips and clocks come from
vendor and certification documents, not from the post: Jade Plus, ESP32-S3, 240 MHz;
Trezor Safe 3/5/7, STM32F427, 180 MHz, or STM32U585 or STM32U5G9, 160 MHz; Ledger Nano
gen5/S+, ST33K1M5 secure element, 70 or 75 MHz; BitBox02 Nova, ATSAMD51J20A
(Cortex-M4F), 120 MHz (Jade Plus: Jade's build configuration; Blockstream's Trezor
signing figures are labeled Trezor Safe 3/5/7, and it does not say which model or
hardware revision it timed; docs/other-devices-hash-hardware.md).cepetr/slh-dsa-hw-sha reduced SLH-DSA-128 signing time to 20 seconds; the
branch notes record "Signed in 19.657 s" for the vendored SPHINCS+ SHA2-128s reference
code hashing through the STM32U5 HASH unit on a Trezor Safe 7, in Trezor's
production-test firmware with the stack protector off, in one run, and say that roughly
20 seconds "is not the lower bound". The experiment differs from Blockstream's Trezor
test (labeled Trezor Safe 3/5/7) in library, firmware, and timing method, possibly in
model, and covers one scheme; on production Safe 7 units the HASH unit is not reachable
by applications (results/published/trezor-hw-sha_2025-12.csv,
docs/other-devices-hash-hardware.md).third_party/jade-hbs/main/shrincs/constants.h and uxmss_auth_path() in uxmss.c.
The benchmark signs with q = 1 (harness/common/op_shrincs.c), the size shown.opt/pi0/board/kernel.config in seedsigner-os, leaves out Wi-Fi and Bluetooth support).
The scripts and results/summary.csv identify this board as pi0w. Pi Zero 2 W: a Pi
Zero 2 W, which SeedSigner's releases support, though it is less common than the Pi
Zero. ESP32-P4: a Waveshare ESP32-P4 WiFi6 Touch LCD 4.3. ESP32-S3: a Waveshare ESP32-S3
Touch LCD 2. RP2350: a Waveshare RP2350 Touch LCD 2.harness/linux/shim_dualcore/).xTaskCreatePinnedToCore onto the kernel. The tick is 100 Hz, as in ESP-IDF, because
Blockstream's grinding loops wait one tick at a time
(docs/knowledge/rp2350-pico-sdk-freertos-porting-traps.md).CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK) is
off in every build, as it is by ESP-IDF default and in Jade's configuration. In separate
runs it slowed signing on the ESP32-P4 by 12 to 31% at every level, plain C included,
and changed no time on the ESP32-S3 by more than 0.2%
(docs/knowledge/esp32-p4-stack-watchpoint-cost.md).scripts/xmss_fixed_key_check.c) and verifying with shrincs-cpp
(scripts/shrincs_cpp_verify.py) showed the mismatches above.scripts/report/fill.py checks every such figure against the detail table, and C1's
figures from other reports against their transcriptions in results/published/.docs/knowledge/shrincs-l-grinding-time-method.md, scripts/grind_fit_r2.py). The
methods page gives the attempt counts of messages 0 to 9 (Expected
values).harness/linux/shim/sha512_openssl.c at levels 1 and 3, the
OpenSSL-backed shim at level 2), so the levels differ in SHA-256 only. Its cost was not
measured separately.docs/knowledge/rp2350-sha256-accelerator-no-resume.md). At levels 2 and 3 the code
rebuilds a precomputed state, such as SLH-DSA's state after the PK.seed block, by
replaying the block that produced it, and computes any state it has not seen in
software. In SLH-DSA-SHA2-128s and SHRINCS-B signing nearly every compression is a
replay, and in the signing operations counted none ran in software
(docs/knowledge/rp2350-sha256-accelerator-no-resume.md).results/derived/stateless_fit.csv), mostly on two cores: the fit is used only for the
time at the expected counts, not to divide the time between the terms
(scripts/grind_fit_r2.py; the tree work per message comes from the host build of
scripts/pors_work.c).scripts/r4_plans/rp2350-stateless.plan).docs/knowledge/esp-idf-mbedtls-unstarted-sha256-context.md). The benchmark builds
start every context as SHA-256, so Jade's firmware SHRINCS rows in Table 22 time
different hash computations from ours; the material examined does not state which build
produced Blockstream's published figures (docs/knowledge/jade-hbs-benchmark-notes.md).docs/other-devices-hash-hardware.md).results/published/; chips and clocks as in the table's Chip and
clock column. Rows run fastest first by the geometric mean, over the schemes a row has,
of its time divided by the Pi Zero's. Run counts: Blockstream's figures are averages of
100 executions; pqm4's, of 10 (SLH-DSA) and 100 (ML-DSA) executions; Ledger Donjon's are
labeled averages, with no run count and called preliminary; the Trezor Model T gist
gives one figure per cell, with no run count; ours are means or expected values over 10
or 100 messages (section 3). Timing: Blockstream timed each operation on the host over
the wallet's USB interface, which includes data transfer and any display work during the
operation (Jade's SLH-DSA signing draws a progress bar); ours time the scheme call on
the device, and pqm4 counts cycles on the device. Implementations: Blockstream ran the
same reference C libraries on every wallet, glued to each wallet's own hash functions;
Ledger Donjon used a plain C Falcon and a low-RAM ML-DSA; pqm4's rows are its portable C
implementations; the Trezor Model T ran PQClean's reference code, with PQClean's own
SHA-2 and SHA-3. Hash hardware: at level 3 our ESP32 boards and the RP2350 hash with the
chip's SHA-256 hardware, while Jade's SLH-DSA-SHA2-128s and SPHINCS+ 2^40 code on the
Jade Plus hashes in portable C; Table 22 times Jade's own firmware on our ESP32-S3 board
(section 3.6).docs/other-devices-hash-hardware.md, docs/knowledge/jade-hbs-benchmark-notes.md).
Blockstream does not say which Trezor model or hardware revision it timed.results/published/onvej-sl-gist_2025-04.csv).results/published/ledger-donjon_2026-02-26.csv).ref implementation and ML-DSA-44 its portable clean one,
the closest to ours; its Cortex-M4 assembly (m4f) signs ML-DSA-44 in about half the
cycles. Its FN-DSA figures are left out: they appear only in benchmarks.md, whose
clock the README gives as 24 MHz (results/published/pqm4_2026-11-24.csv).docs/knowledge/ml-dsa-signing-attempts.md). Attempts per message come from the host
counting build of harness/linux/; outputs are deterministic, so the counts hold on
every board. Messages 0 to 99 need 4.45, 4.85, and 4.07 attempts on average (ML-DSA-44,
-65, and -87; messages 0 to 9: 3.40, 9.00, and 2.80), against the expectations used,
4.361, 5.138, and 3.906. With the benchmark key's own mean over 20,000 messages (4.332,
5.090, and 3.883) in place of those, every expected value in Tables 13a and 13b would be
0.3 to 0.9% lower. Fit coefficients, standard errors, residuals, and plain means:
results/derived/mldsa_fit.csv.malloc family, counted by wrappers linked into the benchmark
(allocations inside libc and libcrypto are not counted; the schemes allocate nothing
themselves). Those builds ran n=10 for verification and the lattice operations, n=3 for
the hash-based signing and key generation, and n=1 for SHRINCS-L stateful signing at
swn=140 and for stateless signing; every run of an operation gave the same peak. On both
platforms the window is the whole operation call, including the harness's untimed copies
of keys and inputs and its verification of new signatures; the heap figures include the
harness's buffers and, on two ESP32 cores, the helper tasks' stacks. Self-tests are
omitted. Method: docs/knowledge/peak-memory-measurement.md.docs/knowledge/peak-memory-measurement.md); the level-2 timing
builds link it statically.shrincs_restore(), untimed), which rebuilds the stateful tree and a whole hypertree
layer; on the ESP32 boards this makes a SHRINCS-B self-test take minutes of wall time
per run (docs/knowledge/benchmark-timing-resolution-and-untimed-work.md).CONFIG_COMPILER_STACK_CHECK_MODE_STRONG, as in Jade's build configuration. Only
native ESP-IDF projects can use it: it breaks MicroPython's setjmp/longjmp exception
handling.results/summary.csv, one row per measured configuration, written by
scripts/report/fill.py from the same run logs as the tables on this page. Our run logs
are not published: checking a figure means rerunning it on the hardware.results/derived/stateless_fit.csv
and results/derived/mldsa_fit.csv.docs/environments/, one file per board.harness/linux/ for the Pi boards,
harness/esp-idf/ for the ESP32 boards, harness/pico/ for the RP2350) and run its
round's plans with the queue scripts in scripts/; the logs land under
results/raw/<device>/<round>/ (the Pi boards' fetch scripts copy them back from the
board). Then run scripts/report/fill.py and scripts/report/build_pages.py. The
generator checks every summary figure against its detail table and names any planned log
that is missing.scripts/grind_fit_r2.py: expected valuesscripts/check_r2.py: correctness gatescripts/summarize.py: per-group statisticsscripts/report/fill.py: this page's generator, with round2.py, levels2.py,
numfmt.py, and draft_template.mdscripts/report/build_pages.py: the HTML pages, from the generated MarkdownNone.