wolfssl/wrapper/rust
Sean Parkinson 69027c2445 LMS: fixes and improvements
Remove WC_LMS_PARM_NONE as it serves no purpose.
Change sig_len from a 16-bit value to a 32-bit value in the parameters.
Added wc_LmsKey_SetParameters_ex() and wc_LmsKey_GetParameters_ex() to
handle hash algorithm.
Change mass ForceZeros to smaller amounts with XMEMSET and setting to
NULL or default valus.
Allow signing of empty message.
Other minor fixes.

Fix API tests to work when WOLFSSL_LMS_MAX_HEIGHT/WOLFSSL_LMS_MAX_LEVELS
are/is defined.
2026-05-11 16:18:12 +10:00
..
wolfssl-wolfcrypt LMS: fixes and improvements 2026-05-11 16:18:12 +10:00
include.am Rust wrapper: wolfssl-wolfcrypt crate version 1.2.0 2026-03-13 08:08:23 -04:00
Makefile Rust wrapper: add FIPS support 2026-02-04 14:32:05 -05:00
README.md Add README.md in wolfssl-wolfcrypt crate directory 2025-12-15 15:22:44 -05:00

wolfSSL Rust Wrapper

The wolfSSL Rust wrapper currently consists of a single Rust crate named wolfssl-wolfcrypt. The wolfssl-wolfcrypt crate is a Rust wrapper for the wolfCrypt cryptographic algorithms portion of the wolfSSL C library.

Locally building and testing the wolfSSL Rust Wrapper

First, configure and build wolfssl C library.

Then build the wolfssl Rust wrapper with:

make -C wrapper/rust

Run tests with:

make -C wrapper/rust test

Repository Directory Structure

Repository Directory Description
/wrapper/rust Top level container for all Rust wrapper functionality.
/wrapper/rust/wolfssl-wolfcrypt Top level for the wolfssl-wolfcrypt library crate.
/wrapper/rust/wolfssl-wolfcrypt/src Source directory for wolfssl-wolfcrypt crate top-level modules.