freebsd-dev/sys/crypto/via
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
..
padlock_cipher.c Add FPU_KERN_KTHR flag to fpu_kern_enter(9), which avoids saving FPU 2014-06-23 07:37:54 +00:00
padlock_hash.c Add FPU_KERN_KTHR flag to fpu_kern_enter(9), which avoids saving FPU 2014-06-23 07:37:54 +00:00
padlock.c Add FPU_KERN_KTHR flag to fpu_kern_enter(9), which avoids saving FPU 2014-06-23 07:37:54 +00:00
padlock.h