From patchwork Fri Dec 6 04:22:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aashvij Shenai X-Patchwork-Id: 53746 X-Patchwork-Delegate: reatmon@ti.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0AD4FE7716F for ; Fri, 6 Dec 2024 04:22:48 +0000 (UTC) Received: from lelvem-ot01.ext.ti.com (lelvem-ot01.ext.ti.com [198.47.23.234]) by mx.groups.io with SMTP id smtpd.web11.30094.1733458961095313035 for ; Thu, 05 Dec 2024 20:22:41 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=d0lryMmC; spf=pass (domain: ti.com, ip: 198.47.23.234, mailfrom: a-shenai@ti.com) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelvem-ot01.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 4B64MeVB2304527 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 5 Dec 2024 22:22:40 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1733458960; bh=Jbi2LuLCHzNws2p8gmYpd9FkJxYrjYk7JdAxMN6bLJQ=; h=From:To:CC:Subject:Date; b=d0lryMmCozxEM9y6ZDkVsVX5U0Ax28Caqxgth27i/xJYayhTp1xYLSYbpwT166qyw 7YSZtqbT0JV2cIRVnQmuvfilHp87cIGZo0r++b2aK8kEfE2FMUg2seiq053HrTlbeN /UoR6yy25FJ2wgmc2oBM4GUnQ+SxUF1kiQyoFc/s= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 4B64MeVS099245 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 5 Dec 2024 22:22:40 -0600 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 5 Dec 2024 22:22:40 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 5 Dec 2024 22:22:40 -0600 Received: from aashvij.dhcp.ti.com (aashvij.dhcp.ti.com [172.24.227.252]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 4B64MbxG104404; Thu, 5 Dec 2024 22:22:38 -0600 From: Aashvij Shenai To: , , CC: , Subject: [meta-ti][master/scarthgap][PATCH v1] am62p: PRNG: Remove software PRNG Date: Fri, 6 Dec 2024 09:52:20 +0530 Message-ID: <20241206042220.1063902-1-a-shenai@ti.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 06 Dec 2024 04:22:48 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/18084 With the latest TIFS fix that is integrated into SDK, AM62P is able to leverage the hardware-TRNG instead of having to fallback into the software-PRNG. Testlogs: http://serenity.dal.design.ti.com:7777/wikadipamu.yaml https://gist.github.com/AashvijShenai/9ea3e128ab29f703c2b6d988cfd0b82a Signed-off-by: Aashvij Shenai --- meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc b/meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc index 43b8ce1c..f131f1ff 100644 --- a/meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc +++ b/meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc @@ -6,7 +6,7 @@ EXTRA_OEMAKE:remove = "CFG_MAP_EXT_DT_SECURE=y" EXTRA_OEMAKE:append:k3 = "${@ ' CFG_CONSOLE_UART='+ d.getVar('OPTEE_K3_USART') if d.getVar('OPTEE_K3_USART') else ''}" EXTRA_OEMAKE:append:am62xx = " CFG_TEE_CORE_LOG_LEVEL=1" -EXTRA_OEMAKE:append:am62pxx = " CFG_WITH_SOFTWARE_PRNG=y CFG_TEE_CORE_LOG_LEVEL=1" +EXTRA_OEMAKE:append:am62pxx = " CFG_TEE_CORE_LOG_LEVEL=1" EXTRA_OEMAKE:append:am62axx = " CFG_TEE_CORE_LOG_LEVEL=1" EXTRA_OEMAKE:append:j722s = " CFG_TEE_CORE_LOG_LEVEL=1"