However I am consistently getting Error: Invalid number of arguments in HSS_LMS_Params:src/lib/pubkey/hss_lms/hss.cpp. Note that the chosen parameter set (H = 2, SHA-256, Winternitz w = 1) is taken verbatim from section 8.10.15 of the Handbook.
root@26ada406c902:/test# botan version
3.7.0
root@26ada406c902:/test# botan keygen --algo=HSS-LMS --params="HSS-LMS(SHA-256,HW(5,1),HW(5,1))"
Error: Invalid number of arguments in HSS_LMS_Params:src/lib/pubkey/hss_lms/hss.cpp
root@26ada406c902:/test# botan keygen --algo=HSS-LMS --params="HSS-LMS(SHA-256,HW(5,8))"
Error: Invalid number of arguments in HSS_LMS_Params:src/lib/pubkey/hss_lms/hss.cpp
root@26ada406c902:/test# botan keygen --algo=HSS-LMS --params="HSS-LMS(WRONG_HASH,HW(5,8))"
Error: Invalid number of arguments in HSS_LMS_Params:src/lib/pubkey/hss_lms/hss.cpp
root@26ada406c902:/test# botan keygen --algo=HSS-LMS --params="HSS-LMS(SHAKE-256(256),HW(5,8))"
Error: Invalid number of arguments in HSS_LMS_Params:src/lib/pubkey/hss_lms/hss.cpp
I am trying to generate a private HSS-LMS key to subsequently obtain the public key, using the
keygen
andpkcs8
commands.According to what is working with XMSS, the following should do it:
However I am consistently getting
Error: Invalid number of arguments in HSS_LMS_Params:src/lib/pubkey/hss_lms/hss.cpp
. Note that the chosen parameter set (H = 2, SHA-256, Winternitz w = 1) is taken verbatim from section 8.10.15 of the Handbook.