aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/files.i386
diff options
context:
space:
mode:
authorKornel Duleba <mindal@semihalf.com>2021-11-02 11:53:22 +0000
committerWojciech Macek <wma@FreeBSD.org>2021-11-08 09:53:31 +0000
commit197ff4c35bf00fb61603592476d5213a16027987 (patch)
tree8e79b7a090fcdfb7fb1b4351abaa2269f552648b /sys/conf/files.i386
parent52dbe1a0f419b8d45b4beed56b90ff48bc12e14c (diff)
downloadsrc-197ff4c35bf00fb61603592476d5213a16027987.tar.gz
src-197ff4c35bf00fb61603592476d5213a16027987.zip
ossl: Add support for AES-CBC cipher
AES-CBC OpenSSL assembly is used underneath. The glue layer(ossl_aes.c) is based on CHACHA20 implementation. Contrary to the SHA and CHACHA20, AES OpenSSL assembly logic does not have a fallback implementation in case CPU doesn't support required instructions. Because of that CPU caps are checked during initialization and AES support is advertised only if available. The feature is available on all architectures that ossl supports: i386, amd64, arm64. The biggest advantage of this patch over existing solutions (aesni(4) and armv8crypto(4)) is that it supports SHA, allowing for ETA operations. Sponsored by: Stormshield Obtained from: Semihalf Reviewed by: jhb (previous version) Differential revision: https://reviews.freebsd.org/D32099
Diffstat (limited to 'sys/conf/files.i386')
-rw-r--r--sys/conf/files.i3861
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files.i386 b/sys/conf/files.i386
index e83bcd5a3492..0c681d6a84a0 100644
--- a/sys/conf/files.i386
+++ b/sys/conf/files.i386
@@ -15,6 +15,7 @@ cddl/dev/dtrace/i386/dtrace_asm.S optional dtrace compile-with "${DTRACE_S}"
cddl/dev/dtrace/i386/dtrace_subr.c optional dtrace compile-with "${DTRACE_C}"
crypto/aesni/aeskeys_i386.S optional aesni
crypto/des/arch/i386/des_enc.S optional netsmb
+crypto/openssl/i386/aesni-x86.S optional ossl
crypto/openssl/i386/chacha-x86.S optional ossl
crypto/openssl/i386/poly1305-x86.S optional ossl
crypto/openssl/i386/sha1-586.S optional ossl