commit | 6391723293bb55f05b43973bbbc7a06822b50555 | [log] [tgz] |
---|---|---|
author | Tom Lendacky <thomas.lendacky@amd.com> | Wed Jul 30 15:41:32 2014 -0500 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Aug 01 22:36:13 2014 +0800 |
tree | 7135736b047b64fbdba25688a06f45ca6e5c5bff | |
parent | 2fc0d258bc5f88de31d1d2e239a3521e2a6535f8 [diff] |
crypto: ccp - Do not sign extend input data to CCP 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>