]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: rsa - return raw integers for the ASN.1 parser
authorTudor Ambarus <tudor-dan.ambarus@nxp.com>
Tue, 14 Jun 2016 13:14:58 +0000 (16:14 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 15 Jun 2016 09:07:54 +0000 (17:07 +0800)
commit9679baf6408e1bf9197d749591a4900c9c683f2d
tree269fd7cdc654e79e2f3ff1b4b9c1ca149d56415d
parentce70edb7e9c2e004147e66b0d774c8305ee9f633
crypto: rsa - return raw integers for the ASN.1 parser

Return the raw key with no other processing so that the caller
can copy it or MPI parse it, etc.

The scope is to have only one ANS.1 parser for all RSA
implementations.

Update the RSA software implementation so that it does
the MPI conversion on top.

Signed-off-by: Tudor Ambarus <tudor-dan.ambarus@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/rsa.c
crypto/rsa_helper.c
include/crypto/internal/rsa.h