mirror_zfs/module/icp/algs
Brian Behlendorf 18df6afdfc Fix -Wattribute-warning in edonr
The wrong union memory was being accessed in EdonRInit resulting in
a write beyond size of field compiler warning.  Reference the correct
member to resolve the warning.  The warning was correct and this in
case the mistake was harmless.

    In function ‘fortify_memcpy_chk’,
    inlined from ‘EdonRInit’ at zfs/module/icp/algs/edonr/edonr.c:494:3:
    ./include/linux/fortify-string.h:344:25: error: call to
    ‘__write_overflow_field’ declared with attribute warning:
    detected write beyond size of field (1st parameter);
    maybe use struct_group()? [-Werror=attribute-warning]

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #13528
Closes #13575
2022-06-27 14:19:04 -07:00
..
aes Remove bcopy(), bzero(), bcmp() 2022-03-15 15:13:42 -07:00
blake3 Fix memory allocation issue for BLAKE3 context 2022-06-21 14:32:09 -07:00
edonr Fix -Wattribute-warning in edonr 2022-06-27 14:19:04 -07:00
modes Fix functions without a prototype 2022-05-06 11:57:37 -07:00
sha2 Remove bcopy(), bzero(), bcmp() 2022-03-15 15:13:42 -07:00
skein Forbid b{copy,zero,cmp}(). Don't include <strings.h> for <string.h> 2022-03-15 15:13:48 -07:00