diff options
author | Gary R Hook <gary.hook@amd.com> | 2017-07-17 22:16:42 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-07-28 11:58:06 +0200 |
commit | e28c190db66830c04b403b7eba7f8a5b53c22ffc (patch) | |
tree | 9bf7a348288769ba4396d3e9741fd2ce64b398d5 /drivers/crypto/ccp/sp-dev.h | |
parent | crypto: ccp - Add support for RSA on the CCP (diff) | |
download | linux-e28c190db66830c04b403b7eba7f8a5b53c22ffc.tar.xz linux-e28c190db66830c04b403b7eba7f8a5b53c22ffc.zip |
csrypto: ccp - Expand RSA support for a v5 ccp
A version 5 CCP can handle an RSA modulus up to 16k bits.
Signed-off-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ccp/sp-dev.h')
-rw-r--r-- | drivers/crypto/ccp/sp-dev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/ccp/sp-dev.h b/drivers/crypto/ccp/sp-dev.h index 3520da4e20cf..5ab486ade1ad 100644 --- a/drivers/crypto/ccp/sp-dev.h +++ b/drivers/crypto/ccp/sp-dev.h @@ -40,6 +40,7 @@ struct ccp_vdata { void (*setup)(struct ccp_device *); const struct ccp_actions *perform; const unsigned int offset; + const unsigned int rsamax; }; /* Structure to hold SP device data */ struct sp_dev_vdata { |