From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.24, mailfrom: gary.west@intel.com) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by groups.io with SMTP; Tue, 23 Jul 2019 05:04:05 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Jul 2019 05:04:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,299,1559545200"; d="scan'208";a="197097966" Received: from garywest-desk.amr.corp.intel.com ([10.34.130.88]) by fmsmga002.fm.intel.com with ESMTP; 23 Jul 2019 05:04:03 -0700 From: gary.west@intel.com To: devel@edk2.groups.io Cc: Gary West Subject: [PATCH 0/1] Add support for HKDF Date: Tue, 23 Jul 2019 05:03:54 -0700 Message-Id: X-Mailer: git-send-email 2.19.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add support for HKDF as specified in RFC 5869 implemented with HMAC and SHA-256. Gary West (1): CryptoPkg/BaseCryptLib: Wrap OpenSSL HKDF algorithm .../Library/BaseCryptLib/BaseCryptLib.inf | 1 + .../Library/BaseCryptLib/PeiCryptLib.inf | 4 +- .../Library/BaseCryptLib/RuntimeCryptLib.inf | 1 + .../Library/BaseCryptLib/SmmCryptLib.inf | 1 + CryptoPkg/Include/Library/BaseCryptLib.h | 33 ++++++++ .../Library/BaseCryptLib/Kdf/CryptHkdf.c | 80 +++++++++++++++++++ .../Library/BaseCryptLib/Kdf/CryptHkdfNull.c | 43 ++++++++++ 7 files changed, 160 insertions(+), 3 deletions(-) create mode 100644 CryptoPkg/Library/BaseCryptLib/Kdf/CryptHkdf.c create mode 100644 CryptoPkg/Library/BaseCryptLib/Kdf/CryptHkdfNull.c -- 2.19.1.windows.1