]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit64dc7f4e25310882ab1807633bb8973dd48f5458
tree89835b740b99039e2c4fc667cae8132e0258c274
parentd4d2781efa4d21ce84e49b73906ed227de62b87d
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