diff options
author | 2022-06-02 07:22:34 +0000 | |
---|---|---|
committer | 2022-06-10 16:43:50 +0800 | |
commit | 7e8df1fc2d669d04c1f8a9e2d61d7afba1b43df4 (patch) | |
tree | 2232bbd406791012499650d71679d479e8b9e97d /lib/mpi/mpi-add.c | |
parent | crypto: octeontx2 - fix potential null pointer access (diff) | |
download | linux-dev-7e8df1fc2d669d04c1f8a9e2d61d7afba1b43df4.tar.xz linux-dev-7e8df1fc2d669d04c1f8a9e2d61d7afba1b43df4.zip |
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: 801b7d572c0a ("crypto: sun8i-ss - add hmac(sha1)")
Signed-off-by: Peng Wu <wupeng58@huawei.com>
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions