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, Aug 11, 5:49 PM
Unknown Object (File)
Mon, Aug 10, 8:37 PM
Unknown Object (File)
Mon, Aug 10, 6:53 PM
Unknown Object (File)
Wed, Aug 5, 6:13 AM
Unknown Object (File)
Jul 26 2026, 5:11 PM
Unknown Object (File)
Jul 22 2026, 12:39 PM
Unknown Object (File)
Jul 21 2026, 10:24 AM
Unknown Object (File)
Jul 20 2026, 4:53 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