From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web10.5215.1579155007460985160 for ; Wed, 15 Jan 2020 22:10:07 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.20, mailfrom: jian.j.wang@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Jan 2020 22:10:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,325,1574150400"; d="scan'208";a="219537651" Received: from unknown (HELO shwdeopensfp777.ccr.corp.intel.com) ([10.239.158.78]) by fmsmga007.fm.intel.com with ESMTP; 15 Jan 2020 22:10:04 -0800 From: "Wang, Jian J" To: devel@edk2.groups.io Cc: Xiaoyu Lu , Laszlo Ersek Subject: [PATCH v3 0/2] Remove deprecated code in BaseCryptLib Date: Thu, 16 Jan 2020 14:10:01 +0800 Message-Id: <20200116061004.636-1-jian.j.wang@intel.com> X-Mailer: git-send-email 2.24.0.windows.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable v3 changes per Laszlo's comments:=0D - Fix typos=0D - Change api name also for BaseCryptLibNull=0D - Split the patch into two=0D (v3 branch: https://github.com/jwang36/edk2/tree/fix-bz1792-v3)=0D REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1792=0D Cc: Xiaoyu Lu =0D Cc: Laszlo Ersek =0D Signed-off-by: Jian J Wang Jian J Wang (2): CryptoPkg/BaseCryptLib: replace HmacXxxInit API with HmacXxxSetKey CryptoPkg/BaseCryptLib: remove HmacXxxGetContextSize interface CryptoPkg/Include/Library/BaseCryptLib.h | 111 +++++------------- .../Library/BaseCryptLib/Hmac/CryptHmacMd5.c | 58 ++------- .../BaseCryptLib/Hmac/CryptHmacMd5Null.c | 28 +---- .../Library/BaseCryptLib/Hmac/CryptHmacSha1.c | 59 ++-------- .../BaseCryptLib/Hmac/CryptHmacSha1Null.c | 28 +---- .../BaseCryptLib/Hmac/CryptHmacSha256.c | 58 ++------- .../BaseCryptLib/Hmac/CryptHmacSha256Null.c | 28 +---- .../BaseCryptLibNull/Hmac/CryptHmacMd5Null.c | 28 +---- .../BaseCryptLibNull/Hmac/CryptHmacSha1Null.c | 28 +---- .../Hmac/CryptHmacSha256Null.c | 28 +---- 10 files changed, 84 insertions(+), 370 deletions(-) --=20 2.24.0.windows.2