crypto: qat - fix address leaking of RSA public exponent

Signed-off-by: Tudor Ambarus <tudor-dan.ambarus@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Tudor Ambarus 2016-03-23 17:06:40 +02:00 committed by Herbert Xu
parent aa8b6dd4b0
commit 738f98233b
1 changed files with 1 additions and 1 deletions

View File

@ -711,7 +711,7 @@ static void qat_rsa_exit_tfm(struct crypto_akcipher *tfm)
} }
qat_crypto_put_instance(ctx->inst); qat_crypto_put_instance(ctx->inst);
ctx->n = NULL; ctx->n = NULL;
ctx->d = NULL; ctx->e = NULL;
ctx->d = NULL; ctx->d = NULL;
} }