Skip to content
Commit 7e8df1fc authored by Peng Wu's avatar Peng Wu Committed by Herbert Xu
Browse files

crypto: sun8i-ss - fix a NULL vs IS_ERR() check in sun8i_ss_hashkey



The crypto_alloc_shash() function never returns NULL. It returns error
pointers.

Fixes: 801b7d57 ("crypto: sun8i-ss - add hmac(sha1)")
Signed-off-by: default avatarPeng Wu <wupeng58@huawei.com>
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent b03c0dc0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment