Skip to content

Commit c920713

Browse files
Add installation instructions for wolfSM
Co-Authored-By: [email protected] <[email protected]>
1 parent 99335c8 commit c920713

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

wolfSSL/src/appendix09.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,42 @@ The code must be installed into wolfSSL in order to be used.
1111

1212
Note that the test and build configuration code is already in wolfSSL.
1313

14+
## Getting and Installing wolfSM
15+
16+
### Get wolfSM from GitHub
17+
18+
Clone the wolfSM repository from GitHub:
19+
20+
```sh
21+
git clone https://github.com/wolfssl/wolfsm.git
22+
```
23+
24+
### Get wolfSSL from GitHub
25+
26+
wolfSSL is needed to build and test the SM algorithm implementations.
27+
Checkout the wolfSSL repository from GitHub beside wolfSM:
28+
29+
```sh
30+
# Directory structure should be:
31+
# <install-dir>
32+
# ├── wolfsm
33+
# └── wolfssl
34+
```
35+
36+
```sh
37+
cd .. # To directory containing wolfsm
38+
git clone https://github.com/wolfssl/wolfssl.git
39+
```
40+
41+
### Install SM code into wolfSSL
42+
43+
To install the SM code into wolfSSL, use the install script:
44+
45+
```sh
46+
cd wolfsm
47+
./install.sh
48+
```
49+
1450
## Building wolfSM
1551

1652
Once the wolfSM files have been installed into wolfSSL, you can build SM algorithms into wolfSSL.

0 commit comments

Comments
 (0)