crypto: rsa - limit supported key lengths
authorTadeusz Struk <tadeusz.struk@intel.com>
Wed, 15 Jul 2015 22:28:43 +0000 (15:28 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 17 Jul 2015 13:20:19 +0000 (21:20 +0800)
commit6e8ec66c3d9cebcbf71d66f92e40b5d7e1d1f490
tree89835b740b99039e2c4fc667cae8132e0258c274
parenta990532023b903b10cf14736241cdd138e4bc92c
crypto: rsa - limit supported key lengths

Introduce constrains for RSA keys lengths.
Only key lengths of 512, 1024, 1536, 2048, 3072, and 4096 bits
will be supported.

Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/rsa.c