Mark Johnston 7c2f227a17 opencrypto: Disallow requests which pass VERIFY_DIGEST without a MAC
Otherwise we can end up comparing the computed digest with an
uninitialized kernel buffer.

In cryptoaead_op() we already unconditionally fail the request if a
pointer to a digest buffer is not specified.

Based on a patch by Simran Kathpalia.

Reported by:	syzkaller
Reviewed by:	jhb
MFC after:	1 week
Pull Request:	https://github.com/freebsd/freebsd-src/pull/529
Differential Revision:	https://reviews.freebsd.org/D32124
2021-09-24 15:04:45 -04:00
..
2021-09-22 00:18:44 +03:00
2021-09-22 00:18:44 +03:00
2021-09-22 00:18:44 +03:00
2021-09-24 12:15:34 -06:00
2021-08-24 11:24:07 +00:00
2021-09-24 11:41:25 +02:00
2021-09-24 11:41:25 +02:00
2021-09-24 12:15:34 -06:00
2021-09-22 00:18:44 +03:00