crypto: qat - fix invalid check for RSA keylen in fips mode
authorTadeusz Struk <tadeusz.struk@intel.com>
Tue, 21 Jul 2015 00:18:27 +0000 (17:18 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 21 Jul 2015 12:19:40 +0000 (20:19 +0800)
commit3cf080a7b747d800efc231d29bd3a07659c6aeb6
tree51d05da31d3197d1792f5317364224cdf063f33e
parenta9d4f82ff9de004fc4630d3f3fbc234b8cfe07b3
crypto: qat - fix invalid check for RSA keylen in fips mode

The condition checking allowed key length was invalid.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/qat_asym_algs.c