Skip to content

Commit bbf105f

Browse files
committed
LMS verify-only support: update INSTALL.
1 parent 8662312 commit bbf105f

1 file changed

Lines changed: 12 additions & 7 deletions

File tree

INSTALL

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -264,20 +264,20 @@ We also have vcpkg ports for wolftpm, wolfmqtt and curl.
264264
branch of the hash-sigs project.
265265

266266
Currently the hash-sigs project only builds static libraries:
267+
- hss_verify.a: a single-threaded verify-only static lib.
267268
- hss_lib.a: a single-threaded static lib.
268269
- hss_lib_thread.a: a multi-threaded static lib.
269270

270271
The multi-threaded version will mainly have speedups for key
271272
generation and signing.
272273

273-
Additionally, the hash-sigs project can be modified to build
274-
and install a shared library in /usr/local with either single
275-
or multi-threaded versions. If the shared version has been
276-
built, libhss.so is the assumed name.
274+
The default LMS build (--enable-lms=yes) will look for
275+
hss_lib.a first, and hss_lib_thread.a second, in a specified
276+
hash-sigs dir.
277277

278-
wolfSSL supports either option, and by default will look for
279-
hss_lib.a first, and hss_lib_thread.a second, and libhss.so
280-
lastly, in a specified hash-sigs dir.
278+
The LMS verify-only build (--enable-lms=verify-only) will look
279+
for hss_verify.a only, which is a slimmer library that includes
280+
only the minimal functions necessary for signature verification.
281281

282282
How to get and build the hash-sigs library:
283283
$ mkdir ~/hash_sigs
@@ -299,6 +299,11 @@ We also have vcpkg ports for wolftpm, wolfmqtt and curl.
299299
$ ls *.a
300300
hss_lib_thread.a
301301

302+
To build verify-only:
303+
$ make hss_verify.a
304+
$ ls *.a
305+
hss_verify.a
306+
302307
Build wolfSSL with
303308
$ ./configure \
304309
--enable-static \

0 commit comments

Comments
 (0)