u-boot/lib/crypto
AKASHI Takahiro b124efc09f lib: crypto: add mscode_parser
In MS authenticode, pkcs7 should have data in its contentInfo field.
This data is tagged with SpcIndirectData type and, for a signed PE image,
provides a image's message digest as SpcPeImageData.

This parser is used in image authentication to parse the field and
retrieve a message digest.

Imported from linux v5.19-rc, crypto/asymmetric_keys/mscode*.
Checkpatch.pl generates tones of warnings, but those are not fixed
for the sake of maintainability (importing from another source).

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
2022-07-05 14:37:16 +02:00
..
asymmetric_type.c common: Drop linux/bug.h from common header 2020-05-18 21:19:23 -04:00
Kconfig lib: crypto: add mscode_parser 2022-07-05 14:37:16 +02:00
Makefile lib: crypto: add mscode_parser 2022-07-05 14:37:16 +02:00
mscode.asn1 lib: crypto: add mscode_parser 2022-07-05 14:37:16 +02:00
mscode_parser.c lib: crypto: add mscode_parser 2022-07-05 14:37:16 +02:00
pkcs7.asn1 lib: crypto: add pkcs7 message parser 2019-12-06 16:44:20 -05:00
pkcs7_parser.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
pkcs7_verify.c lib/crypto: support sha384/sha512 in x509/pkcs7 2022-04-11 11:39:19 -04: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.asn1 lib: crypto: add x509 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/crypto: support sha384/sha512 in x509/pkcs7 2022-04-11 11:39:19 -04:00