wolfcrypt-rs 0.1.1

Low-level FFI bindings for wolfSSL/wolfCrypt cryptographic library.
docs.rs failed to build wolfcrypt-rs-0.1.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

wolfcrypt-rs

Typed FFI layer on top of wolfcrypt-sys. Provides opaque types, size constants, and the WOLFSSL_VERSION string parsed from the linked library at build time.

This crate is the glue between the raw bindgen output and the higher-level wolfssl-rs crates. Most users should depend on wolfcrypt or wolfcrypt-ring-compat instead.

Usage

wolfcrypt-rs = { version = "0.1", features = ["vendored"] }

Features

Feature Description
fips Enable the FIPS 140-3 code path
riscv-bare-metal Bare-metal RISC-V configuration (Caliptra)

WOLFSSL_VERSION

println!("linked wolfSSL {}", wolfcrypt_rs::WOLFSSL_VERSION);

Set at compile time from wolfssl/version.h. Returns "unknown" if the header was not found.

License

MIT