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)
Sat, May 9, 6:40 PM
Unknown Object (File)
Thu, May 7, 9:36 AM
Unknown Object (File)
Sat, May 2, 10:52 PM
Unknown Object (File)
Wed, Apr 29, 6:50 AM
Unknown Object (File)
Mon, Apr 27, 6:34 PM
Unknown Object (File)
Sun, Apr 19, 11:48 AM
Unknown Object (File)
Apr 11 2026, 8:42 PM
Unknown Object (File)
Apr 7 2026, 11:44 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