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)
Wed, Sep 2, 4:58 PM
Unknown Object (File)
Tue, Sep 1, 11:09 PM
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)
Aug 5 2026, 6:13 AM
Unknown Object (File)
Jul 26 2026, 5:11 PM
Unknown Object (File)
Jul 22 2026, 12:39 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