[PATCH v4 29/29] configs: enable MbedTLS as default setting

Ilias Apalodimas ilias.apalodimas at linaro.org
Wed Jul 3 13:56:27 CEST 2024


On Tue, 2 Jul 2024 at 21:35, Raymond Mao <raymond.mao at linaro.org> wrote:
>
> Enable MbedTLS as default setting for qemu arm64
>
> Signed-off-by: Raymond Mao <raymond.mao at linaro.org>
> ---
> Changes in v2
> - None.
> Changes in v3
> - None.
> Changes in v4
> - removed the unused CONFIG_MBEDTLS_LIB_TLS.
>
>  configs/qemu_arm64_defconfig | 4 ++++
>  configs/sandbox_defconfig    | 3 +++
>  2 files changed, 7 insertions(+)
>
> diff --git a/configs/qemu_arm64_defconfig b/configs/qemu_arm64_defconfig
> index 7e166f43908..9e2c490192c 100644
> --- a/configs/qemu_arm64_defconfig
> +++ b/configs/qemu_arm64_defconfig
> @@ -67,4 +67,8 @@ CONFIG_TPM2_MMIO=y
>  CONFIG_USB_EHCI_HCD=y
>  CONFIG_USB_EHCI_PCI=y
>  CONFIG_SEMIHOSTING=y
> +CONFIG_MBEDTLS_LIB=y
> +CONFIG_MBEDTLS_LIB_CRYPTO=y
> +CONFIG_MBEDTLS_LIB_X509=y
>  CONFIG_TPM=y
> +CONFIG_EFI_SECURE_BOOT=y
> diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
> index 93b52f2de5c..679bbf69936 100644
> --- a/configs/sandbox_defconfig
> +++ b/configs/sandbox_defconfig
> @@ -343,6 +343,9 @@ CONFIG_FS_CBFS=y
>  CONFIG_FS_CRAMFS=y
>  CONFIG_ADDR_MAP=y
>  CONFIG_CMD_DHRYSTONE=y
> +CONFIG_MBEDTLS_LIB=y
> +CONFIG_MBEDTLS_LIB_CRYPTO=y
> +CONFIG_MBEDTLS_LIB_X509=y
>  CONFIG_ECDSA=y
>  CONFIG_ECDSA_VERIFY=y
>  CONFIG_TPM=y
> --
> 2.25.1
>

Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>


More information about the U-Boot mailing list