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
F81641956: D21347.diff
Fri, Apr 19, 9:29 AM
Unknown Object (File)
Dec 23 2023, 5:07 AM
Unknown Object (File)
Dec 3 2023, 11:36 PM
Unknown Object (File)
Oct 24 2023, 9:33 AM
Unknown Object (File)
Oct 12 2023, 12:51 AM
Unknown Object (File)
Aug 30 2023, 8:42 PM
Unknown Object (File)
Aug 4 2023, 12:15 AM
Unknown Object (File)
Aug 4 2023, 12:13 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

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 25988
Build 24543: arc lint + arc unit