aesni: Remove misleading array bounds for aesni_decryt_ecb.
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 7 Dec 2022 20:32:19 +0000 (12:32 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 7 Dec 2022 20:32:19 +0000 (12:32 -0800)
commitd256a06fe8bda8120a3e22434c53fdef076001d3
tree71afed2e13889dad93497d2473734b9a0f97ef53
parent1f078120955947c85c54a8c088782ea5e4451eb5
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
sys/crypto/aesni/aesni_wrap.c