Skip to content

Commit 447ba11

Browse files
Add README.md in wolfssl-wolfcrypt crate directory
1 parent 0a469d4 commit 447ba11

3 files changed

Lines changed: 49 additions & 36 deletions

File tree

wrapper/rust/README.md

Lines changed: 4 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
# wolfSSL Rust Wrapper
22

33
The wolfSSL Rust wrapper currently consists of a single Rust crate named
4-
`wolfssl-wolfcrypt`. This crate provides wrappers for the cryptographic
5-
algorithms supported by wolfCrypt in the wolfSSL library.
4+
`wolfssl-wolfcrypt`.
5+
The `wolfssl-wolfcrypt` crate is a Rust wrapper for the wolfCrypt cryptographic
6+
algorithms portion of the wolfSSL C library.
67

7-
The `wolfssl-wolfcrypt` crate is intended to be published to
8-
[crates.io](https://crates.io/) and can be used by including it in your
9-
project's `Cargo.toml` file.
10-
11-
It can also be built locally from within the wolfssl C library repository to
12-
test changes to the C library using the Rust API.
13-
14-
## Locally building the wolfssl-wolfcrypt crate
8+
## Locally building and testing the wolfSSL Rust Wrapper
159

1610
First, configure and build wolfssl C library.
1711

@@ -30,29 +24,3 @@ Run tests with:
3024
| `/wrapper/rust` | Top level container for all Rust wrapper functionality. |
3125
| `/wrapper/rust/wolfssl-wolfcrypt` | Top level for the `wolfssl-wolfcrypt` library crate. |
3226
| `/wrapper/rust/wolfssl-wolfcrypt/src` | Source directory for `wolfssl-wolfcrypt` crate top-level modules. |
33-
34-
## API Coverage
35-
36-
The wolfSSL Rust wrapper provides a wrapper API for the following C library
37-
functionality:
38-
39-
* AES
40-
* CBC, CCM, CFB, CTR, EAX, ECB, GCM, OFB, XTS
41-
* CMAC
42-
* DH
43-
* ECC
44-
* Ed448
45-
* Ed25519
46-
* HKDF
47-
* HMAC
48-
* PBKDF2
49-
* PKCS #12 PBKDF
50-
* PRF
51-
* RSA
52-
* RNG
53-
* SHA
54-
* SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, SHA3-224, SHA3-256, SHA3-384,
55-
SHA3-512, SHAKE128, SHAKE256
56-
* SRTP/SRTCP KDF
57-
* SSH KDF
58-
* TLSv1.3 HKDF

wrapper/rust/wolfssl-wolfcrypt/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ repository = "https://github.com/wolfSSL/wolfssl"
88
documentation = "https://github.com/wolfSSL/wolfssl/tree/master/wrapper/rust"
99
keywords = ["wolfssl", "fips", "security", "encryption", "cryptography"]
1010
categories = ["cryptography", "security", "api-bindings"]
11+
readme = "README.md"
1112

1213
[features]
1314
std = []
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# wolfssl-wolfcrypt crate
2+
3+
The `wolfssl-wolfcrypt` crate is a Rust wrapper for the wolfCrypt cryptographic
4+
algorithms portion of the wolfSSL C library.
5+
6+
## Installation
7+
8+
The `wolfssl` C library must be installed to be used by the Rust crate.
9+
10+
The `wolfssl-wolfcrypt` crate can be used by including it as a dependency in
11+
your project's `Cargo.toml` file.
12+
13+
For example:
14+
15+
```
16+
[dependencies]
17+
wolfssl-wolfcrypt = "1.0"
18+
```
19+
20+
## API Coverage
21+
22+
This crate provides a wrapper API for the following wolfCrypt C library
23+
functionality:
24+
25+
* AES
26+
* CBC, CCM, CFB, CTR, EAX, ECB, GCM, OFB, XTS
27+
* CMAC
28+
* DH
29+
* ECC
30+
* Ed448
31+
* Ed25519
32+
* HKDF
33+
* HMAC
34+
* PBKDF2
35+
* PKCS #12 PBKDF
36+
* PRF
37+
* RSA
38+
* RNG
39+
* SHA
40+
* SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, SHA3-224, SHA3-256, SHA3-384,
41+
SHA3-512, SHAKE128, SHAKE256
42+
* SRTP/SRTCP KDF
43+
* SSH KDF
44+
* TLSv1.3 HKDF

0 commit comments

Comments
 (0)