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)
May 9 2026, 6:40 PM
Unknown Object (File)
May 7 2026, 9:36 AM
Unknown Object (File)
May 2 2026, 10:52 PM
Unknown Object (File)
Apr 29 2026, 6:50 AM
Unknown Object (File)
Apr 27 2026, 6:34 PM
Unknown Object (File)
Apr 19 2026, 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