Version 3.0.0 of wolfssl-wolfcrypt is now available on crates.io. This is the Rust wrapper crate for the wolfCrypt cryptography library. This release focuses on safety improvements and increased compatibility with various build configurations and FIPS configurations.
This release includes a major version bump because several APIs changed so that mistakes show up earlier and failures are reported more clearly. Where the APIs did change, the changes were for improved safety but are not difficult for existing user code to integrate.
The crate now builds against the wolfSSL FIPS v5.2.3 module. New helpers cover FIPS private key access and running the FIPS self tests up front. AES-GCM with a caller-supplied IV now works in FIPS builds.
A new rand_core_0_9 feature supports users of rand 0.9 alongside rand_core 0.10. Ed25519 and Ed448 gain SigningKey types that fit the RustCrypto signature traits more cleanly. The crate also passes build metadata to the build scripts of crates that depend on it, such as the wolfSSL library directory for setting an rpath.
Check out the ChangeLog.md for the full list of changes and migration notes for the breaking changes. Questions and feedback are welcome at support@wolfssl.com.
If you have questions about any of the above, please contact us at facts@wolfssl.com or call us at +1 425 245 8247.
Download wolfSSL Now

