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
F163312645: D37547.id113634.diff
Wed, Jul 22, 12:05 AM
F163237768: D37547.id113634.diff
Tue, Jul 21, 7:57 AM
F163228488: D37547.id113922.diff
Tue, Jul 21, 6:14 AM
Unknown Object (File)
Sun, Jul 19, 8:56 PM
Unknown Object (File)
Sun, Jul 19, 3:52 PM
Unknown Object (File)
Jun 18 2026, 7:30 PM
Unknown Object (File)
Jun 17 2026, 3:41 AM
Unknown Object (File)
Jun 17 2026, 2:24 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