crypto: qat - Add RSA CRT mode
authorSalvatore Benedetto <salvatore.benedetto@intel.com>
Mon, 4 Jul 2016 16:21:40 +0000 (17:21 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 5 Jul 2016 15:05:28 +0000 (23:05 +0800)
commit879f77e9071f029e1c9bd5a75814ecf51370f846
tree8b290a6e0dee16e8c29c601fabf9b795377b65ad
parentc8afbc84042980ca6978ea4b140f848e2820b96a
crypto: qat - Add RSA CRT mode

Extend qat driver to use RSA CRT mode when all CRT related components are
present in the private key. Simplify code in qat_rsa_setkey by adding
qat_rsa_clear_ctx.

Signed-off-by: Salvatore Benedetto <salvatore.benedetto@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/qat_asym_algs.c