summaryrefslogtreecommitdiff
path: root/lib/crypto/rsapubkey.asn1
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-12-06 16:45:46 -0500
committerTom Rini <trini@konsulko.com>2019-12-06 16:45:46 -0500
commitd79ae6aa3087a6434b5ecdb51d20dca20c8e1596 (patch)
treeef06de49134213591e529ece83d4cec3095e893e /lib/crypto/rsapubkey.asn1
parentbead4f2f2c85e1bf39d2c80ef733f1325eb336bb (diff)
parentfb013eee68d08403572ef3c579f6688bbe33fd47 (diff)
Merge branch '2019-12-06-master-imports'
- Allow for the sysboot command, which is used to parse extlinux.conf files to be used without PXE support. There is no functional change here aside from fixing distro boot in a few cases where we actually lacked the ability to parse the extlinux.conf file - Add the x509/pkcs7 parsers from Linux, a pre-requisite to EFI Secure Boot support.
Diffstat (limited to 'lib/crypto/rsapubkey.asn1')
-rw-r--r--lib/crypto/rsapubkey.asn14
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/crypto/rsapubkey.asn1 b/lib/crypto/rsapubkey.asn1
new file mode 100644
index 0000000000..725498e461
--- /dev/null
+++ b/lib/crypto/rsapubkey.asn1
@@ -0,0 +1,4 @@
+RsaPubKey ::= SEQUENCE {
+ n INTEGER ({ rsa_get_n }),
+ e INTEGER ({ rsa_get_e })
+}