Skip to content

Commit db9e6cb

Browse files
committed
Remove deprecated liblms and libxmss
1 parent b573823 commit db9e6cb

24 files changed

Lines changed: 39 additions & 2517 deletions

CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -700,10 +700,8 @@ add_option(WOLFSSL_LMSSHA256192
700700

701701
if (WOLFSSL_LMS)
702702
list(APPEND WOLFSSL_DEFINITIONS "-DWOLFSSL_HAVE_LMS")
703-
list(APPEND WOLFSSL_DEFINITIONS "-DWOLFSSL_WC_LMS")
704703

705704
set_wolfssl_definitions("WOLFSSL_HAVE_LMS" RESULT)
706-
set_wolfssl_definitions("WOLFSSL_WC_LMS" RESULT)
707705

708706
if (WOLFSSL_LMSSHA256192)
709707
list(APPEND WOLFSSL_DEFINITIONS "-DWOLFSSL_LMS_SHA256_192")

Docker/Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@ RUN git clone --single-branch https://github.com/open-quantum-safe/liboqs.git &&
3434

3535
RUN mkdir /opt/sources
3636

37-
# install liblms
38-
RUN cd /opt/sources && git clone --single-branch https://github.com/cisco/hash-sigs.git && cd hash-sigs && git checkout b0631b8891295bf2929e68761205337b7c031726 \
39-
&& sed -i 's/USE_OPENSSL 1/USE_OPENSSL 0/g' sha256.h && make -j4 hss_lib_thread.a
40-
4137
# Install pkixssh to /opt/pkixssh for X509 interop testing with wolfSSH
4238
RUN mkdir /var/empty
4339
RUN cd /opt/sources && wget -q -O- https://roumenpetrov.info/secsh/src/pkixssh-15.1.tar.gz | tar xzf - && cd pkixssh-15.1 && ./configure --prefix=/opt/pkixssh/ --exec-prefix=/opt/pkixssh/ && make install

IDE/INTIME-RTOS/wolfssl-lib.vcxproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@
8787
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|INtime'">true</ExcludedFromBuild>
8888
</ClCompile>
8989
<ClCompile Include="..\..\wolfcrypt\src\ext_kyber.c" />
90-
<ClCompile Include="..\..\wolfcrypt\src\ext_lms.c" />
91-
<ClCompile Include="..\..\wolfcrypt\src\ext_xmss.c" />
9290
<ClCompile Include="..\..\wolfcrypt\src\falcon.c" />
9391
<ClCompile Include="..\..\wolfcrypt\src\fe_448.c" />
9492
<ClCompile Include="..\..\wolfcrypt\src\fips.c" />

INSTALL

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -296,11 +296,7 @@ The wolfssl port in vcpkg is kept up to date by wolfSSL.
296296

297297
We also have vcpkg ports for wolftpm, wolfmqtt and curl.
298298

299-
17. Building with hash-sigs lib for LMS/HSS support [EXPERIMENTAL]
300-
301-
Deprecated. wolfSSL now has its own LMS/HSS implementation in wolfCrypt.
302-
303-
18. Building for Debian, Ubuntu, Linux Mint, and derivatives
299+
17. Building for Debian, Ubuntu, Linux Mint, and derivatives
304300

305301
To generate a .deb package, configure wolfSSL with the desired
306302
configuration. Then run `make deb` to generate a Debian package
@@ -309,16 +305,11 @@ We also have vcpkg ports for wolftpm, wolfmqtt and curl.
309305
resulting packages are placed in the root directory of the
310306
project.
311307

312-
19. Building for RHEL, Fedora, CentOS, SUSE, and openSUSE
308+
18. Building for RHEL, Fedora, CentOS, SUSE, and openSUSE
313309

314310
To generate a .rpm package, configure wolfSSL with the desired
315311
configuration. Then run `make rpm` to generate a .rpm package
316312
with the current configuration. To build the package inside a
317313
Docker container, use `make rpm-docker`. In both cases the
318314
resulting packages are placed in the root directory of the
319315
project.
320-
321-
20. Building with xmss-reference lib for XMSS/XMSS^MT support [EXPERIMENTAL]
322-
323-
Deprecated. wolfSSL now has its own XMMS/XMSS^MT implementation in
324-
wolfCrypt.

configure.ac

Lines changed: 2 additions & 149 deletions
Original file line numberDiff line numberDiff line change
@@ -1862,7 +1862,6 @@ then
18621862
fi
18631863

18641864
# XMSS
1865-
ENABLED_WC_XMSS=no
18661865
AC_ARG_ENABLE([xmss],
18671866
[AS_HELP_STRING([--enable-xmss],[Enable stateful XMSS/XMSS^MT signatures (default: disabled)])],
18681867
[ ENABLED_XMSS=$enableval ],
@@ -1888,73 +1887,12 @@ do
18881887
esac
18891888
done
18901889

1891-
# libxmss
1892-
# Get the path to xmss-reference.
1893-
ENABLED_LIBXMSS="no"
1894-
trylibxmssdir=""
1895-
AC_ARG_WITH([libxmss],
1896-
[AS_HELP_STRING([--with-libxmss=PATH],[PATH to xmss-reference root dir. (requires --enable-experimental)!])],
1897-
[
1898-
AS_IF([ test "$ENABLED_EXPERIMENTAL" != "yes" ],[ AC_MSG_ERROR([libxmss requires --enable-experimental.]) ])
1899-
AC_MSG_CHECKING([for libxmss])
1900-
1901-
trylibxmssdir=$withval
1902-
1903-
if test -e $trylibxmssdir; then
1904-
libxmss_linked=yes
1905-
else
1906-
AC_MSG_ERROR([libxmss isn't found.
1907-
If it's already installed, specify its path using --with-libxmss=/dir/])
1908-
fi
1909-
if test "$XMSS_VERIFY_ONLY" = "yes"; then
1910-
if test -e $trylibxmssdir/xmss_verify_lib.a; then
1911-
CPPFLAGS="$AM_CPPFLAGS -DHAVE_LIBXMSS -I$trylibxmssdir"
1912-
LIB_STATIC_ADD="$LIB_STATIC_ADD $trylibxmssdir/xmss_verify_lib.a"
1913-
enable_shared=no
1914-
enable_static=yes
1915-
libxmss_linked=yes
1916-
else
1917-
AC_MSG_ERROR([xmss_verify_lib.a isn't found.
1918-
If it's already installed, specify its path using --with-libxmss=/dir/])
1919-
fi
1920-
elif test -e $trylibxmssdir/xmss_lib.a; then
1921-
CPPFLAGS="$AM_CPPFLAGS -DHAVE_LIBXMSS -I$trylibxmssdir"
1922-
LIB_STATIC_ADD="$LIB_STATIC_ADD $trylibxmssdir/xmss_lib.a"
1923-
enable_shared=no
1924-
enable_static=yes
1925-
libxmss_linked=yes
1926-
else
1927-
AC_MSG_ERROR([libxmss isn't found.
1928-
If it's already installed, specify its path using --with-libxmss=/dir/])
1929-
fi
1930-
1931-
XMSS_ROOT=$trylibxmssdir
1932-
1933-
AC_MSG_RESULT([yes])
1934-
AM_CPPFLAGS="$CPPFLAGS"
1935-
1936-
AM_CFLAGS="$AM_CFLAGS -DHAVE_LIBXMSS -I$trylibxmssdir"
1937-
ENABLED_LIBXMSS="yes"
1938-
AC_SUBST([XMSS_ROOT])
1939-
],
1940-
[XMSS_ROOT=""]
1941-
)
1942-
19431890
if test "$ENABLED_XMSS" != "no"
19441891
then
19451892
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_HAVE_XMSS"
1946-
1947-
# Use hash-sigs XMSS lib if enabled.
1948-
if test "$ENABLED_LIBXMSS" = "yes"; then
1949-
ENABLED_WC_XMSS=no
1950-
else
1951-
ENABLED_WC_XMSS=yes
1952-
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_WC_XMSS"
1953-
fi
19541893
fi
19551894

19561895
# LMS
1957-
ENABLED_WC_LMS=no
19581896
AC_ARG_ENABLE([lms],
19591897
[AS_HELP_STRING([--enable-lms],[Enable stateful LMS/HSS signatures (default: disabled)])],
19601898
[ ENABLED_LMS=$enableval ],
@@ -1986,85 +1924,9 @@ do
19861924
esac
19871925
done
19881926

1989-
# liblms
1990-
# Get the path to the hash-sigs LMS HSS lib.
1991-
ENABLED_LIBLMS="no"
1992-
tryliblmsdir=""
1993-
AC_ARG_WITH([liblms],
1994-
[AS_HELP_STRING([--with-liblms=PATH],[PATH to hash-sigs LMS/HSS install (default /usr/local) (requires --enable-experimental)!])],
1995-
[
1996-
AS_IF([ test "$ENABLED_EXPERIMENTAL" != "yes" ],[ AC_MSG_ERROR([liblms requires --enable-experimental.]) ])
1997-
AC_MSG_CHECKING([for liblms])
1998-
1999-
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <hss.h>]], [[ param_set_t lm_type; param_set_t lm_ots_type; hss_get_public_key_len(4, &lm_type, &lm_ots_type); ]])], [ liblms_linked=yes ],[ liblms_linked=no ])
2000-
2001-
if test "x$liblms_linked" = "xno" ; then
2002-
if test "x$withval" != "xno" ; then
2003-
tryliblmsdir=$withval
2004-
fi
2005-
if test "x$withval" = "xyes" ; then
2006-
tryliblmsdir="/usr/local"
2007-
fi
2008-
2009-
# 1. If verify only build, use hss_verify.a
2010-
# 2. If normal build, by default use single-threaded hss_lib.a
2011-
# 3. If 2 not found, then use the multi-threaded hss_lib_thread.a
2012-
if test "$LMS_VERIFY_ONLY" = "yes"; then
2013-
if test -e $tryliblmsdir/hss_verify.a; then
2014-
CPPFLAGS="$AM_CPPFLAGS -DHAVE_LIBLMS -I$tryliblmsdir"
2015-
LIB_STATIC_ADD="$LIB_STATIC_ADD $tryliblmsdir/hss_verify.a"
2016-
enable_shared=no
2017-
enable_static=yes
2018-
liblms_linked=yes
2019-
else
2020-
AC_MSG_ERROR([hss_verify.a isn't found.
2021-
If it's already installed, specify its path using --with-liblms=/dir/])
2022-
fi
2023-
elif test -e $tryliblmsdir/hss_lib.a; then
2024-
CPPFLAGS="$AM_CPPFLAGS -DHAVE_LIBLMS -I$tryliblmsdir"
2025-
LIB_STATIC_ADD="$LIB_STATIC_ADD $tryliblmsdir/hss_lib.a"
2026-
enable_shared=no
2027-
enable_static=yes
2028-
liblms_linked=yes
2029-
elif test -e $tryliblmsdir/hss_lib_thread.a; then
2030-
CPPFLAGS="$AM_CPPFLAGS -DHAVE_LIBLMS -I$tryliblmsdir"
2031-
LIB_STATIC_ADD="$LIB_STATIC_ADD $tryliblmsdir/hss_lib_thread.a"
2032-
enable_shared=no
2033-
enable_static=yes
2034-
liblms_linked=yes
2035-
else
2036-
AC_MSG_ERROR([liblms isn't found.
2037-
If it's already installed, specify its path using --with-liblms=/dir/])
2038-
fi
2039-
2040-
if test "x$liblms_linked" = "xno" ; then
2041-
AC_MSG_ERROR([liblms isn't found.
2042-
If it's already installed, specify its path using --with-liblms=/dir/])
2043-
fi
2044-
2045-
AC_MSG_RESULT([yes])
2046-
AM_CPPFLAGS="$CPPFLAGS"
2047-
AM_LDFLAGS="$LDFLAGS"
2048-
else
2049-
AC_MSG_RESULT([yes])
2050-
fi
2051-
2052-
AM_CFLAGS="$AM_CFLAGS -DHAVE_LIBLMS"
2053-
ENABLED_LIBLMS="yes"
2054-
]
2055-
)
2056-
20571927
if test "$ENABLED_LMS" != "no"
20581928
then
20591929
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_HAVE_LMS"
2060-
2061-
# Use hash-sigs LMS lib if enabled.
2062-
if test "$ENABLED_LIBLMS" = "yes"; then
2063-
ENABLED_WC_LMS=no
2064-
else
2065-
ENABLED_WC_LMS=yes
2066-
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_WC_LMS"
2067-
fi
20681930
fi
20691931

20701932
# SLH-DSA
@@ -11571,8 +11433,8 @@ AM_CONDITIONAL([BUILD_FE448], [test "x$ENABLED_FE448" = "xyes" || test "x$ENABLE
1157111433
AM_CONDITIONAL([BUILD_GE448], [test "x$ENABLED_GE448" = "xyes" || test "x$ENABLED_USERSETTINGS" = "xyes"])
1157211434
AM_CONDITIONAL([BUILD_CURVE448],[test "x$ENABLED_CURVE448" = "xyes" || test "x$ENABLED_USERSETTINGS" = "xyes"])
1157311435
AM_CONDITIONAL([BUILD_CURVE448_SMALL],[test "x$ENABLED_CURVE448_SMALL" = "xyes" || test "x$ENABLED_USERSETTINGS" = "xyes"])
11574-
AM_CONDITIONAL([BUILD_WC_LMS],[test "x$ENABLED_WC_LMS" != "xno" || test "x$ENABLED_USERSETTINGS" = "xyes"])
11575-
AM_CONDITIONAL([BUILD_WC_XMSS],[test "x$ENABLED_WC_XMSS" != "xno" || test "x$ENABLED_USERSETTINGS" = "xyes"])
11436+
AM_CONDITIONAL([BUILD_LMS],[test "x$ENABLED_LMS" != "xno" || test "x$ENABLED_USERSETTINGS" = "xyes"])
11437+
AM_CONDITIONAL([BUILD_XMSS],[test "x$ENABLED_XMSS" != "xno" || test "x$ENABLED_USERSETTINGS" = "xyes"])
1157611438
AM_CONDITIONAL([BUILD_WC_SLHDSA],[test "x$ENABLED_SLHDSA" != "xno" || test "x$ENABLED_USERSETTINGS" = "xyes"])
1157711439
AM_CONDITIONAL([BUILD_WC_MLKEM],[test "x$ENABLED_WC_MLKEM" != "xno" || test "x$ENABLED_USERSETTINGS" = "xyes"])
1157811440
AM_CONDITIONAL([BUILD_DILITHIUM],[test "x$ENABLED_DILITHIUM" != "xno" || test "x$ENABLED_USERSETTINGS" = "xyes"])
@@ -11620,8 +11482,6 @@ AM_CONDITIONAL([BUILD_OCSP_STAPLING_MULTI],[test "x$ENABLED_CERTIFICATE_STATUS_R
1162011482
AM_CONDITIONAL([BUILD_OCSP_STAPLING_V2],[test "x$ENABLED_CERTIFICATE_STATUS_REQUEST_V2" = "xyes"])
1162111483
AM_CONDITIONAL([BUILD_CRL],[test "x$ENABLED_CRL" != "xno" || test "x$ENABLED_USERSETTINGS" = "xyes"])
1162211484
AM_CONDITIONAL([BUILD_CRL_MONITOR],[test "x$ENABLED_CRL_MONITOR" = "xyes"])
11623-
AM_CONDITIONAL([BUILD_LIBLMS],[test "x$ENABLED_LIBLMS" = "xyes"])
11624-
AM_CONDITIONAL([BUILD_LIBXMSS],[test "x$ENABLED_LIBXMSS" = "xyes"])
1162511485
AM_CONDITIONAL([BUILD_LIBOQS],[test "x$ENABLED_LIBOQS" = "xyes"])
1162611486
AM_CONDITIONAL([BUILD_WNR],[test "x$ENABLED_WNR" = "xyes"])
1162711487
AM_CONDITIONAL([BUILD_SRP],[test "x$ENABLED_SRP" = "xyes" || test "x$ENABLED_USERSETTINGS" = "xyes"])
@@ -12121,12 +11981,7 @@ echo " * CURVE448: $ENABLED_CURVE448"
1212111981
echo " * ED448: $ENABLED_ED448"
1212211982
echo " * ED448 streaming: $ENABLED_ED448_STREAM"
1212311983
echo " * LMS: $ENABLED_LMS"
12124-
echo " * LMS wolfSSL impl: $ENABLED_WC_LMS"
1212511984
echo " * XMSS: $ENABLED_XMSS"
12126-
echo " * XMSS wolfSSL impl: $ENABLED_WC_XMSS"
12127-
if test "$ENABLED_LIBXMSS" = "yes"; then
12128-
echo " * XMSS_ROOT: $XMSS_ROOT"
12129-
fi
1213011985
echo " * SLH-DSA $ENABLED_SLHDSA"
1213111986
echo " * MLKEM: $ENABLED_MLKEM"
1213211987
echo " * MLKEM wolfSSL impl: $ENABLED_WC_MLKEM"
@@ -12187,8 +12042,6 @@ echo " * Persistent session cache: $ENABLED_SAVESESSION"
1218712042
echo " * Persistent cert cache: $ENABLED_SAVECERT"
1218812043
echo " * Atomic User Record Layer: $ENABLED_ATOMICUSER"
1218912044
echo " * Public Key Callbacks: $ENABLED_PKCALLBACKS"
12190-
echo " * libxmss: $ENABLED_LIBXMSS"
12191-
echo " * liblms: $ENABLED_LIBLMS"
1219212045
echo " * liboqs: $ENABLED_LIBOQS"
1219312046
echo " * Whitewood netRandom: $ENABLED_WNR"
1219412047
echo " * Server Name Indication: $ENABLED_SNI"

examples/configs/user_settings_pq.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ extern "C" {
105105
/* ------------------------------------------------- */
106106
#if 0 /* LMS signatures */
107107
#define WOLFSSL_HAVE_LMS
108-
#define WOLFSSL_WC_LMS
109108
#ifndef LMS_LEVELS
110109
#define LMS_LEVELS 2
111110
#endif
@@ -122,7 +121,6 @@ extern "C" {
122121
/* ------------------------------------------------- */
123122
#if 0 /* XMSS signatures */
124123
#define WOLFSSL_HAVE_XMSS
125-
#define WOLFSSL_WC_XMSS
126124
#ifndef WOLFSSL_XMSS_MAX_HEIGHT
127125
#define WOLFSSL_XMSS_MAX_HEIGHT 20
128126
#endif

examples/configs/user_settings_wolfboot_keytools.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ extern "C" {
131131

132132
#if 1 /* LMS */
133133
#define WOLFSSL_HAVE_LMS
134-
#define WOLFSSL_WC_LMS
135134
#ifndef LMS_LEVELS
136135
#define LMS_LEVELS 1
137136
#endif
@@ -145,7 +144,6 @@ extern "C" {
145144

146145
#if 1 /* XMSS */
147146
#define WOLFSSL_HAVE_XMSS
148-
#define WOLFSSL_WC_XMSS
149147
#ifndef WOLFSSL_XMSS_MAX_HEIGHT
150148
#define WOLFSSL_XMSS_MAX_HEIGHT 32
151149
#endif

linuxkm/module_exports.c.template

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -159,20 +159,12 @@
159159
#endif
160160
#if defined(WOLFSSL_HAVE_XMSS)
161161
#include <wolfssl/wolfcrypt/xmss.h>
162-
#ifdef HAVE_LIBXMSS
163-
#include <wolfssl/wolfcrypt/ext_xmss.h>
164-
#else
165162
#include <wolfssl/wolfcrypt/wc_xmss.h>
166163
#endif
167-
#endif
168164
#if defined(WOLFSSL_HAVE_LMS)
169165
#include <wolfssl/wolfcrypt/lms.h>
170-
#ifdef HAVE_LIBLMS
171-
#include <wolfssl/wolfcrypt/ext_lms.h>
172-
#else
173166
#include <wolfssl/wolfcrypt/wc_lms.h>
174167
#endif
175-
#endif
176168
#ifdef HAVE_DILITHIUM
177169
#include <wolfssl/wolfcrypt/dilithium.h>
178170
#endif

src/include.am

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1438,12 +1438,12 @@ endif BUILD_INTELASM
14381438
endif !BUILD_X86_ASM
14391439
endif
14401440

1441-
if BUILD_WC_LMS
1441+
if BUILD_LMS
14421442
src_libwolfssl@LIBSUFFIX@_la_SOURCES += wolfcrypt/src/wc_lms.c
14431443
src_libwolfssl@LIBSUFFIX@_la_SOURCES += wolfcrypt/src/wc_lms_impl.c
14441444
endif
14451445

1446-
if BUILD_WC_XMSS
1446+
if BUILD_XMSS
14471447
src_libwolfssl@LIBSUFFIX@_la_SOURCES += wolfcrypt/src/wc_xmss.c
14481448
src_libwolfssl@LIBSUFFIX@_la_SOURCES += wolfcrypt/src/wc_xmss_impl.c
14491449
endif
@@ -1593,14 +1593,6 @@ src_libwolfssl@LIBSUFFIX@_la_SOURCES += wolfcrypt/src/ext_mlkem.c
15931593
src_libwolfssl@LIBSUFFIX@_la_SOURCES += wolfcrypt/src/port/liboqs/liboqs.c
15941594
endif
15951595

1596-
if BUILD_LIBLMS
1597-
src_libwolfssl@LIBSUFFIX@_la_SOURCES += wolfcrypt/src/ext_lms.c
1598-
endif
1599-
1600-
if BUILD_LIBXMSS
1601-
src_libwolfssl@LIBSUFFIX@_la_SOURCES += wolfcrypt/src/ext_xmss.c
1602-
endif
1603-
16041596
if BUILD_LIBZ
16051597
src_libwolfssl@LIBSUFFIX@_la_SOURCES += wolfcrypt/src/compress.c
16061598
endif

tests/api.c

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35357,8 +35357,7 @@ int stopOnFail = 0;
3535735357
int test_wc_LmsKey_sign_verify(void);
3535835358
int test_wc_LmsKey_reload_cache(void);
3535935359

35360-
#if defined(WOLFSSL_HAVE_LMS) && defined(WOLFSSL_WC_LMS) && \
35361-
!defined(WOLFSSL_LMS_VERIFY_ONLY)
35360+
#if defined(WOLFSSL_HAVE_LMS) && !defined(WOLFSSL_LMS_VERIFY_ONLY)
3536235361

3536335362
#include <wolfssl/wolfcrypt/wc_lms.h>
3536435363
#include <wolfssl/wolfcrypt/lms.h>
@@ -35414,7 +35413,7 @@ static int test_lms_init_key(LmsKey* key, WC_RNG* rng)
3541435413
return 0;
3541535414
}
3541635415

35417-
#endif /* WOLFSSL_HAVE_LMS && WOLFSSL_WC_LMS && !WOLFSSL_LMS_VERIFY_ONLY */
35416+
#endif /* WOLFSSL_HAVE_LMS && !WOLFSSL_LMS_VERIFY_ONLY */
3541835417

3541935418
/*
3542035419
* Test basic LMS sign/verify with multiple signings.
@@ -35423,8 +35422,7 @@ static int test_lms_init_key(LmsKey* key, WC_RNG* rng)
3542335422
int test_wc_LmsKey_sign_verify(void)
3542435423
{
3542535424
EXPECT_DECLS;
35426-
#if defined(WOLFSSL_HAVE_LMS) && defined(WOLFSSL_WC_LMS) && \
35427-
!defined(WOLFSSL_LMS_VERIFY_ONLY)
35425+
#if defined(WOLFSSL_HAVE_LMS) && !defined(WOLFSSL_LMS_VERIFY_ONLY)
3542835426
LmsKey key;
3542935427
WC_RNG rng;
3543035428
byte msg[] = "test message for LMS signing";
@@ -35473,8 +35471,7 @@ int test_wc_LmsKey_sign_verify(void)
3547335471
int test_wc_LmsKey_reload_cache(void)
3547435472
{
3547535473
EXPECT_DECLS;
35476-
#if defined(WOLFSSL_HAVE_LMS) && defined(WOLFSSL_WC_LMS) && \
35477-
!defined(WOLFSSL_LMS_VERIFY_ONLY)
35474+
#if defined(WOLFSSL_HAVE_LMS) && !defined(WOLFSSL_LMS_VERIFY_ONLY)
3547835475
LmsKey key;
3547935476
LmsKey vkey;
3548035477
WC_RNG rng;

0 commit comments

Comments
 (0)