aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2021-03-03 23:17:43 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2021-03-03 23:20:57 +0000
commit92aecd1e6fac47ffc893f628c1fe289568bb19cb (patch)
treea614a65153cdb69ec3cfdf4a6c1111ce2185168a /sys/modules
parenta899ce4ba4c404d342bf892b8b756b66fc65d6b5 (diff)
downloadsrc-92aecd1e6fac47ffc893f628c1fe289568bb19cb.tar.gz
src-92aecd1e6fac47ffc893f628c1fe289568bb19cb.zip
ossl: Add ChaCha20 cipher support.
Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D28756
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/ossl/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/modules/ossl/Makefile b/sys/modules/ossl/Makefile
index 2ddebefebd1a..dfd82dcf6e1f 100644
--- a/sys/modules/ossl/Makefile
+++ b/sys/modules/ossl/Makefile
@@ -8,6 +8,7 @@ SRCS= bus_if.h \
cryptodev_if.h \
device_if.h \
ossl.c \
+ ossl_chacha20.c \
ossl_poly1305.c \
ossl_sha1.c \
ossl_sha256.c \
@@ -15,6 +16,7 @@ SRCS= bus_if.h \
${SRCS.${MACHINE_CPUARCH}}
SRCS.aarch64= \
+ chacha-armv8.S \
poly1305-armv8.S \
sha1-armv8.S \
sha256-armv8.S \
@@ -22,6 +24,7 @@ SRCS.aarch64= \
ossl_aarch64.c
SRCS.amd64= \
+ chacha-x86_64.S \
poly1305-x86_64.S \
sha1-x86_64.S \
sha256-x86_64.S \
@@ -29,6 +32,7 @@ SRCS.amd64= \
ossl_x86.c
SRCS.i386= \
+ chacha-x86.S \
poly1305-x86.S \
sha1-586.S \
sha256-586.S \