lib: crypto: add rsa public key parser
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Wed, 13 Nov 2019 00:44:59 +0000 (09:44 +0900)
committerTom Rini <trini@konsulko.com>
Fri, 6 Dec 2019 21:44:20 +0000 (16:44 -0500)
commit9b933bf6f4fa4db2f8ab94d3b977b7fefa2644dd
treedd8f930e0c77879b93f183e38498d9d2a6d9a7d4
parentc4e961ecec994059dbdd5f34b58454d5243ad8f0
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>
include/crypto/internal/rsa.h [new file with mode: 0644]
lib/crypto/Kconfig
lib/crypto/Makefile
lib/crypto/rsa_helper.c [new file with mode: 0644]
lib/crypto/rsapubkey.asn1 [new file with mode: 0644]