third_party: Add the Intel Add support for AES-NI acceleration.
authorJeremy Allison <jra@samba.org>
Wed, 6 Sep 2017 16:44:42 +0000 (09:44 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 7 Sep 2017 00:01:08 +0000 (02:01 +0200)
commit421fa346de575ebbed3496dc203011b80537bd8a
treeacf8732e98b01d59b5348636920c435b66bb1399
parent8c365c5fe09e396e55891945bb4983c0e95d6c13
third_party: Add the Intel Add support for AES-NI acceleration.

This commit takes the Linux kernel AES-NI code, and puts it into a
third_party private library. The Linux kernel code is under GPLv2+
so is compatible with Samba.

This can result in massive speed improvements (up to 200% on some
platforms), by using Intel AES-NI instructions.

These are the pristine check-ins of Linux kernel files for Intel AESNI crypto.

git show 8691ccd764f9ecc69a6812dfe76214c86ac9ba06:arch/x86/crypto/aesni-intel_asm.S
git show 2baad6121e2b2fa3428ee6cb2298107be11ab23a:arch/x86/include/asm/inst.h

Show the exact Linux kernel git refspecs we have imported.

These files are not yet used.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13008

Based on original work by Justin Maggard <jmaggard@netgear.com>

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
third_party/aesni-intel/aesni-intel_asm.c [new file with mode: 0644]
third_party/aesni-intel/inst-intel.h [new file with mode: 0644]