mirror_zfs/module/icp/algs/modes
Ubuntu bf01567e4e cppcheck: (error) Uninitialized variable
Resolve the following uninitialized variable warnings.  In practice
these were unreachable due to the goto.  Replacing the goto with a
return resolves the warning and yields more readable code.

[module/icp/algs/modes/ccm.c:892]: (error) Uninitialized variable: ccm_param
[module/icp/algs/modes/ccm.c:893]: (error) Uninitialized variable: ccm_param
[module/icp/algs/modes/gcm.c:564]: (error) Uninitialized variable: gcm_param
[module/icp/algs/modes/gcm.c:565]: (error) Uninitialized variable: gcm_param
[module/icp/algs/modes/gcm.c:599]: (error) Uninitialized variable: gmac_param
[module/icp/algs/modes/gcm.c:600]: (error) Uninitialized variable: gmac_param

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #9732
2020-01-22 13:49:06 -08:00
..
cbc.c Illumos Crypto Port module added to enable native encryption in zfs 2016-07-20 10:43:30 -07:00
ccm.c cppcheck: (error) Uninitialized variable 2020-01-22 13:49:06 -08:00
ctr.c codebase style improvements for OpenZFS 6459 port 2017-01-22 13:25:40 -08:00
ecb.c Illumos Crypto Port module added to enable native encryption in zfs 2016-07-20 10:43:30 -07:00
gcm_generic.c Add support for selecting encryption backend 2018-08-02 11:59:24 -07:00
gcm_pclmulqdq.c Linux 5.0 compat: SIMD compatibility 2020-01-22 13:49:01 -08:00
gcm.c cppcheck: (error) Uninitialized variable 2020-01-22 13:49:06 -08:00
modes.c Illumos Crypto Port module added to enable native encryption in zfs 2016-07-20 10:43:30 -07:00