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
F125050276: D21347.id.diff
Sat, Aug 2, 9:18 PM
F125011342: D21347.diff
Sat, Aug 2, 9:26 AM
Unknown Object (File)
Jun 26 2025, 3:13 AM
Unknown Object (File)
Jun 24 2025, 11:13 PM
Unknown Object (File)
Jun 19 2025, 5:53 AM
Unknown Object (File)
Jun 16 2025, 7:46 AM
Unknown Object (File)
Jun 14 2025, 4:31 PM
Unknown Object (File)
Jun 1 2025, 2:19 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