diff options
author | Tudor Ambarus <tudor-dan.ambarus@nxp.com> | 2016-03-23 18:06:40 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-04-05 15:35:52 +0300 |
commit | 738f98233b94db55607f97a76f9699efc4217276 (patch) | |
tree | 8a29ffb8f273e3f3699338c2cd4b2a983b2f8fac /drivers/crypto | |
parent | aa8b6dd4b06bab62ec7f8972f9e66782dbc23d60 (diff) | |
download | linux-738f98233b94db55607f97a76f9699efc4217276.tar.xz |
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>
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/qat/qat_common/qat_asym_algs.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |