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)
Sun, Oct 11, 1:29 AM
Unknown Object (File)
Sun, Oct 11, 12:18 AM
Unknown Object (File)
Sat, Oct 10, 7:40 PM
Unknown Object (File)
Sat, Oct 10, 1:40 PM
Unknown Object (File)
Sat, Oct 10, 7:03 AM
Unknown Object (File)
Sat, Oct 10, 5:59 AM
Unknown Object (File)
Fri, Oct 9, 4:41 PM
Unknown Object (File)
Tue, Oct 6, 6: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