Page MenuHomeFreeBSD

Use 'const' for keys and IVs passed to software encryption algorithms.
ClosedPublic

Authored by jhb on Aug 20 2019, 9:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 29, 4:39 AM
Unknown Object (File)
Fri, Mar 27, 12:35 PM
Unknown Object (File)
Thu, Mar 26, 6:06 PM
Unknown Object (File)
Thu, Mar 26, 4:42 PM
Unknown Object (File)
Sun, Mar 22, 9:55 PM
Unknown Object (File)
Feb 1 2026, 8:28 AM
Unknown Object (File)
Nov 24 2025, 1:12 PM
Unknown Object (File)
Nov 24 2025, 12:33 PM
Subscribers

Details

Summary

Specifically, use 'const' for the key passed to the 'setkey' method
and 'const' for the 'iv' passed to the 'reinit' method.

Test Plan
  • GENERIC still compiles. I should at least run cryptocheck -d soft against this which I haven't yet.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable