]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ossl: port to arm64
authorMitchell Horne <mhorne@FreeBSD.org>
Fri, 4 Dec 2020 21:12:17 +0000 (21:12 +0000)
committerMitchell Horne <mhorne@FreeBSD.org>
Fri, 4 Dec 2020 21:12:17 +0000 (21:12 +0000)
commit22bd0c9731d73167352019c0c49d454196d029dc
tree80bb10364a4a1aff615d9b34f05b30134b48fa5a
parentfd86ae6800383dabe050e22176783857895800e3
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