#
36b661dc |
|
11-Jul-2022 |
Tom Rini <trini@konsulko.com> |
Merge branch 'next'
|
#
b340199f |
|
10-Jun-2022 |
Tom Rini <trini@konsulko.com> |
spl: Ensure all SPL symbols in Kconfig have some SPL dependency Tighten up symbol dependencies in a number of places. Ensure that a SPL specific option has at least a direct dependency on SPL. In places where it's clear that we depend on something more specific, use that dependency instead. This means in a very small number of places we can drop redundant dependencies. Reported-by: Pali Rohár <pali@kernel.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
b124efc0 |
|
04-Jul-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
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> |
#
b7463f19 |
|
28-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Make ASYMMETRIC_KEY_TYPE depend on FIT_SIGNATURE Add this dependency to avoid a build error if FIT_SIGNATURE is not enabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
e44ec9f7 |
|
28-Mar-2022 |
Philippe Reynes <philippe.reynes@softathome.com> |
lib: crypto: allow to build crypyo in SPL This commit adds the options: - SPL_ASYMMETRIC_KEY_TYPE - SPL_ASYMMETRIC_PUBLIC_KEY_SUBTYPE - SPL_RSA_PUBLIC_KEY_PARSER Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com> |
#
063499e3 |
|
21-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
lib: crypto: import pkcs7_verify.c from linux The file, pkcs7_verify.c, will now be imported from linux code (crypto/asymmetric_keys/pkcs7_verify.c in 5.7) and modified to fit into U-Boot environment. In particular, pkcs7_verify_one() function will be used in a later patch to rework signature verification logic aiming to support intermediate certificates in "chain of trust." Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
e85a787c |
|
12-Nov-2019 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
lib: crypto: add pkcs7 message parser Imported from linux kernel v5.3: pkcs7.asn1 without changes pkcs7.h with changes marked as __UBOOT__ pkcs7_parser.h without changes pkcs7_parser.c with changes marked as __UBOOT__ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
b4adf627 |
|
12-Nov-2019 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
lib: crypto: add x509 parser Imported from linux kernel v5.3: x509.asn1 without changes x509_akid.asn1 without changes x509_parser.h without changes x509_cert_parser.c with changes marked as __UBOOT__ x509_public_key.c with changes marked as __UBOOT__ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
9b933bf6 |
|
12-Nov-2019 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
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> |
#
c4e961ec |
|
12-Nov-2019 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
lib: crypto: add public key utility Imported from linux kernel v5.3: asymmetric-type.h with changes marked as __UBOOT__ asymmetric_type.c with changes marked as __UBOOT__ public_key.h with changes marked as __UBOOT__ public_key.c with changes marked as __UBOOT__ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
b124efc0 |
|
04-Jul-2022 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
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> |
#
b7463f19 |
|
28-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Make ASYMMETRIC_KEY_TYPE depend on FIT_SIGNATURE Add this dependency to avoid a build error if FIT_SIGNATURE is not enabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
e44ec9f7 |
|
28-Mar-2022 |
Philippe Reynes <philippe.reynes@softathome.com> |
lib: crypto: allow to build crypyo in SPL This commit adds the options: - SPL_ASYMMETRIC_KEY_TYPE - SPL_ASYMMETRIC_PUBLIC_KEY_SUBTYPE - SPL_RSA_PUBLIC_KEY_PARSER Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com> |
#
063499e3 |
|
21-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
lib: crypto: import pkcs7_verify.c from linux The file, pkcs7_verify.c, will now be imported from linux code (crypto/asymmetric_keys/pkcs7_verify.c in 5.7) and modified to fit into U-Boot environment. In particular, pkcs7_verify_one() function will be used in a later patch to rework signature verification logic aiming to support intermediate certificates in "chain of trust." Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
e85a787c |
|
12-Nov-2019 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
lib: crypto: add pkcs7 message parser Imported from linux kernel v5.3: pkcs7.asn1 without changes pkcs7.h with changes marked as __UBOOT__ pkcs7_parser.h without changes pkcs7_parser.c with changes marked as __UBOOT__ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
b4adf627 |
|
12-Nov-2019 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
lib: crypto: add x509 parser Imported from linux kernel v5.3: x509.asn1 without changes x509_akid.asn1 without changes x509_parser.h without changes x509_cert_parser.c with changes marked as __UBOOT__ x509_public_key.c with changes marked as __UBOOT__ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
9b933bf6 |
|
12-Nov-2019 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
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> |
#
c4e961ec |
|
12-Nov-2019 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
lib: crypto: add public key utility Imported from linux kernel v5.3: asymmetric-type.h with changes marked as __UBOOT__ asymmetric_type.c with changes marked as __UBOOT__ public_key.h with changes marked as __UBOOT__ public_key.c with changes marked as __UBOOT__ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
b7463f19 |
|
28-Feb-2022 |
Simon Glass <sjg@chromium.org> |
Make ASYMMETRIC_KEY_TYPE depend on FIT_SIGNATURE Add this dependency to avoid a build error if FIT_SIGNATURE is not enabled. Signed-off-by: Simon Glass <sjg@chromium.org> |
#
e44ec9f7 |
|
28-Mar-2022 |
Philippe Reynes <philippe.reynes@softathome.com> |
lib: crypto: allow to build crypyo in SPL This commit adds the options: - SPL_ASYMMETRIC_KEY_TYPE - SPL_ASYMMETRIC_PUBLIC_KEY_SUBTYPE - SPL_RSA_PUBLIC_KEY_PARSER Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com> |
#
063499e3 |
|
21-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
lib: crypto: import pkcs7_verify.c from linux The file, pkcs7_verify.c, will now be imported from linux code (crypto/asymmetric_keys/pkcs7_verify.c in 5.7) and modified to fit into U-Boot environment. In particular, pkcs7_verify_one() function will be used in a later patch to rework signature verification logic aiming to support intermediate certificates in "chain of trust." Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
e85a787c |
|
12-Nov-2019 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
lib: crypto: add pkcs7 message parser Imported from linux kernel v5.3: pkcs7.asn1 without changes pkcs7.h with changes marked as __UBOOT__ pkcs7_parser.h without changes pkcs7_parser.c with changes marked as __UBOOT__ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
b4adf627 |
|
12-Nov-2019 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
lib: crypto: add x509 parser Imported from linux kernel v5.3: x509.asn1 without changes x509_akid.asn1 without changes x509_parser.h without changes x509_cert_parser.c with changes marked as __UBOOT__ x509_public_key.c with changes marked as __UBOOT__ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
9b933bf6 |
|
12-Nov-2019 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
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> |
#
c4e961ec |
|
12-Nov-2019 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
lib: crypto: add public key utility Imported from linux kernel v5.3: asymmetric-type.h with changes marked as __UBOOT__ asymmetric_type.c with changes marked as __UBOOT__ public_key.h with changes marked as __UBOOT__ public_key.c with changes marked as __UBOOT__ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
e44ec9f7 |
|
28-Mar-2022 |
Philippe Reynes <philippe.reynes@softathome.com> |
lib: crypto: allow to build crypyo in SPL This commit adds the options: - SPL_ASYMMETRIC_KEY_TYPE - SPL_ASYMMETRIC_PUBLIC_KEY_SUBTYPE - SPL_RSA_PUBLIC_KEY_PARSER Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com> |
#
063499e3 |
|
21-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
lib: crypto: import pkcs7_verify.c from linux The file, pkcs7_verify.c, will now be imported from linux code (crypto/asymmetric_keys/pkcs7_verify.c in 5.7) and modified to fit into U-Boot environment. In particular, pkcs7_verify_one() function will be used in a later patch to rework signature verification logic aiming to support intermediate certificates in "chain of trust." Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
e85a787c |
|
12-Nov-2019 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
lib: crypto: add pkcs7 message parser Imported from linux kernel v5.3: pkcs7.asn1 without changes pkcs7.h with changes marked as __UBOOT__ pkcs7_parser.h without changes pkcs7_parser.c with changes marked as __UBOOT__ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
b4adf627 |
|
12-Nov-2019 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
lib: crypto: add x509 parser Imported from linux kernel v5.3: x509.asn1 without changes x509_akid.asn1 without changes x509_parser.h without changes x509_cert_parser.c with changes marked as __UBOOT__ x509_public_key.c with changes marked as __UBOOT__ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
9b933bf6 |
|
12-Nov-2019 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
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> |
#
c4e961ec |
|
12-Nov-2019 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
lib: crypto: add public key utility Imported from linux kernel v5.3: asymmetric-type.h with changes marked as __UBOOT__ asymmetric_type.c with changes marked as __UBOOT__ public_key.h with changes marked as __UBOOT__ public_key.c with changes marked as __UBOOT__ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
063499e3 |
|
21-Jul-2020 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
lib: crypto: import pkcs7_verify.c from linux The file, pkcs7_verify.c, will now be imported from linux code (crypto/asymmetric_keys/pkcs7_verify.c in 5.7) and modified to fit into U-Boot environment. In particular, pkcs7_verify_one() function will be used in a later patch to rework signature verification logic aiming to support intermediate certificates in "chain of trust." Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
e85a787c |
|
12-Nov-2019 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
lib: crypto: add pkcs7 message parser Imported from linux kernel v5.3: pkcs7.asn1 without changes pkcs7.h with changes marked as __UBOOT__ pkcs7_parser.h without changes pkcs7_parser.c with changes marked as __UBOOT__ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
b4adf627 |
|
12-Nov-2019 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
lib: crypto: add x509 parser Imported from linux kernel v5.3: x509.asn1 without changes x509_akid.asn1 without changes x509_parser.h without changes x509_cert_parser.c with changes marked as __UBOOT__ x509_public_key.c with changes marked as __UBOOT__ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
9b933bf6 |
|
12-Nov-2019 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
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> |
#
c4e961ec |
|
12-Nov-2019 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
lib: crypto: add public key utility Imported from linux kernel v5.3: asymmetric-type.h with changes marked as __UBOOT__ asymmetric_type.c with changes marked as __UBOOT__ public_key.h with changes marked as __UBOOT__ public_key.c with changes marked as __UBOOT__ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
e85a787c |
|
12-Nov-2019 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
lib: crypto: add pkcs7 message parser Imported from linux kernel v5.3: pkcs7.asn1 without changes pkcs7.h with changes marked as __UBOOT__ pkcs7_parser.h without changes pkcs7_parser.c with changes marked as __UBOOT__ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
b4adf627 |
|
12-Nov-2019 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
lib: crypto: add x509 parser Imported from linux kernel v5.3: x509.asn1 without changes x509_akid.asn1 without changes x509_parser.h without changes x509_cert_parser.c with changes marked as __UBOOT__ x509_public_key.c with changes marked as __UBOOT__ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |
#
9b933bf6 |
|
12-Nov-2019 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
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> |
#
c4e961ec |
|
12-Nov-2019 |
AKASHI Takahiro <takahiro.akashi@linaro.org> |
lib: crypto: add public key utility Imported from linux kernel v5.3: asymmetric-type.h with changes marked as __UBOOT__ asymmetric_type.c with changes marked as __UBOOT__ public_key.h with changes marked as __UBOOT__ public_key.c with changes marked as __UBOOT__ Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> |