third_party: Add the Intel Add support for AES-NI acceleration.
commitadd95df6e4720a0416e079d6dfa8df608c041efc
authorJeremy Allison <jra@samba.org>
Wed, 6 Sep 2017 16:44:42 +0000 (6 09:44 -0700)
committerKarolin Seeger <kseeger@samba.org>
Sun, 10 Sep 2017 23:18:18 +0000 (11 01:18 +0200)
tree7b2f733ef16156654cab2fa084e45faeb5e3286b
parent36aa4af299288cd14a04d695b45269021062be70
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>
(cherry picked from commit 421fa346de575ebbed3496dc203011b80537bd8a)
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]