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 6590C7803CE for ; Thu, 9 May 2024 12:35:55 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=unVbe1daNSJVtaTWTZEfnRCxro1L88sVE8zQDtQAIZk=; 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=1715258153; v=1; b=gAnjLIjqcHzDjUtxz4WieLrlQ4s1kutgwYek3r5lsCa9ih60v3kc9A6SC/QVqsA9NUvaCQ7u INJGMij9+7sRUhakfiM52/GPOpNlGufD7wwbd8cEhX7XjJqpVTCCiox20fBaweTThGcJy8GolmI 1AdlEgcsNLBifd5aTpYWFnGXlxpNDwsVQnlY7l0y43slGD04rw3yOr5JxtiHtHNFRRH5t/+vDiK dLKfTVp8RPKXdwEqfGLWh0MpNddtWfPfhZhuy9l879+MT6PbrpIhP1LLCKoHjUG6ht8BUw6MJNW a8kfo37Eectn3iJhbKV0HymnWZQR7YK11uLjNyNDqC1Og== X-Received: by 127.0.0.2 with SMTP id v5WiYY7687511xd7tUeBQw7X; Thu, 09 May 2024 05:35:53 -0700 X-Received: from cxsh.intel-email.com (cxsh.intel-email.com [121.46.250.151]) by mx.groups.io with SMTP id smtpd.web11.8986.1715258146551283079 for ; Thu, 09 May 2024 05:35:47 -0700 X-Received: from cxsh.intel-email.com (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id 0ACE5DDA789 for ; Thu, 9 May 2024 20:35:40 +0800 (CST) X-Received: from localhost (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id 06342DDA785 for ; Thu, 9 May 2024 20:35:40 +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 E0717DDA7AF for ; Thu, 9 May 2024 20:35:36 +0800 (CST) X-Received: from DESKTOPS6D0PVI ([114.92.182.254]) (envelope-sender ) by 192.168.6.13 with ESMTP(SSL) for ; Thu, 09 May 2024 20:35:26 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 114.92.182.254 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming via groups.io" To: "'Hou, Wenxing'" , , "'Li, Yi1'" Cc: "'Yao, Jiewen'" , "'Leif Lindholm'" , "'Andrew Fish'" , "'Michael Kinney'" References: <20240509062700.2062-1-wenxing.hou@intel.com> <011101daa1ef$13f46390$3bdd2ab0$@byosoft.com.cn> In-Reply-To: Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF1bZWRrMi1zdGFibGUyMDI0MDVdIFtQQVRDSCB2MyAwMC8xMV0gQWRkIG1vcmUgY3J5cHQgQVBJcyBiYXNlZCBvbiBNYmVkdGxz?= Date: Thu, 9 May 2024 20:35:28 +0800 Message-ID: <000001daa20d$602457c0$206d0740$@byosoft.com.cn> MIME-Version: 1.0 Thread-Index: AdqiDUvpBdGyabwcSyWJr8sVgHIv8g== 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 05:35: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: gyoiVYlDfUtIzdsfUtneCuBNx7686176AA= Content-Type: text/plain; charset="utf-8" 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=gAnjLIjq; 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 Include more people for feedback. > -----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6----- > =E5=8F=91=E4=BB=B6=E4=BA=BA: Hou, Wenxing > =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2024=E5=B9=B45=E6=9C=889=E6=97=A5 1= 7:35 > =E6=94=B6=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io; gaoliming@byosoft.com.= cn; Li, Yi1 > > =E6=8A=84=E9=80=81: Yao, Jiewen > =E4=B8=BB=E9=A2=98: RE: [edk2-devel] [PATCH v3 00/11] Add more crypt APIs= based on Mbedtls >=20 > Hi Liming, > Thanks for your suggestion. >=20 >=20 > Hi all, > The current Patch Set status is: > This patch set was submitted before soft feature freeze. > It passed code review after soft feature freeze starts. > And the Patch set is: Acked-by: Jiewen Yao > Reviewed-by: Yi Li >=20 > We want to catch this 202405 stable tag. > If anyone have feedback, please let me know. >=20 > Thanks, > Wenxing >=20 > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of gaoliming > via groups.io > Sent: Thursday, May 9, 2024 4:59 PM > To: devel@edk2.groups.io; Li, Yi1 ; Hou, Wenxing > > Cc: Yao, Jiewen > Subject: =E5=9B=9E=E5=A4=8D: [edk2-devel] [PATCH v3 00/11] Add more crypt= APIs based on > Mbedtls >=20 > Seemly, this change is new feature to add more crypt APIs based on Mbedtl= s. >=20 > This patch set was submitted before soft feature freeze. But, it passed c= ode review > after soft feature freeze starts. >=20 > Based on current rule, this patch set is not allowed to be merged for thi= s stable > tag 202405. >=20 > If you want to catch this stable tag, please raise this requirement to th= e mail list > and collect the feedback. >=20 > Thanks > Liming > > -----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6----- > > =E5=8F=91=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io =E4=BB=A3=E8=A1=A8 Li, Yi > > =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2024=E5=B9=B45=E6=9C=889=E6=97=A5= 16:33 > > =E6=94=B6=E4=BB=B6=E4=BA=BA: Hou, Wenxing ; gaol= iming > > ; devel@edk2.groups.io > > =E6=8A=84=E9=80=81: Yao, Jiewen > > =E4=B8=BB=E9=A2=98: Re: [edk2-devel] [PATCH v3 00/11] Add more crypt AP= Is based on > Mbedtls > > > > This patch set was submitted before soft freeze and will not affect > > other > existed > > codes, I am OK to merge it. > > > > Hi Liming, > > > > Do you have any comments? I will merge it if no objections. > > > > Thanks, > > Yi > > > > -----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 > > > > Hi, > > > > Thanks for your feedback. > > The new PR is: https://github.com/tianocore/edk2/pull/5645 > > > > Could Li Yi help me merge the PR? > > > > Thanks, > > Wenxing > > > > -----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 > > > > For this patch set: > > > > Looks good to me. > > Reviewed-by: Yi Li > > > > > > -----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 > > > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4177 > > > > Add AeadAesGcm/Pem(only RSA)/X509(only RSA)/More > > RSA/PKCS5/pKCS7/Authenticode/Timestamp > > implementation based on Mbedtls. > > > > The patch has passed the EDKII CI check: > > https://github.com/tianocore/edk2/pull/5552 > > > > 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/4f19398053c92e4f7791d > > 4 > > 68a184530b6ab89128 > > > > v2 changes: > > - Fix format variable name/hardcode number issue; > > - Fix Pkcs7 memory leak; > > > > v3 changes: > > - Fix some issues form reviewer; > > - Add SHA3/SM3 implementation; > > - Update *.inf files; > > > > Cc: Jiewen Yao > > Cc: Yi Li > > Signed-off-by: Wenxing Hou > > > > 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 > > > > 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 > > 100644 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 > > > > -- > > 2.26.2.windows.1 > > > > > > > > > > >=20 >=20 >=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 (#118763): https://edk2.groups.io/g/devel/message/118763 Mute This Topic: https://groups.io/mt/105999907/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-