crypto: ccp - Do not sign extend input data to CCP
authorTom Lendacky <thomas.lendacky@amd.com>
Wed, 30 Jul 2014 20:41:32 +0000 (15:41 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 1 Aug 2014 14:36:13 +0000 (22:36 +0800)
The CCP hardware interprets all numbers as unsigned numbers, therefore
sign extending input data is not valid.  Modify the function calls
for RSA and ECC to not perform sign extending.

This patch is based on the cryptodev-2.6 kernel tree.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

No differences found