From: "Yao, Jiewen" <jiewen.yao@intel.com>
To: "Zhang, Qi1" <qi1.zhang@intel.com>,
"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "Wang, Jian J" <jian.j.wang@intel.com>,
"Lu, Xiaoyu1" <xiaoyu1.lu@intel.com>,
"Jiang, Guomin" <guomin.jiang@intel.com>
Subject: Re: [PATCH 0/4] CryptoPkg: Add Hkdf SHA384 support
Date: Tue, 20 Sep 2022 15:53:23 +0000 [thread overview]
Message-ID: <MW4PR11MB5872D5CDE231521CCCF338B38C4C9@MW4PR11MB5872.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20220826063243.7855-1-qi1.zhang@intel.com>
Thanks for the patch. Please
1) Update the EDKII_CRYPTO_VERSION to higher version
2) Update always append new API to the end of _EDKII_CRYPTO_PROTOCOL (don't insert in the middle)
With that change, reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
> -----Original Message-----
> From: Zhang, Qi1 <qi1.zhang@intel.com>
> Sent: Friday, August 26, 2022 2:33 PM
> To: devel@edk2.groups.io
> Cc: Zhang, Qi1 <qi1.zhang@intel.com>; Yao, Jiewen
> <jiewen.yao@intel.com>; Wang, Jian J <jian.j.wang@intel.com>; Lu, Xiaoyu1
> <xiaoyu1.lu@intel.com>; Jiang, Guomin <guomin.jiang@intel.com>
> Subject: [PATCH 0/4] CryptoPkg: Add Hkdf SHA384 support
>
> Add Hkdf-SHA384 support and Hkdf-SHA256 extract and expand separately.
> With this change, the size increase of BaseCyrptLib is about 6K bytes.
> The new functions are verifed by the Host UnitTest.
> And also it has been integratd in
> https://github.com/tianocore/edk2-staging/tree/DeviceSecurity and been
> verified.
>
> All the code change is on the PR
> https://github.com/tianocore/edk2/pull/3242.
>
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4033
>
> Signed-off-by: Qi Zhang <qi1.zhang@intel.com>
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Cc: Jian J Wang <jian.j.wang@intel.com>
> Cc: Xiaoyu Lu <xiaoyu1.lu@intel.com>
> Cc: Guomin Jiang <guomin.jiang@intel.com>
>
> Qi Zhang (4):
> CryptoPkg: add new Hkdf api definition in Crypt Lib.
> CryptoPkg: add new Hkdf api in Crypt Lib.
> CryptoPkg: add new Hkdf api to Crypto Service.
> CryptoPkg: add Hkdf UnitTest.
>
> CryptoPkg/Driver/Crypto.c | 149 +++++++
> CryptoPkg/Include/Library/BaseCryptLib.h | 129 +++++++
> .../Pcd/PcdCryptoServiceFamilyEnable.h | 7 +-
> .../Library/BaseCryptLib/Kdf/CryptHkdf.c | 362 +++++++++++++++++-
> .../Library/BaseCryptLib/Kdf/CryptHkdfNull.c | 151 +++++++-
> .../BaseCryptLibNull/Kdf/CryptHkdfNull.c | 151 +++++++-
> .../BaseCryptLibOnProtocolPpi/CryptLib.c | 144 +++++++
> CryptoPkg/Private/Protocol/Crypto.h | 136 +++++++
> .../BaseCryptLib/BaseCryptLibUnitTests.c | 29 +-
> .../UnitTest/Library/BaseCryptLib/HkdfTests.c | 202 ++++++++++
> .../Library/BaseCryptLib/TestBaseCryptLib.h | 3 +
> .../BaseCryptLib/TestBaseCryptLibHost.inf | 1 +
> .../BaseCryptLib/TestBaseCryptLibShell.inf | 1 +
> 13 files changed, 1436 insertions(+), 29 deletions(-)
> create mode 100644
> CryptoPkg/Test/UnitTest/Library/BaseCryptLib/HkdfTests.c
>
> --
> 2.26.2.windows.1
prev parent reply other threads:[~2022-09-20 15:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-26 6:32 [PATCH 0/4] CryptoPkg: Add Hkdf SHA384 support Qi Zhang
2022-08-26 6:32 ` [PATCH 1/4] CryptoPkg: add new Hkdf api definition in Crypt Lib Qi Zhang
2022-08-26 6:32 ` [PATCH 2/4] CryptoPkg: add new Hkdf api " Qi Zhang
2022-08-26 6:32 ` [PATCH 3/4] CryptoPkg: add new Hkdf api to Crypto Service Qi Zhang
2022-08-26 6:32 ` [PATCH 4/4] CryptoPkg: add Hkdf UnitTest Qi Zhang
2022-09-20 15:53 ` Yao, Jiewen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=MW4PR11MB5872D5CDE231521CCCF338B38C4C9@MW4PR11MB5872.namprd11.prod.outlook.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox