File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,42 @@ The code must be installed into wolfSSL in order to be used.
11
11
12
12
Note that the test and build configuration code is already in wolfSSL.
13
13
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
+
14
50
## Building wolfSM
15
51
16
52
Once the wolfSM files have been installed into wolfSSL, you can build SM algorithms into wolfSSL.
You can’t perform that action at this time.
0 commit comments