diff options
author | Gary R Hook <gary.hook@amd.com> | 2017-07-17 16:16:42 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-07-28 05:58:06 -0400 |
commit | e28c190db66830c04b403b7eba7f8a5b53c22ffc (patch) | |
tree | 9bf7a348288769ba4396d3e9741fd2ce64b398d5 /drivers/crypto/ccp/ccp-dev-v5.c | |
parent | ceeec0afd684fdfde285469df0ead6c3ab53513e (diff) |
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-v5.c')
-rw-r--r-- | drivers/crypto/ccp/ccp-dev-v5.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/crypto/ccp/ccp-dev-v5.c b/drivers/crypto/ccp/ccp-dev-v5.c index 5f9e82beadfd..6ace6dd5a239 100644 --- a/drivers/crypto/ccp/ccp-dev-v5.c +++ b/drivers/crypto/ccp/ccp-dev-v5.c | |||
@@ -1112,6 +1112,7 @@ const struct ccp_vdata ccpv5a = { | |||
1112 | .setup = ccp5_config, | 1112 | .setup = ccp5_config, |
1113 | .perform = &ccp5_actions, | 1113 | .perform = &ccp5_actions, |
1114 | .offset = 0x0, | 1114 | .offset = 0x0, |
1115 | .rsamax = CCP5_RSA_MAX_WIDTH, | ||
1115 | }; | 1116 | }; |
1116 | 1117 | ||
1117 | const struct ccp_vdata ccpv5b = { | 1118 | const struct ccp_vdata ccpv5b = { |
@@ -1120,4 +1121,5 @@ const struct ccp_vdata ccpv5b = { | |||
1120 | .setup = ccp5other_config, | 1121 | .setup = ccp5other_config, |
1121 | .perform = &ccp5_actions, | 1122 | .perform = &ccp5_actions, |
1122 | .offset = 0x0, | 1123 | .offset = 0x0, |
1124 | .rsamax = CCP5_RSA_MAX_WIDTH, | ||
1123 | }; | 1125 | }; |