cem 32fc6bd53b 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
..
2018-06-23 15:05:21 +00:00
2018-06-19 20:02:03 +00:00
2018-06-22 00:02:05 +00:00
2018-06-19 18:43:02 +00:00
2018-06-14 07:12:10 +00:00
2018-02-14 00:12:03 +00:00
2018-06-08 18:54:47 +00:00
2018-03-24 21:30:24 +00:00
2018-05-25 08:44:00 +00:00