From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 28C88AC0FBA for ; Fri, 30 Aug 2024 09:07:38 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=4LiNXXdwPXaZeP2Fzp/ugohzEC4pc39h6YnQ4p/zgEg=; c=relaxed/simple; d=groups.io; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:To:Cc:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20240206; t=1725008858; v=1; b=pOWar5xf/tRNM7yxyitDj6lGcWDJnoVionpIq30zscxnTfrphNMXZAwj4WVfMo4xQ28cYf7R dRUIRABceqScMOtb0gaAaRvvXha7PkhRPK3B4BUqwp1mm8ZxAw62AcdzM00SAupZtPbEr2x/BZu gtCwaJZ/AkeCjN3rV59nzced6NXhTcub/3fMKWlhEA3vBjGAXYAhG3Zl5rPn6U+RuPKLkeOtfs+ 5brn6mICHPJG0OxBMT2KB6rEzyeafKgnMTrkYNBIydNUIos55kx2TK3ci0pmYKI1446hTNkBzsE Fz0yx7/n21YLl4eA8wsD0n8GWnr5pqAaaPtpRH5ohYS5w== X-Received: by 127.0.0.2 with SMTP id IAmHYY7687511xu1xggaTQOm; Fri, 30 Aug 2024 02:07:37 -0700 X-Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) by mx.groups.io with SMTP id smtpd.web11.8705.1725008851661818402 for ; Fri, 30 Aug 2024 02:07:31 -0700 X-Received: by mail-pg1-f179.google.com with SMTP id 41be03b00d2f7-7c691c8f8dcso1050805a12.1 for ; Fri, 30 Aug 2024 02:07:31 -0700 (PDT) X-Gm-Message-State: 5WtpcbgYgSDn9mSbVcwJNo4Ox7686176AA= X-Google-Smtp-Source: AGHT+IGeHdLavXyd5CGbxcdySeLfNt/XiUfZXPqMTuHumXKBWG3PU4wbsXhXG7oDd0Uf4efChTt2PHpfisS43ZM4UAs= X-Received: by 2002:a17:90b:204:b0:2c4:e333:35e5 with SMTP id 98e67ed59e1d1-2d8564b1fa5mr5556949a91.36.1725008850567; Fri, 30 Aug 2024 02:07:30 -0700 (PDT) MIME-Version: 1.0 References: <20240829192854.1414325-1-ardb+git@google.com> <20240829192854.1414325-3-ardb+git@google.com> In-Reply-To: <20240829192854.1414325-3-ardb+git@google.com> From: "Ilias Apalodimas" Date: Fri, 30 Aug 2024 12:06:54 +0300 Message-ID: Subject: Re: [edk2-devel] [PATCH edk2-platforms 2/2] Platform/StMmRpmb: Switch to MbedTls for crypto To: Ard Biesheuvel Cc: devel@edk2.groups.io, Ard Biesheuvel Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Fri, 30 Aug 2024 02:07:31 -0700 Resent-From: ilias.apalodimas@linaro.org Reply-To: devel@edk2.groups.io,ilias.apalodimas@linaro.org List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset="UTF-8" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=pOWar5xf; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=linaro.org (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io On Thu, 29 Aug 2024 at 22:29, Ard Biesheuvel wrote: > > From: Ard Biesheuvel > > MbedTls is much smaller than OpenSSL, and does not require a softfloat > library on 32-bit ARM. So use that instead. > > Note that we still need to resolve OpensslLib, given that MbedTlsLib has > a dependency on it (but only for SM3 digital signatures, which are not > used here) > > Signed-off-by: Ard Biesheuvel > --- > Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRpmb.dsc | 8 +++----- > 1 file changed, 3 insertions(+), 5 deletions(-) > > diff --git a/Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRpmb.dsc b/Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRpmb.dsc > index 54c7a63b4157..c54b235d4ac3 100644 > --- a/Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRpmb.dsc > +++ b/Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRpmb.dsc > @@ -75,16 +75,14 @@ [LibraryClasses] > # > NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf > > -[LibraryClasses.ARM] > - ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf > - > [LibraryClasses.common.MM_STANDALONE] > HobLib|StandaloneMmPkg/Library/StandaloneMmHobLib/StandaloneMmHobLib.inf > MmServicesTableLib|MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf > MemoryAllocationLib|StandaloneMmPkg/Library/StandaloneMmMemoryAllocationLib/StandaloneMmMemoryAllocationLib.inf > > IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf > - OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf > + MbedTlsLib|CryptoPkg/Library/MbedTlsLib/MbedTlsLib.inf > + OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf > PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf > SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf > TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf > @@ -151,7 +149,7 @@ [Components.common] > MdeModulePkg/Universal/Variable/RuntimeDxe/VariableStandaloneMm.inf { > > AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf > - BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf > + BaseCryptLib|CryptoPkg/Library/BaseCryptLibMbedTls/SmmCryptLib.inf > DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf > VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf > NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf > -- > 2.46.0.469.g59c65b2a67-goog > Reviewed-by: Ilias Apalodimas -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120442): https://edk2.groups.io/g/devel/message/120442 Mute This Topic: https://groups.io/mt/108176226/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-