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
Unknown Object (File)
Thu, Jun 18, 7:30 PM
Unknown Object (File)
Wed, Jun 17, 3:41 AM
Unknown Object (File)
Wed, Jun 17, 2:24 AM
Unknown Object (File)
Tue, Jun 16, 6:17 AM
Unknown Object (File)
May 11 2026, 9:22 AM
Unknown Object (File)
May 7 2026, 8:06 AM
Unknown Object (File)
May 3 2026, 1:07 PM
Unknown Object (File)
Apr 27 2026, 3:34 PM
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