u-boot/lib/mbedtls
Raymond Mao 0708d54a56 mbedtls: remove incorrect attribute type checker
S/MIME Capabilities (OID: 1.2.840.113549.1.9.15) attributes are
expected to be algorithms but neither data nor MS Inderect Data,
thus the checker for data type is incorrect.

This patch fixes a capsule authentication failure with PKCS#7
message that contains S/MIME capabilities, which formed by the EDK2
GenerateCapsule tool.

S/MIME Capabilities are not common attributes in an EFI capsule,
thus this failure cannot be reproduced with the capsules generated
via mkeficapsule.

Fixes: 7de0d155cc ("mbedtls: add PKCS7 parser porting layer")
Reported-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
2025-04-06 10:02:57 -06:00
..
external/mbedtls mbedtls/external: remove broken git submodule 2025-02-13 09:53:18 -06:00
port mbedtls: access mbedtls private members in mscode and pkcs7 parser 2025-02-27 12:11:02 -06:00
Kconfig mbedtls: refactor mbedtls build for XPL 2025-02-27 12:11:02 -06:00
Makefile mbedtls: refactor mbedtls build for XPL 2025-02-27 12:11:02 -06:00
mbedtls_def_config.h mbedtls: refactor mbedtls build for XPL 2025-02-27 12:11:02 -06:00
md5.c mbedtls: add digest shim layer for MbedTLS 2024-10-14 17:58:31 -06:00
mscode_parser.c mbedtls: add MSCode parser porting layer 2024-10-14 17:58:48 -06:00
pkcs7_parser.c mbedtls: remove incorrect attribute type checker 2025-04-06 10:02:57 -06:00
public_key.c mbedtls: add public key porting layer 2024-10-14 17:58:43 -06:00
rsa_helper.c mbedtls: add RSA helper layer on MbedTLS 2024-10-14 17:58:50 -06:00
sha1.c mbedtls: add digest shim layer for MbedTLS 2024-10-14 17:58:31 -06:00
sha256.c lib: mbedtls: sha256: add support of key derivation 2025-01-18 17:12:47 -06:00
sha512.c mbedtls: add digest shim layer for MbedTLS 2024-10-14 17:58:31 -06:00
x509_cert_parser.c mbedtls: fix defects in coverity scan 2024-10-18 14:18:12 -06:00