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)
Mon, Nov 24, 1:12 PM
Unknown Object (File)
Mon, Nov 24, 12:33 PM
Unknown Object (File)
Sat, Nov 22, 8:28 AM
Unknown Object (File)
Fri, Nov 21, 10:52 PM
Unknown Object (File)
Thu, Nov 20, 8:01 PM
Unknown Object (File)
Thu, Nov 20, 7:59 PM
Unknown Object (File)
Thu, Nov 20, 7:59 PM
Unknown Object (File)
Thu, Nov 20, 7:51 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