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:
@@ -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__
|
||||
|
Reference in New Issue
Block a user