From 41ff855986bbddc2fa2900eac1b884dcc0a7940b Mon Sep 17 00:00:00 2001 From: Emekcan Aras Date: Thu, 11 Jul 2024 12:47:09 +0100 Subject: [PATCH] bsp: Switch to software crypto in Secure-Enclave CC312 throws a parsing issue during RSA2048 decryption during the parsec tests. Switching to mbedcrypto backend in Secure-Enclave until the issue in the CC312 drivers are fixed. Signed-off-by: Emekcan Aras --- .dictionary | 4 ++++ .../trusted-firmware-m/trusted-firmware-m_%.bbappend | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 meta-arm/meta-arm-bsp/recipes-bsp/trusted-firmware-m/trusted-firmware-m_%.bbappend diff --git a/.dictionary b/.dictionary index 94cd492..732063a 100644 --- a/.dictionary +++ b/.dictionary @@ -16,6 +16,7 @@ bsp buildable BUILDIN cassini +CC312 cgroups COMPAT config @@ -56,6 +57,7 @@ LIBC Linaro linuxboot mandatoryvar +mbedcrypto MBPMIC mdev meta-cassini-bsp @@ -77,6 +79,7 @@ networkd no_cloud nooelint OCVM +OECMAKE opkg optee packagegroup @@ -92,6 +95,7 @@ README requireinclude requirenotfound RPROVIDER +RSA2048 SAST scarthgap sdcard diff --git a/meta-arm/meta-arm-bsp/recipes-bsp/trusted-firmware-m/trusted-firmware-m_%.bbappend b/meta-arm/meta-arm-bsp/recipes-bsp/trusted-firmware-m/trusted-firmware-m_%.bbappend new file mode 100644 index 0000000..4361509 --- /dev/null +++ b/meta-arm/meta-arm-bsp/recipes-bsp/trusted-firmware-m/trusted-firmware-m_%.bbappend @@ -0,0 +1,6 @@ +# SPDX-FileCopyrightText: Copyright 2024 Arm Limited and/or its +# affiliates +# +# SPDX-License-Identifier: MIT + +EXTRA_OECMAKE += "-DCC312_LEGACY_DRIVER_API_ENABLED=ON" -- GitLab