forked from cryptodev-linux/cryptodev-linux
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathINSTALL
34 lines (25 loc) · 916 Bytes
/
INSTALL
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
=== Installation instructions ===
Simply run:
$ make
# make install
The first command compiles the code and generates the kernel module
and the latter installs the header files and the kernel module.
After that you should set your system to load the kernel module on system
load. In most systems this can be done as:
# echo "cryptodev" >>/etc/modules
or in systemd-enabled systems:
# echo "cryptodev" > /etc/modules-load.d/cryptodev.conf
=== Testing installation ===
* cryptodev-linux:
Check whether cryptodev-linux is operating as expected using the following
command.
$ make check
* OpenSSL:
run the following commands prior and after installation and compare.
$ openssl speed -evp aes-128-cbc
$ openssl speed -evp sha1
* GnuTLS 3.x:
run the following commands and compare the outputs:
$ gnutls-cli --benchmark-ciphers
$ gnutls-cli --benchmark-soft-ciphers
The former uses cryptodev while the latter not.