mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +02:00
LMS verify-only support: update INSTALL.
This commit is contained in:
19
INSTALL
19
INSTALL
@ -264,20 +264,20 @@ We also have vcpkg ports for wolftpm, wolfmqtt and curl.
|
|||||||
branch of the hash-sigs project.
|
branch of the hash-sigs project.
|
||||||
|
|
||||||
Currently the hash-sigs project only builds static libraries:
|
Currently the hash-sigs project only builds static libraries:
|
||||||
|
- hss_verify.a: a single-threaded verify-only static lib.
|
||||||
- hss_lib.a: a single-threaded static lib.
|
- hss_lib.a: a single-threaded static lib.
|
||||||
- hss_lib_thread.a: a multi-threaded static lib.
|
- hss_lib_thread.a: a multi-threaded static lib.
|
||||||
|
|
||||||
The multi-threaded version will mainly have speedups for key
|
The multi-threaded version will mainly have speedups for key
|
||||||
generation and signing.
|
generation and signing.
|
||||||
|
|
||||||
Additionally, the hash-sigs project can be modified to build
|
The default LMS build (--enable-lms=yes) will look for
|
||||||
and install a shared library in /usr/local with either single
|
hss_lib.a first, and hss_lib_thread.a second, in a specified
|
||||||
or multi-threaded versions. If the shared version has been
|
hash-sigs dir.
|
||||||
built, libhss.so is the assumed name.
|
|
||||||
|
|
||||||
wolfSSL supports either option, and by default will look for
|
The LMS verify-only build (--enable-lms=verify-only) will look
|
||||||
hss_lib.a first, and hss_lib_thread.a second, and libhss.so
|
for hss_verify.a only, which is a slimmer library that includes
|
||||||
lastly, in a specified hash-sigs dir.
|
only the minimal functions necessary for signature verification.
|
||||||
|
|
||||||
How to get and build the hash-sigs library:
|
How to get and build the hash-sigs library:
|
||||||
$ mkdir ~/hash_sigs
|
$ mkdir ~/hash_sigs
|
||||||
@ -299,6 +299,11 @@ We also have vcpkg ports for wolftpm, wolfmqtt and curl.
|
|||||||
$ ls *.a
|
$ ls *.a
|
||||||
hss_lib_thread.a
|
hss_lib_thread.a
|
||||||
|
|
||||||
|
To build verify-only:
|
||||||
|
$ make hss_verify.a
|
||||||
|
$ ls *.a
|
||||||
|
hss_verify.a
|
||||||
|
|
||||||
Build wolfSSL with
|
Build wolfSSL with
|
||||||
$ ./configure \
|
$ ./configure \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
|
Reference in New Issue
Block a user