diff options
author | Gary R Hook <gary.hook@amd.com> | 2017-07-17 23:16:42 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-07-28 12:58:06 +0300 |
commit | e28c190db66830c04b403b7eba7f8a5b53c22ffc (patch) | |
tree | 9bf7a348288769ba4396d3e9741fd2ce64b398d5 /drivers/crypto/ccp/ccp-dev-v3.c | |
parent | ceeec0afd684fdfde285469df0ead6c3ab53513e (diff) | |
download | linux-e28c190db66830c04b403b7eba7f8a5b53c22ffc.tar.xz |
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/ccp-dev-v3.c')
-rw-r--r-- | drivers/crypto/ccp/ccp-dev-v3.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/ccp/ccp-dev-v3.c b/drivers/crypto/ccp/ccp-dev-v3.c index c2861749e2ad..240bebbcb8ac 100644 --- a/drivers/crypto/ccp/ccp-dev-v3.c +++ b/drivers/crypto/ccp/ccp-dev-v3.c @@ -597,4 +597,5 @@ const struct ccp_vdata ccpv3 = { .setup = NULL, .perform = &ccp3_actions, .offset = 0x20000, + .rsamax = CCP_RSA_MAX_WIDTH, }; |