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)
Fri, Jan 24, 5:10 PM
Unknown Object (File)
Tue, Jan 21, 10:11 AM
Unknown Object (File)
Sat, Jan 18, 10:15 PM
Unknown Object (File)
Sat, Jan 18, 5:19 PM
Unknown Object (File)
Sat, Jan 11, 6:53 PM
Unknown Object (File)
Wed, Jan 1, 4:24 PM
Unknown Object (File)
Nov 22 2024, 11:20 AM
Unknown Object (File)
Nov 21 2024, 12:21 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