From: Tudor Ambarus Date: Wed, 23 Mar 2016 15:06:40 +0000 (+0200) Subject: crypto: qat - fix address leaking of RSA public exponent X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=738f98233b94db55607f97a76f9699efc4217276;p=linux-beck.git crypto: qat - fix address leaking of RSA public exponent Signed-off-by: Tudor Ambarus Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/qat/qat_common/qat_asym_algs.c b/drivers/crypto/qat/qat_common/qat_asym_algs.c index 8dbbf0849436..05f49d4f94b2 100644 --- a/drivers/crypto/qat/qat_common/qat_asym_algs.c +++ b/drivers/crypto/qat/qat_common/qat_asym_algs.c @@ -711,7 +711,7 @@ static void qat_rsa_exit_tfm(struct crypto_akcipher *tfm) } qat_crypto_put_instance(ctx->inst); ctx->n = NULL; - ctx->d = NULL; + ctx->e = NULL; ctx->d = NULL; }