freebsd-dev/sys/crypto/aesni
Conrad Meyer e50f10b5a4 aesni(4): Fix {de,en}crypt operations that allocated a buffer
aesni(4) allocates a contiguous buffer for the data it processes if the
provided input was not already virtually contiguous, and copies the input
there.  It performs encryption or decryption in-place.

r324037 removed the logic that then copied the processed data back to the
user-provided input buffer, breaking {de,enc}crypt for mbuf chains or
iovecs with more than a single descriptor.

PR:		228094 (probably, not confirmed)
Submitted by:	Sean Fagan <kithrup AT me.com>
Reported by:	Emeric POUPON <emeric.poupon AT stormshield.eu>
X-MFC-With:	324037
Security:	could result in plaintext being output by "encrypt"
		operation
2018-06-23 18:20:17 +00:00
..
aesencdec.h
aeskeys_amd64.S
aeskeys_i386.S
aesni_ghash.c aesni: quiet -Wcast-qual 2017-08-16 22:54:35 +00:00
aesni_os.h
aesni_wrap.c aesni: quiet -Wcast-qual 2017-08-16 22:54:35 +00:00
aesni.c aesni(4): Fix {de,en}crypt operations that allocated a buffer 2018-06-23 18:20:17 +00:00
aesni.h aesni(4): Add support for x86 SHA intrinsics 2017-09-26 23:12:32 +00:00
intel_sha1.c aesni(4): Fix GCC build 2017-09-29 19:56:09 +00:00
intel_sha256.c aesni(4): Fix GCC build 2017-09-29 19:56:09 +00:00
sha_sse.h aesni(4): Add support for x86 SHA intrinsics 2017-09-26 23:12:32 +00:00