linux-stable/drivers/crypto/hisilicon/hpre
Weili Qian 51fa916b81 crypto: hisilicon/hpre - fix memory leak in hpre_curve25519_src_init()
hpre_curve25519_src_init() allocates memory for 'ptr' before calling
memcmp(). If memcmp() returns 0, the function will return '-EINVAL'
without freeing memory.

Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2021-12-17 16:59:48 +11:00
..
hpre.h crypto: hisilicon/qm - move 'CURRENT_QM' code to qm.c 2021-03-26 20:15:57 +11:00
hpre_crypto.c crypto: hisilicon/hpre - fix memory leak in hpre_curve25519_src_init() 2021-12-17 16:59:48 +11:00
hpre_main.c crypto: hisilicon - modify the value of engine type rate 2021-11-26 16:25:17 +11:00
Makefile