1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00
Jeremy Allison 3324b55bde lib: crypt: Prepare the existing code to switch to Intel AES hardware instructions.
Rename the old struct aes_key as an intermediate struct aes_key_rj
and wrap it in a union so we can chose an alternate aes_key struct
when using Intel AES hardware.

Rename the original software implementations of:

 AES_set_encrypt_key()
 AES_set_decrypt_key()
 AES_encrypt()
 AES_decrypt()

by adding an _rj on the end, and call them via a wrapper
function.

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>
2017-09-07 02:01:08 +02:00
..
2015-08-27 20:23:20 +02:00
2015-08-27 20:23:20 +02:00
2015-08-27 20:23:20 +02:00
2015-08-27 20:23:20 +02:00
2015-08-27 20:23:20 +02:00
2016-05-16 19:52:22 +02:00
2010-06-16 18:58:04 +02:00
2014-01-08 08:12:29 +01:00
2015-11-11 00:23:35 +01:00