diff options
author | Tadeusz Struk <tadeusz.struk@intel.com> | 2015-06-16 10:31:01 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-06-17 17:03:53 +0800 |
commit | cfc2bb32b31371d6bffc6bf2da3548f20ad48c83 (patch) | |
tree | 2231b8e6cd97e74078db3560303a30a4d270e9a9 /crypto/rsakey.asn1 | |
parent | 3c339ab83fc09d9d91fb7e8b4a60e8ddc91de417 (diff) |
crypto: rsa - add a new rsa generic implementation
Add a new rsa generic SW implementation.
This implements only cryptographic primitives.
Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Added select on ASN1.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/rsakey.asn1')
-rw-r--r-- | crypto/rsakey.asn1 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/rsakey.asn1 b/crypto/rsakey.asn1 new file mode 100644 index 000000000000..3c7b5df7b428 --- /dev/null +++ b/crypto/rsakey.asn1 @@ -0,0 +1,5 @@ +RsaKey ::= SEQUENCE { + n INTEGER ({ rsa_get_n }), + e INTEGER ({ rsa_get_e }), + d INTEGER ({ rsa_get_d }) +} |