crypto: qat - fix address leaking of RSA public exponent

Signed-off-by: Tudor Ambarus <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
Tudor Ambarus 2016-03-23 17:06:40 +02:00 • committed by Herbert Xu
commit 738f98233b

View file

@ -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;
}