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)
Tue, Oct 14, 9:58 AM
Unknown Object (File)
Sun, Oct 12, 4:47 PM
Unknown Object (File)
Mon, Sep 29, 12:41 AM
Unknown Object (File)
Sat, Sep 27, 12:45 AM
Unknown Object (File)
Fri, Sep 26, 4:29 AM
Unknown Object (File)
Thu, Sep 25, 9:21 AM
Unknown Object (File)
Sep 17 2025, 2:03 AM
Unknown Object (File)
Aug 25 2025, 10:13 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