mbedtls: Allow use of base64
Add a configuration and a Makefile rule to provide access to the mbedtls base64 support. Co-developed-by: Claude <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com>
This commit is contained in:
@@ -39,6 +39,7 @@ mbedtls_lib_crypto-$(CONFIG_$(PHASE_)PKCS5_MBEDTLS) += \
|
||||
$(MBEDTLS_LIB_DIR)/pkcs5.o
|
||||
mbedtls_lib_crypto-$(CONFIG_$(PHASE_)BLK_LUKS) += \
|
||||
$(MBEDTLS_LIB_DIR)/aes.o \
|
||||
$(MBEDTLS_LIB_DIR)/base64.o \
|
||||
$(MBEDTLS_LIB_DIR)/cipher.o \
|
||||
$(MBEDTLS_LIB_DIR)/cipher_wrap.o
|
||||
|
||||
|
||||
@@ -65,6 +65,7 @@
|
||||
#endif
|
||||
|
||||
#if CONFIG_IS_ENABLED(BLK_LUKS)
|
||||
#define MBEDTLS_BASE64_C
|
||||
#define MBEDTLS_CIPHER_C
|
||||
#define MBEDTLS_CIPHER_MODE_XTS
|
||||
#define MBEDTLS_AES_C
|
||||
|
||||
Reference in New Issue
Block a user