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
F163361917: D21347.id.diff
Wed, Jul 22, 12:39 PM
Unknown Object (File)
Tue, Jul 21, 10:24 AM
Unknown Object (File)
Mon, Jul 20, 4:53 AM
Unknown Object (File)
Sat, Jul 11, 8:44 PM
Unknown Object (File)
Wed, Jul 8, 11:09 PM
Unknown Object (File)
Tue, Jun 30, 7:48 AM
Unknown Object (File)
Tue, Jun 30, 3:17 AM
Unknown Object (File)
Sat, Jun 27, 12:17 AM
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