Page MenuHomeFreeBSD

aesni: Remove misleading array bounds for aesni_decryt_ecb.
ClosedPublic

Authored by jhb on Nov 29 2022, 7:57 PM.
Tags
None
Referenced Files
F154290022: D37547.id.diff
Mon, Apr 27, 3:34 PM
F154284131: D37547.id113922.diff
Mon, Apr 27, 2:38 PM
Unknown Object (File)
Fri, Apr 24, 5:00 AM
Unknown Object (File)
Mar 19 2026, 6:40 AM
Unknown Object (File)
Mar 19 2026, 6:33 AM
Unknown Object (File)
Mar 18 2026, 4:22 PM
Unknown Object (File)
Mar 16 2026, 4:00 AM
Unknown Object (File)
Mar 16 2026, 4:00 AM
Subscribers

Details

Summary

All the other functions used pointers for from/to instead of
fixed-size array parameters. More importantly, this function can
accept pointers to buffers of multiple blocks, not just a single
block.

Reported by: GCC -Warray-parameter

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This one was actually not just cosmetic but a bug, if only we actually used ECB mode for anything (we don't).

This revision is now accepted and ready to land.Nov 29 2022, 8:21 PM