aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/files.amd64
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2020-10-20 17:50:18 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2020-10-20 17:50:18 +0000
commitba610be90a7cb6d851e0e0e6d7612769352a3c0c (patch)
tree85995acc49eba2878d5c92913c0e66655cc7857f /sys/conf/files.amd64
parent91bc73618deae3a0d4efc467d94883c7e9fdd088 (diff)
downloadsrc-ba610be90a7cb6d851e0e0e6d7612769352a3c0c.tar.gz
src-ba610be90a7cb6d851e0e0e6d7612769352a3c0c.zip
Add a kernel crypto driver using assembly routines from OpenSSL.
Currently, this supports SHA1 and SHA2-{224,256,384,512} both as plain hashes and in HMAC mode on both amd64 and i386. It uses the SHA intrinsics when present similar to aesni(4), but uses SSE/AVX instructions when they are not. Note that some files from OpenSSL that normally wrap the assembly routines have been adapted to export methods usable by 'struct auth_xform' as is used by existing software crypto routines. Reviewed by: gallatin, jkim, delphij, gnn Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D26821
Notes
Notes: svn path=/head/; revision=366901
Diffstat (limited to 'sys/conf/files.amd64')
-rw-r--r--sys/conf/files.amd643
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/conf/files.amd64 b/sys/conf/files.amd64
index 3739e5240679..8a07ff86f2b3 100644
--- a/sys/conf/files.amd64
+++ b/sys/conf/files.amd64
@@ -137,6 +137,9 @@ cddl/dev/dtrace/amd64/dtrace_asm.S optional dtrace compile-with "${DTRACE_S}"
cddl/dev/dtrace/amd64/dtrace_subr.c optional dtrace compile-with "${DTRACE_C}"
crypto/aesni/aeskeys_amd64.S optional aesni
crypto/des/des_enc.c optional netsmb
+crypto/openssl/amd64/sha1-x86_64.S optional ossl
+crypto/openssl/amd64/sha256-x86_64.S optional ossl
+crypto/openssl/amd64/sha512-x86_64.S optional ossl
dev/acpi_support/acpi_wmi_if.m standard
dev/agp/agp_amd64.c optional agp
dev/agp/agp_i810.c optional agp