u-boot/lib/crypto
Ilias Apalodimas 8699af63b8 lib/crypto: Enable more algorithms in cert verification
Right now the code explicitly limits us to sha1,256 hashes with RSA2048
encryption.  But the limitation is artificial since U-Boot supports
a wider range of algorithms.

The internal image_get_[checksum|crypto]_algo() functions expect an
argument in the format of <checksum>,<crypto>.  So let's remove the size
checking and create the needed string on the fly in order to support
more hash/signing combinations.

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
2022-01-19 16:16:33 +01:00
..
asymmetric_type.c common: Drop linux/bug.h from common header 2020-05-18 21:19:23 -04:00
Kconfig lib: crypto: import pkcs7_verify.c from linux 2020-07-22 12:35:45 +02:00
Makefile lib: crypto: import pkcs7_verify.c from linux 2020-07-22 12:35:45 +02:00
pkcs7_parser.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
pkcs7_verify.c lib: Rename rsa-checksum.c to hash-checksum.c 2021-04-14 15:06:08 -04:00
pkcs7.asn1 lib: crypto: add pkcs7 message parser 2019-12-06 16:44:20 -05:00
public_key.c lib/crypto: Enable more algorithms in cert verification 2022-01-19 16:16:33 +01:00
rsa_helper.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
rsapubkey.asn1 lib: crypto: add rsa public key parser 2019-12-06 16:44:20 -05:00
x509_akid.asn1 lib: crypto: add x509 parser 2019-12-06 16:44:20 -05:00
x509_cert_parser.c lib: crypto: enable x509_check_for_self_signed() 2020-07-22 12:35:04 +02:00
x509_public_key.c lib: Rename rsa-checksum.c to hash-checksum.c 2021-04-14 15:06:08 -04:00
x509.asn1 lib: crypto: add x509 parser 2019-12-06 16:44:20 -05:00