commit | 4214284c5ae215651187d93febc6f11bcf609501 | [log] [tgz] |
---|---|---|
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | Wed Nov 13 09:44:59 2019 +0900 |
committer | Tom Rini <trini@konsulko.com> | Fri Dec 06 16:44:20 2019 -0500 |
tree | dd8f930e0c77879b93f183e38498d9d2a6d9a7d4 | |
parent | cbb1007044382545a396a9d4a8cd7250c77f486e [diff] [blame] |
lib: crypto: add rsa public key parser Imported from linux kernel v5.3: rsapubkey.asn1 without changes rsa.h without changes rsa_helper.c with changes marked as __UBOOT__ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
diff --git a/lib/crypto/rsapubkey.asn1 b/lib/crypto/rsapubkey.asn1 new file mode 100644 index 0000000..725498e --- /dev/null +++ b/lib/crypto/rsapubkey.asn1
@@ -0,0 +1,4 @@ +RsaPubKey ::= SEQUENCE { + n INTEGER ({ rsa_get_n }), + e INTEGER ({ rsa_get_e }) +}