diff options
| author | Raymond Mao <[email protected]> | 2024-10-03 14:50:35 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-10-14 17:58:49 -0600 |
| commit | 513a15db0dba24bc5e5dad971a2be1a4831a0037 (patch) | |
| tree | dec9d7c362b7ef7c0f91f94a433d5111c7ce9b03 /include/crypto/mscode.h | |
| parent | 65a7b48d5a1abb9439e8f5afaaf1b9643b08ed27 (diff) | |
lib/crypto: Adapt mscode_parser to MbedTLS
Previous patch has introduced MbedTLS porting layer for mscode parser,
here to adjust the header and makefiles accordingly.
Adding _LEGACY Kconfig for legacy mscode implementation.
Signed-off-by: Raymond Mao <[email protected]>
Diffstat (limited to 'include/crypto/mscode.h')
| -rw-r--r-- | include/crypto/mscode.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/crypto/mscode.h b/include/crypto/mscode.h index 551058b96e6..678e69001b9 100644 --- a/include/crypto/mscode.h +++ b/include/crypto/mscode.h @@ -9,6 +9,10 @@ #ifndef __UBOOT__ #include <crypto/hash_info.h> #endif +#if CONFIG_IS_ENABLED(MBEDTLS_LIB_X509) +#include <mbedtls/asn1.h> +#include <mbedtls/oid.h> +#endif struct pefile_context { #ifndef __UBOOT__ |
