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 <raymond.mao@linaro.org>
This commit is contained in:
Raymond Mao
2024-10-03 14:50:35 -07:00
committed by Tom Rini
parent 65a7b48d5a
commit 513a15db0d
3 changed files with 14 additions and 1 deletions

View File

@@ -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__