diff mbox series

[v5,27/27] configs: enable MbedTLS as default setting

Message ID 20240731172556.1348487-28-raymond.mao@linaro.org
State Changes Requested
Delegated to: Tom Rini
Headers show
Series Integrate MbedTLS v3.6 LTS with U-Boot | expand

Commit Message

Raymond Mao July 31, 2024, 5:25 p.m. UTC
Enable MbedTLS as default setting for qemu arm64

Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
---
Changes in v2
- None.
Changes in v3
- None.
Changes in v4
- None.
Changes in v5
- Remove unused config MBEDTLS_LIB_TLS.
- Remove EFI_SECURE_BOOT from the default config.

 configs/qemu_arm64_defconfig | 3 +++
 configs/sandbox_defconfig    | 3 +++
 2 files changed, 6 insertions(+)

Comments

Tom Rini Aug. 1, 2024, 9:16 p.m. UTC | #1
On Wed, Jul 31, 2024 at 10:25:37AM -0700, Raymond Mao wrote:

> Enable MbedTLS as default setting for qemu arm64
> 
> Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
> ---
> Changes in v2
> - None.
> Changes in v3
> - None.
> Changes in v4
> - None.
> Changes in v5
> - Remove unused config MBEDTLS_LIB_TLS.
> - Remove EFI_SECURE_BOOT from the default config.
> 
>  configs/qemu_arm64_defconfig | 3 +++
>  configs/sandbox_defconfig    | 3 +++
>  2 files changed, 6 insertions(+)
> 
> diff --git a/configs/qemu_arm64_defconfig b/configs/qemu_arm64_defconfig
> index 7e166f43908..22d38608842 100644
> --- a/configs/qemu_arm64_defconfig
> +++ b/configs/qemu_arm64_defconfig
> @@ -67,4 +67,7 @@ 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
> 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

Please run this through savedefconfig as I believe it's just one line,
not 3, in the end.
diff mbox series

Patch

diff --git a/configs/qemu_arm64_defconfig b/configs/qemu_arm64_defconfig
index 7e166f43908..22d38608842 100644
--- a/configs/qemu_arm64_defconfig
+++ b/configs/qemu_arm64_defconfig
@@ -67,4 +67,7 @@  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
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