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
F148158212: D37547.id113634.diff
Mon, Mar 16, 4:00 AM
F148158209: D37547.id113634.diff
Mon, Mar 16, 4:00 AM
F148158187: D37547.id113634.diff
Mon, Mar 16, 4:00 AM
Unknown Object (File)
Sun, Mar 15, 1:20 AM
Unknown Object (File)
Feb 8 2026, 6:05 PM
Unknown Object (File)
Dec 11 2025, 11:40 AM
Unknown Object (File)
Nov 17 2025, 5:58 PM
Unknown Object (File)
Nov 13 2025, 3:43 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