From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.43; helo=mga05.intel.com; envelope-from=zhichao.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id F0732211E2EEF for ; Sun, 24 Mar 2019 21:01:17 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Mar 2019 21:01:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,256,1549958400"; d="scan'208";a="310115867" Received: from gaozhic-mobl.ccr.corp.intel.com ([10.239.196.107]) by orsmga005.jf.intel.com with ESMTP; 24 Mar 2019 21:01:15 -0700 From: Zhichao Gao To: edk2-devel@lists.01.org Cc: Ting Ye , Gang Wei , Wang Jian J , Liming Gao , Sean Brogan , Michael Turner , Bret Barkelew Date: Mon, 25 Mar 2019 12:01:07 +0800 Message-Id: <20190325040113.18848-1-zhichao.gao@intel.com> X-Mailer: git-send-email 2.16.2.windows.1 Subject: [PATCH 0/6] Add new APIs for BaseCryptLib X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Mar 2019 04:01:18 -0000 Add new API to get organization name Add new API VerifyEKUsInPkcs7Signature Add PKCS1v2 (RSAES-OAEP) support Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Ting Ye Cc: Gang Wei Cc: Wang Jian J Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Bret Barkelew (6): CryptoPkg/BaseCryptLib.h: Add new API to get organization name CryptoPkg/BaseCryptLib: Add new API to get organization name CryptoPkg/BaseCryptLib.h: Add new API VerifyEKUsInPkcs7Signature CryptoPkg/BaseCryptLib: Add new API VerifyEKUsInPkcs7Signature CryptoPkg/BaseCryptLib.h: Add PKCS1v2 (RSAES-OAEP) support. CryptoPkg/BaseCryptLib: Add PKCS1v2 (RSAES-OAEP) support. CryptoPkg/Include/Library/BaseCryptLib.h | 121 ++++- CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf | 2 + CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf | 4 +- CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs1Oaep.c | 218 +++++++++ .../Library/BaseCryptLib/Pk/CryptPkcs1OaepNull.c | 61 +++ .../Library/BaseCryptLib/Pk/CryptPkcs7VerifyEku.c | 539 +++++++++++++++++++++ .../BaseCryptLib/Pk/CryptPkcs7VerifyEkuRuntime.c | 75 +++ CryptoPkg/Library/BaseCryptLib/Pk/CryptX509.c | 102 +++- CryptoPkg/Library/BaseCryptLib/Pk/CryptX509Null.c | 32 ++ CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf | 2 + CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf | 2 + 11 files changed, 1144 insertions(+), 14 deletions(-) create mode 100644 CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs1Oaep.c create mode 100644 CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs1OaepNull.c create mode 100644 CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyEku.c create mode 100644 CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyEkuRuntime.c -- 2.16.2.windows.1