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
F102695952: D37547.diff
Fri, Nov 15, 11:45 PM
Unknown Object (File)
Fri, Nov 1, 4:56 PM
Unknown Object (File)
Sep 30 2024, 10:16 AM
Unknown Object (File)
Sep 24 2024, 6:10 PM
Unknown Object (File)
Sep 24 2024, 4:06 AM
Unknown Object (File)
Sep 18 2024, 4:29 AM
Unknown Object (File)
Sep 18 2024, 2:40 AM
Unknown Object (File)
Sep 17 2024, 7:52 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 48548
Build 45434: arc lint + arc unit

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