summaryrefslogtreecommitdiff
path: root/crypto/ecdh.c
diff options
context:
space:
mode:
authorZhen Lei <thunder.leizhen@huawei.com>2021-05-08 10:00:49 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2021-05-14 14:07:58 +0300
commitb01360384009ab066940b45f34880991ea7ccbfb (patch)
tree2401017d16f6dbb37c6d74723d51a393fa4ed14a /crypto/ecdh.c
parent06676aa1f455c74e3ad1624cea3acb9ed2ef71ae (diff)
downloadlinux-b01360384009ab066940b45f34880991ea7ccbfb.tar.xz
crypto: ux500 - Fix error return code in hash_hw_final()
Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Fixes: 8a63b1994c50 ("crypto: ux500 - Add driver for HASH hardware") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/ecdh.c')
0 files changed, 0 insertions, 0 deletions