Skip to content

Commit 60fea5e

Browse files
committed
XMSS/XMSSMT hooks support: small update for requested changes.
1 parent f32c6a0 commit 60fea5e

4 files changed

Lines changed: 70 additions & 67 deletions

File tree

INSTALL

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -399,18 +399,19 @@ We also have vcpkg ports for wolftpm, wolfmqtt and curl.
399399
$ git apply <path to xmss reference patch>
400400

401401
The patch may be found in the wolfssl-examples repo here:
402-
pq/stateful_hash_sig/0001-Patch-to-support-xmss-reference-integration.patch
402+
pq/stateful_hash_sig/0001-Patch-to-support-wolfSSL-xmss-reference-integration.patch
403403

404404
To build patched xmss-reference:
405405
$ make xmss_lib.a
406406

407407
To build verify-only patched xmss-reference:
408408
$ make xmss_verify_lib.a
409409

410-
Note that this patch adds wolfCrypt SHA256 hashing to xmss-reference, and
410+
Note that this patch changes xmss-reference to use wolfCrypt SHA256 hashing,
411+
by registering a SHA callback function in xmss-reference. It
411412
thus benefits from all the same asm speedups as wolfCrypt SHA hashing.
412413
Depending on architecture you may build with --enable-intelasm, or
413-
and --enable-armasm, and see 30-40% speedups in XMSS/XMSS^MT.
414+
--enable-armasm, and see 30-40% speedups in XMSS/XMSS^MT.
414415

415416
For full keygen, signing, verifying, and benchmarking support, build
416417
wolfSSL with:

wolfcrypt/benchmark/benchmark.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8313,7 +8313,7 @@ void bench_xmss(void)
83138313
/* All NIST SP 800-208 approved SHA256 XMSS/XMSS^MT parameter
83148314
* sets.
83158315
*
8316-
* note: not testing "XMSS-SHA2_16_256", "XMSS-SHA2_20_256",
8316+
* Note: not testing "XMSS-SHA2_16_256", "XMSS-SHA2_20_256",
83178317
* and "XMSSMT-SHA2_60/3_256", because their keygen can be
83188318
* very slow, their signatures and private keys quite large,
83198319
* and xmss private keys are not portable across different

0 commit comments

Comments
 (0)