Skip to content

Update xmss example.#421

Merged
douzzer merged 1 commit intowolfSSL:masterfrom
philljj:update_xmss_example
Jan 31, 2024
Merged

Update xmss example.#421
douzzer merged 1 commit intowolfSSL:masterfrom
philljj:update_xmss_example

Conversation

@philljj
Copy link
Copy Markdown
Contributor

@philljj philljj commented Jan 26, 2024

Update xmss example to work with --enable-xmss=wolfssl, and --enable-xmss --with-libxmss=<path>.

Also add xmss SigsLeft API to example.

Used for testing wolfSSL/wolfssl#7179.

@philljj philljj self-assigned this Jan 26, 2024
@philljj philljj assigned wolfSSL-Bot and unassigned philljj Jan 30, 2024
Copy link
Copy Markdown
Contributor

@douzzer douzzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

for posterity, this was the build recipe that worked for me:

make LIBS='-lm' WOLF_STATIC_LIB=/home/douzzer/com/wolfssl/src/wolfssl/src/.libs/libwolfssl.a XMSS_INC=/home/douzzer/com/wolfssl/src/third/xmss-reference XMSS_LIB=/home/douzzer/com/wolfssl/src/third/xmss-reference/xmss_lib.a CFLAGS='-Wall -I/home/douzzer/com/wolfssl/src/wolfssl'

This avoided any requirement to install dependencies in /usr/local. libwolfssl had been built with --enable-intelasm --enable-xmss --with-libxmss=/home/douzzer/com/wolfssl/src/third/xmss-reference, and xmss-reference had 0001-Patch-to-support-wolfSSL-xmss-reference-integration.patch applied.

@douzzer douzzer merged commit eafcbee into wolfSSL:master Jan 31, 2024
@philljj philljj deleted the update_xmss_example branch February 3, 2024 00:13
yota22721 pushed a commit to yota22721/wolfssl-examples that referenced this pull request Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants