HomeFreeBSD

aesni: Remove misleading array bounds for aesni_decryt_ecb.

Description

aesni: Remove misleading array bounds for aesni_decryt_ecb.

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
Reviewed by: imp, emaste
Differential Revision: https://reviews.freebsd.org/D37547

(cherry picked from commit d256a06fe8bda8120a3e22434c53fdef076001d3)

Details

Provenance
jhbAuthored on Dec 7 2022, 8:32 PM
Reviewer
imp
Differential Revision
D37547: aesni: Remove misleading array bounds for aesni_decryt_ecb.
Parents
rGda0afdcc61e2: mlx5: Fix mismatch in array bounds.
Branches
Unknown
Tags
Unknown