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 89ECA7803CC for ; Thu, 9 May 2024 08:58:50 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=AerCRw4qKudxbGHnKN8D6BBo7FTtBJmHoHibotzSjT4=; c=relaxed/simple; d=groups.io; h=From:To:Cc:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Thread-Index: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:Content-Transfer-Encoding:Content-Language; s=20240206; t=1715245128; v=1; b=nczT0zOC00/cB/jqfvqXyKopkv60xuuO7SZKPAhXZ3Qgsq7GBujv7cdsa2qYSYxOiUK52gLa RO+QR6XfiD5L3+b5kQUbVaMeyMcWP+pfTYWe/RApvp4FAtlyZ4qcwK0og49KQ4h119rSB41uARn vMls0ZyREo8+4+u8/2wbXtVURwtG5KztR0FhQJ/mm26FXpnhRQ8wEtRQ+u8s/YS5kD17mMh3nyF vG9nxZKwRpXtvJdQuN8vGeyO5GePylYOn3UsycuJCYdVQM3m6SIIyg0g0uPctElHOejoybjzH+I WjD4evMS5E893x/wDz/vPTtS3iDwZw8Eb7EUtnkgRTrRw== X-Received: by 127.0.0.2 with SMTP id kdZOYY7687511xCwCQP3OR9h; Thu, 09 May 2024 01:58:48 -0700 X-Received: from cxsh.intel-email.com (cxsh.intel-email.com [121.46.250.151]) by mx.groups.io with SMTP id smtpd.web10.5749.1715245127053514966 for ; Thu, 09 May 2024 01:58:47 -0700 X-Received: from cxsh.intel-email.com (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id 5FCA8DDA789 for ; Thu, 9 May 2024 16:58:44 +0800 (CST) X-Received: from localhost (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id 5B4FCDDA7AF for ; Thu, 9 May 2024 16:58:44 +0800 (CST) X-Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by cxsh.intel-email.com (Postfix) with SMTP id AD25BDDA797 for ; Thu, 9 May 2024 16:58:37 +0800 (CST) X-Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP(SSL) for ; Thu, 09 May 2024 16:58:33 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 58.246.60.130 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming via groups.io" To: , , "'Hou, Wenxing'" Cc: "'Yao, Jiewen'" References: <20240509062700.2062-1-wenxing.hou@intel.com> In-Reply-To: Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIIHYzIDAwLzExXSBBZGQgbW9yZSBjcnlwdCBBUElzIGJhc2VkIG9uIE1iZWR0bHM=?= Date: Thu, 9 May 2024 16:58:36 +0800 Message-ID: <011101daa1ef$13f46390$3bdd2ab0$@byosoft.com.cn> MIME-Version: 1.0 Thread-Index: AQIZY4eUVJrAfXLfiSkkXGd1FPg3xgHZhwObAi/FXk8CirbCWrDcdGRA 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: Thu, 09 May 2024 01:58:48 -0700 Resent-From: gaoliming@byosoft.com.cn Reply-To: devel@edk2.groups.io,gaoliming@byosoft.com.cn List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: iuKFo3LHB3oAYtDa3yGrohsox7686176AA= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=nczT0zOC; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io Seemly, this change is new feature to add more crypt APIs based on Mbedtls. This patch set was submitted before soft feature freeze. But, it passed cod= e review after soft feature freeze starts.=20 Based on current rule, this patch set is not allowed to be merged for this stable tag 202405.=20 If you want to catch this stable tag, please raise this requirement to the mail list and collect the feedback.=20 Thanks Liming > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: devel@edk2.groups.io =B4=FA=B1= =ED Li, Yi > =B7=A2=CB=CD=CA=B1=BC=E4: 2024=C4=EA5=D4=C29=C8=D5 16:33 > =CA=D5=BC=FE=C8=CB: Hou, Wenxing ; gaoliming > ; devel@edk2.groups.io > =B3=AD=CB=CD: Yao, Jiewen > =D6=F7=CC=E2: Re: [edk2-devel] [PATCH v3 00/11] Add more crypt APIs based= on Mbedtls >=20 > This patch set was submitted before soft freeze and will not affect other existed > codes, I am OK to merge it. >=20 > Hi Liming, >=20 > Do you have any comments? I will merge it if no objections. >=20 > Thanks, > Yi >=20 > -----Original Message----- > From: Hou, Wenxing > Sent: Thursday, May 9, 2024 4:29 PM > To: Li, Yi1 ; devel@edk2.groups.io > Cc: Yao, Jiewen ; gaoliming > > Subject: RE: [PATCH v3 00/11] Add more crypt APIs based on Mbedtls >=20 > Hi, >=20 > Thanks for your feedback. > The new PR is: https://github.com/tianocore/edk2/pull/5645 >=20 > Could Li Yi help me merge the PR? >=20 > Thanks, > Wenxing >=20 > -----Original Message----- > From: Li, Yi1 > Sent: Thursday, May 9, 2024 2:54 PM > To: Hou, Wenxing ; devel@edk2.groups.io > Cc: Yao, Jiewen > Subject: RE: [PATCH v3 00/11] Add more crypt APIs based on Mbedtls >=20 > For this patch set: >=20 > Looks good to me. > Reviewed-by: Yi Li >=20 >=20 > -----Original Message----- > From: Hou, Wenxing > Sent: Thursday, May 9, 2024 2:27 PM > To: devel@edk2.groups.io > Cc: Yao, Jiewen ; Li, Yi1 > Subject: [PATCH v3 00/11] Add more crypt APIs based on Mbedtls >=20 > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4177 >=20 > Add AeadAesGcm/Pem(only RSA)/X509(only RSA)/More > RSA/PKCS5/pKCS7/Authenticode/Timestamp > implementation based on Mbedtls. >=20 > The patch has passed the EDKII CI check: > https://github.com/tianocore/edk2/pull/5552 >=20 > And the patch has passed unit_test in EDKII and integration test for platform. > And the patch hass passed the fuzz test: > https://github.com/tianocore/edk2-staging/commit/4f19398053c92e4f7791d4 > 68a184530b6ab89128 >=20 > v2 changes: > - Fix format variable name/hardcode number issue; > - Fix Pkcs7 memory leak; >=20 > v3 changes: > - Fix some issues form reviewer; > - Add SHA3/SM3 implementation; > - Update *.inf files; >=20 > Cc: Jiewen Yao > Cc: Yi Li > Signed-off-by: Wenxing Hou >=20 > Wenxing Hou (11): > CryptoPkg: Add AeadAesGcm based on Mbedtls > CryptoPkg: Add rand function for BaseCryptLibMbedTls > CryptoPkg: Add Pem APIs based on Mbedtls > CryptoPkg: Add X509 functions based on Mbedtls > CryptoPkg: Add Pkcs7 related functions based on Mbedtls > CryptoPkg: Add Pkcs5 functions based on Mbedtls > CryptoPkg: Add more RSA related functions based on Mbedtls > CryptoPkg: Add AuthenticodeVerify based on Mbedtls > CryptoPkg: Add ImageTimestampVerify based on Mbedtls > CryptoPkg: Update *.inf in BaseCryptLibMbedTls > Add SHA3/SM3 functions with openssl for Mbedtls >=20 > CryptoPkg/Include/Library/BaseCryptLib.h | 4 + > .../BaseCryptLibMbedTls/BaseCryptLib.inf | 47 +- > .../Cipher/CryptAeadAesGcm.c | 227 ++ > .../BaseCryptLibMbedTls/InternalCryptLib.h | 49 + > .../BaseCryptLibMbedTls/PeiCryptLib.inf | 27 +- > .../BaseCryptLibMbedTls/Pem/CryptPem.c | 138 ++ > .../Pk/CryptAuthenticode.c | 214 ++ > .../BaseCryptLibMbedTls/Pk/CryptPkcs1Oaep.c | 278 +++ > .../BaseCryptLibMbedTls/Pk/CryptPkcs5Pbkdf2.c | 100 + > .../Pk/CryptPkcs7Internal.h | 29 +- > .../BaseCryptLibMbedTls/Pk/CryptPkcs7Sign.c | 635 ++++++ > .../Pk/CryptPkcs7VerifyBase.c | 113 + > .../Pk/CryptPkcs7VerifyCommon.c | 1354 ++++++++++++ > .../Pk/CryptPkcs7VerifyEku.c | 689 ++++++ > .../BaseCryptLibMbedTls/Pk/CryptRsaExt.c | 352 +++ > .../BaseCryptLibMbedTls/Pk/CryptRsaPssSign.c | 140 > ++ .../Library/BaseCryptLibMbedTls/Pk/CryptTs.c | 381 ++++ > .../BaseCryptLibMbedTls/Pk/CryptX509.c | 1940 > +++++++++++++++++ > .../BaseCryptLibMbedTls/Rand/CryptRand.c | 114 + > .../BaseCryptLibMbedTls/Rand/CryptRandTsc.c | 114 + > .../BaseCryptLibMbedTls/RuntimeCryptLib.inf | 26 +- > .../BaseCryptLibMbedTls/SmmCryptLib.inf | 36 +- > .../BaseCryptLibMbedTls/TestBaseCryptLib.inf | 39 +- > CryptoPkg/Library/MbedTlsLib/MbedTlsLib.inf | 6 + > .../Library/MbedTlsLib/MbedTlsLibFull.inf | 6 + > 25 files changed, 6973 insertions(+), 85 deletions(-) create mode 10064= 4 > CryptoPkg/Library/BaseCryptLibMbedTls/Cipher/CryptAeadAesGcm.c > create mode 100644 > CryptoPkg/Library/BaseCryptLibMbedTls/Pem/CryptPem.c > create mode 100644 > CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptAuthenticode.c > create mode 100644 > CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptPkcs1Oaep.c > create mode 100644 > CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptPkcs5Pbkdf2.c > create mode 100644 > CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptPkcs7Sign.c > create mode 100644 > CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptPkcs7VerifyBase.c > create mode 100644 > CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptPkcs7VerifyCommon.c > create mode 100644 > CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptPkcs7VerifyEku.c > create mode 100644 > CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptRsaExt.c > create mode 100644 > CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptRsaPssSign.c > create mode 100644 CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptTs.c > create mode 100644 CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptX509.c > create mode 100644 > CryptoPkg/Library/BaseCryptLibMbedTls/Rand/CryptRand.c > create mode 100644 > CryptoPkg/Library/BaseCryptLibMbedTls/Rand/CryptRandTsc.c >=20 > -- > 2.26.2.windows.1 >=20 >=20 >=20 >=20 >=20 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#118756): https://edk2.groups.io/g/devel/message/118756 Mute This Topic: https://groups.io/mt/105997737/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-