diff options
| author | 2024-11-04 12:17:45 +0000 | |
|---|---|---|
| committer | 2024-11-15 19:52:51 +0800 | |
| commit | 19630cf57233e845b6ac57c9c969a4888925467b (patch) | |
| tree | 6a9d280df33c532a764105590e961a17f2252746 /lib/crypto/mpi/mpi-cmp.c | |
| parent | crypto: caam - add error check to caam_rsa_set_priv_key_form (diff) | |
| download | wireguard-linux-19630cf57233e845b6ac57c9c969a4888925467b.tar.xz wireguard-linux-19630cf57233e845b6ac57c9c969a4888925467b.zip | |
crypto: bcm - add error check in the ahash_hmac_init function
The ahash_init functions may return fails. The ahash_hmac_init should
not return ok when ahash_init returns error. For an example, ahash_init
will return -ENOMEM when allocation memory is error.
Fixes: 9d12ba86f818 ("crypto: brcm - Add Broadcom SPU driver")
Signed-off-by: Chen Ridong <chenridong@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
