mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-05 12:20:52 +02:00
5c10fe9a58
This is related to F-1070 but not the same. We do not need to check that hash_size being passed in matches the initialized digest size because the C function will use the passed-in size as long as it is non-zero.
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. |