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, Jun 1, 2:19 PM
Unknown Object (File)
Thu, May 29, 10:03 PM
Unknown Object (File)
Fri, May 16, 4:49 PM
Unknown Object (File)
Wed, May 14, 4:47 PM
Unknown Object (File)
Apr 24 2025, 5:24 AM
Unknown Object (File)
Apr 14 2025, 7:53 AM
Unknown Object (File)
Apr 14 2025, 4:22 AM
Unknown Object (File)
Apr 13 2025, 10:10 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

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