HomeFreeBSD

safexcel: Set the context record unconditionally

Description

safexcel: Set the context record unconditionally

The condition added in commit 5bdb8b273aaf excludes plain SHA
transforms, so for such sessions crypto operations would return
incorrect results.

Fixes: 5bdb8b273aaf ("safexcel: Maintain per-session context records")
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 36e4dcf47d45bbb87875ee4a9f5cc26a72a9f048)

Details

Provenance
markjAuthored on Oct 18 2021, 1:40 PM
Parents
rG66e63d0cad4d: amd64: Zero the PML5 PTI page when initializing a pmap
Branches
Unknown
Tags
Unknown