]> git.proxmox.com Git - mirror_zfs.git/commit
Porting over some ICP code that was missed in #4760
authorTom Caputi <tcaputi@datto.com>
Mon, 10 Oct 2016 18:34:57 +0000 (14:34 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 10 Oct 2016 18:34:57 +0000 (11:34 -0700)
commit57f16600b981f38585a956ae674488640424f711
tree153e5936d5a22723202a150c0f1f771ba3e84cd5
parent502291b32c311a6b5cfbb5d4717bf9d8d4901f3d
Porting over some ICP code that was missed in #4760

When #4760 was merged tests were added to ensure that the new checksums
were working properly. However, some of the functionality for sha2
functions were not ported over, resulting in some Coverity defects and
code that would be unstable when needed in the future. This patch
simply ports over the missing code and fixes the defects in the
process.

Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tom Caputi <tcaputi@datto.com>
Issue #4760
Closes #5251
module/icp/io/sha2_mod.c