HomeFreeBSD

crypto: Fix assertions for digest-only sessions with separate output.

Description

crypto: Fix assertions for digest-only sessions with separate output.

Digest-only sessions do not generate modified payload as an output, so
don't bother asserting anything about the payload with respect to the
output buffer other than the payload output start being zero.

In addition, a verify request on a digest-only session doesn't
generate any output at all so should never have a separate output
buffer.

PR: 252316
Reviewed by: markj
Co-authored-by: Jeremy Faulkner <gldisater@gmail.com>
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D35578

Details

Provenance
jhbAuthored on Jun 30 2022, 5:10 PM
Reviewer
markj
Differential Revision
D35578: crypto: Fix assertions for digest-only sessions with separate output.
Parents
rG0bd73da2062e: busdma_bounce: Use PRI_ITHD scheduling class for worker thread.
Branches
Unknown
Tags
Unknown