summaryrefslogtreecommitdiff
path: root/wolfcrypt/src/port/devcrypto/README.md
blob: 7844dca869662e721ef1a06b9850f1a08b5727cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Description

Used to build with cryptodev-linux library with Linux OS.

# Quick Start

## Installing cryptodev module

If not already installed then the cryptodev-linux module will need installed.

```
git clone https://github.com/cryptodev-linux/cryptodev-linux.git
cd cryptodev-linux
make
sudo make install
modprobe cryptodev
```


## Options for building wolfSSL

For default build with all supported features use:

```
./configure --enable-cryptodev
```

Or for more control over features used:

```
./configure --enable-devcrypto=cbc
./configure --enable-devcrypto=hash
./configure --enable-devcrypto=aes
./configure --enable-devcrypto=all
```

Then build the wolfSSL library with:

```
make
sudo make install
./wolfcrypt/test/testwolfcrypt
```