]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ossl: port to arm64
authormhorne <mhorne@FreeBSD.org>
Fri, 4 Dec 2020 21:12:17 +0000 (21:12 +0000)
committermhorne <mhorne@FreeBSD.org>
Fri, 4 Dec 2020 21:12:17 +0000 (21:12 +0000)
commit6fa461b1295c32dee90bd2fdc684c3f06a1b5570
tree80bb10364a4a1aff615d9b34f05b30134b48fa5a
parent45d650e8ef792b3d8e382e4203ca1f52e5abeafd
ossl: port to arm64

Enable in-kernel acceleration of SHA1 and SHA2 operations on arm64 by adding
support for the ossl(4) crypto driver. This uses OpenSSL's assembly routines
under the hood, which will detect and use SHA intrinsics if they are
supported by the CPU.

Reviewed by: jhb
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D27390
share/man/man4/ossl.4
sys/conf/files.arm64
sys/crypto/openssl/aarch64/arm_arch.h [new file with mode: 0644]
sys/crypto/openssl/ossl_aarch64.c [new file with mode: 0644]
sys/modules/Makefile
sys/modules/ossl/Makefile
tests/sys/opencrypto/runtests.sh