summaryrefslogtreecommitdiffstats
path: root/crypto/asymmetric_keys/x509_rsakey.asn1
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2016-02-09 16:18:01 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2016-02-09 16:18:01 +0800
commitf75516a81548074be331b3e41d2e3f448d1f8b8d (patch)
treeba6e557c7473389709cf7a3bc69e608dcd8584f2 /crypto/asymmetric_keys/x509_rsakey.asn1
parented1afac9145c4517a2c84f93e04a35046ea206e3 (diff)
downloadtalos-op-linux-f75516a81548074be331b3e41d2e3f448d1f8b8d.tar.gz
talos-op-linux-f75516a81548074be331b3e41d2e3f448d1f8b8d.zip
crypto: keys - Revert "convert public key to akcipher api"
This needs to go through the security tree so I'm reverting the patches for now. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/asymmetric_keys/x509_rsakey.asn1')
-rw-r--r--crypto/asymmetric_keys/x509_rsakey.asn14
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/asymmetric_keys/x509_rsakey.asn1 b/crypto/asymmetric_keys/x509_rsakey.asn1
new file mode 100644
index 000000000000..4ec7cc6532c1
--- /dev/null
+++ b/crypto/asymmetric_keys/x509_rsakey.asn1
@@ -0,0 +1,4 @@
+RSAPublicKey ::= SEQUENCE {
+ modulus INTEGER ({ rsa_extract_mpi }), -- n
+ publicExponent INTEGER ({ rsa_extract_mpi }) -- e
+ }
OpenPOWER on IntegriCloud