summaryrefslogtreecommitdiff
path: root/crypto/rsakey.asn1
diff options
context:
space:
mode:
authorTadeusz Struk <tadeusz.struk@intel.com>2015-06-16 20:31:01 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2015-06-17 12:03:53 +0300
commitcfc2bb32b31371d6bffc6bf2da3548f20ad48c83 (patch)
tree2231b8e6cd97e74078db3560303a30a4d270e9a9 /crypto/rsakey.asn1
parent3c339ab83fc09d9d91fb7e8b4a60e8ddc91de417 (diff)
downloadlinux-cfc2bb32b31371d6bffc6bf2da3548f20ad48c83.tar.xz
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.asn15
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 })
+}