Page MenuHomeFreeBSD

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

Authored by jhb on Jun 23 2022, 5:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 30, 12:14 AM
Unknown Object (File)
Fri, Mar 21, 4:47 PM
Unknown Object (File)
Fri, Mar 21, 12:15 AM
Unknown Object (File)
Sat, Mar 15, 11:39 PM
Unknown Object (File)
Fri, Mar 14, 11:08 AM
Unknown Object (File)
Sun, Mar 9, 3:05 PM
Unknown Object (File)
Feb 22 2025, 1:11 PM
Unknown Object (File)
Jan 23 2025, 7:35 AM

Details

Summary

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
Co-authored-by: Jeremy Faulkner <gldisater@gmail.com>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable