freebsd-nq/sys/crypto/aesni
Konstantin Belousov 633034fe0e Add FPU_KERN_KTHR flag to fpu_kern_enter(9), which avoids saving FPU
context into memory for the kernel threads which called
fpu_kern_thread(9).  This allows the fpu_kern_enter() callers to not
check for is_fpu_kern_thread() to get the optimization.

Apply the flag to padlock(4) and aesni(4).  In aesni_cipher_process(),
do not leak FPU context state on error.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2014-06-23 07:37:54 +00:00
..
aesencdec.h make it so that from/to can be missaligned as it can happen (the geli 2013-11-06 19:14:49 +00:00
aeskeys_amd64.S Use the fact that the AES-NI instructions can be pipelined to improve 2013-09-03 18:31:23 +00:00
aeskeys_i386.S
aesni_wrap.c Add FPU_KERN_KTHR flag to fpu_kern_enter(9), which avoids saving FPU 2014-06-23 07:37:54 +00:00
aesni.c fix broken style(9) in r258399 2013-11-23 00:28:18 +00:00
aesni.h make it so that from/to can be missaligned as it can happen (the geli 2013-11-06 19:14:49 +00:00