git: crypto - Move core AESNI implementation to sys/crypto/aesni
Michael Neumann
mneumann at crater.dragonflybsd.org
Sun Apr 6 02:59:39 PDT 2025
commit 33ceae2c35e10c76639e505fbdcd24744d8c21ba
Author: Michael Neumann <mneumann at ntecs.de>
Date: Sun Apr 6 11:00:55 2025 +0200
crypto - Move core AESNI implementation to sys/crypto/aesni
AESNI is a set of CPU instructions that help to accelerate the AES
cipher. It is available on almost any x86 CPU since about 2010.
Moving this makes the code (and as such the AESNI instruction) usable
from outside the opencrypto framework while keeping aesni(4) from
dev/crypto/aesni still operational.
Summary of changes:
sys/crypto/Makefile | 3 +
sys/{dev => }/crypto/aesni/aesencdec_x86_64.S | 0
sys/{dev => }/crypto/aesni/aeskeys_x86_64.S | 0
sys/{dev => }/crypto/aesni/aesni.h | 68 +++++-----
sys/{dev => }/crypto/aesni/aesni_wrap.c | 178 +-------------------------
sys/dev/crypto/aesni/Makefile | 3 +-
sys/dev/crypto/aesni/aesni.c | 163 +++++++++++++++++++++++
sys/dev/crypto/aesni/aesni.h | 35 +----
sys/platform/pc64/conf/files | 6 +-
9 files changed, 205 insertions(+), 251 deletions(-)
rename sys/{dev => }/crypto/aesni/aesencdec_x86_64.S (100%)
rename sys/{dev => }/crypto/aesni/aeskeys_x86_64.S (100%)
copy sys/{dev => }/crypto/aesni/aesni.h (75%)
rename sys/{dev => }/crypto/aesni/aesni_wrap.c (55%)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/33ceae2c35e10c76639e505fbdcd24744d8c21ba
--
DragonFly BSD source repository
More information about the Commits
mailing list