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, 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
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
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