<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/CryptoPkg/Library/BaseCryptLibNull/Hmac, branch master</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=master</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2022-09-23T06:55:58+00:00</updated>
<entry>
<title>CryptoPkg: Add HMAC-SHA384 cipher support.</title>
<updated>2022-09-23T06:55:58+00:00</updated>
<author>
<name>Qi Zhang</name>
<email>qi1.zhang@intel.com</email>
</author>
<published>2022-09-23T01:14:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=0b1a1bdc3030a906d44974f44f37a938f839f461'/>
<id>urn:sha1:0b1a1bdc3030a906d44974f44f37a938f839f461</id>
<content type='text'>
Rename file from CryptHmacSha256 to CryptHmac and
add HmacSha384 and HmacSha256All funcitons.

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4025

Signed-off-by: Qi Zhang &lt;qi1.zhang@intel.com&gt;
Cc: Jiewen Yao &lt;jiewen.yao@intel.com&gt;
Cc: Jian J Wang &lt;jian.j.wang@intel.com&gt;
Cc: Xiaoyu Lu &lt;xiaoyu1.lu@intel.com&gt;
Cc: Guomin Jiang &lt;guomin.jiang@intel.com&gt;
Reviewed-by: Jiewen Yao &lt;jiewen.yao@intel.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg/BaseCryptLib: Retire HMAC SHA1 algorithm</title>
<updated>2020-05-15T07:22:36+00:00</updated>
<author>
<name>Zhichao Gao</name>
<email>zhichao.gao@intel.com</email>
</author>
<published>2020-04-23T08:20:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=c812d3209c695a9048783b6d1c231fcc4624dcbf'/>
<id>urn:sha1:c812d3209c695a9048783b6d1c231fcc4624dcbf</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1898

HMAC SHA1 is not secure any longer.
Remove the HMAC SHA1 support from edk2.
Change the HMAC SHA1 field name in EDKII_CRYPTO_PROTOCOL to indicate the
function is unsupported any longer.

Cc: Jian J Wang &lt;jian.j.wang@intel.com&gt;
Cc: Xiaoyu Lu &lt;xiaoyux.lu@intel.com&gt;
Cc: Siyuan Fu &lt;siyuan.fu@intel.com&gt;
Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Cc: Jiewen Yao &lt;jiewen.yao@intel.com&gt;
Cc: Philippe Mathieu-Daude &lt;philmd@redhat.com&gt;
Reviewed-by: Jian J Wang &lt;jian.j.wang@intel.com&gt;
Signed-off-by: Zhichao Gao &lt;zhichao.gao@intel.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg/BaseCryptLib: Retire HMAC MD5 algorithm</title>
<updated>2020-05-15T07:22:36+00:00</updated>
<author>
<name>Zhichao Gao</name>
<email>zhichao.gao@intel.com</email>
</author>
<published>2020-04-23T07:04:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=b6174e2d09bd03b71e13f8b842c92ae44b25a3ff'/>
<id>urn:sha1:b6174e2d09bd03b71e13f8b842c92ae44b25a3ff</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1898

HMAC MD5 is not secure any longer.
Remove the HMAC MD5 support from edk2.
Change the HMAC MD5 field name in EDKII_CRYPTO_PROTOCOL to indicate the
function is unsupported any longer.

Cc: Jian J Wang &lt;jian.j.wang@intel.com&gt;
Cc: Xiaoyu Lu &lt;xiaoyux.lu@intel.com&gt;
Cc: Siyuan Fu &lt;siyuan.fu@intel.com&gt;
Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Cc: Jiewen Yao &lt;jiewen.yao@intel.com&gt;
Cc: Philippe Mathieu-Daude &lt;philmd@redhat.com&gt;
Reviewed-by: Jian J Wang &lt;jian.j.wang@intel.com&gt;
Signed-off-by: Zhichao Gao &lt;zhichao.gao@intel.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg/BaseCryptLib: remove HmacXxxGetContextSize interface</title>
<updated>2020-01-20T16:41:23+00:00</updated>
<author>
<name>Jian J Wang</name>
<email>jian.j.wang@intel.com</email>
</author>
<published>2020-01-17T03:06:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=9a1f14ad721bbcd833ec5108944c44a502392f03'/>
<id>urn:sha1:9a1f14ad721bbcd833ec5108944c44a502392f03</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1792

Hmac(Md5|Sha1|Sha256)GetContextSize() use a deprecated macro
HMAC_MAX_MD_CBLOCK defined in openssl. They should be dropped to
avoid misuses in the future. For context allocation and release,
use HmacXxxNew() and HmacXxxFree() instead.

Cc: Xiaoyu Lu &lt;xiaoyux.lu@intel.com&gt;
Cc: Laszlo Ersek &lt;lersek@redhat.com&gt;
Signed-off-by: Jian J Wang &lt;jian.j.wang@intel.com&gt;
Reviewed-by: Laszlo Ersek &lt;lersek@redhat.com&gt;
Reviewed-by: Xiaoyu Lu &lt;xiaoyux.lu@intel.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg/BaseCryptLib: replace HmacXxxInit API with HmacXxxSetKey</title>
<updated>2020-01-20T16:41:23+00:00</updated>
<author>
<name>Jian J Wang</name>
<email>jian.j.wang@intel.com</email>
</author>
<published>2020-01-17T03:05:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=a23fdff6fb99bcf7ac226f0a1095c0bdd26b0468'/>
<id>urn:sha1:a23fdff6fb99bcf7ac226f0a1095c0bdd26b0468</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1792

HmacXxxInit() is supposed to be initialize user supplied buffer as HMAC
context, as well as user supplied key. Currently it has no real use cases.

Due to BZ1792, the user has no way to get correct size of context buffer
after it's fixed, and then cannot make use of HmacXxxInit to initialize
it.

So it's decided to replace it with HmacXxxSetKey to keep the functionality
of supplying a key to HMAC, but drop all other initialization works. The
user can still get HMAC context via HmacXxxNew interface, which hides the
details about the context.

Cc: Xiaoyu Lu &lt;xiaoyux.lu@intel.com&gt;
Cc: Laszlo Ersek &lt;lersek@redhat.com&gt;
Signed-off-by: Jian J Wang &lt;jian.j.wang@intel.com&gt;
Reviewed-by: Laszlo Ersek &lt;lersek@redhat.com&gt;
Reviewed-by: Xiaoyu Lu &lt;xiaoyux.lu@intel.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg: Add Null instance of the BaseCryptLib class</title>
<updated>2019-10-24T01:37:19+00:00</updated>
<author>
<name>Sean Brogan</name>
<email>sean.brogan@microsoft.com</email>
</author>
<published>2019-09-25T17:14:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=d95de082da01f4a4cb3ebf87e15972a12d0f8d53'/>
<id>urn:sha1:d95de082da01f4a4cb3ebf87e15972a12d0f8d53</id>
<content type='text'>
https://bugzilla.tianocore.org/show_bug.cgi?id=2257

Add a Null instance of the BaseCryptLib class.  This lib instance
can be used as a template for new implementations of the BaseCryptLib
class and can also be used to reduce CI build times for build
checks that depend on the BaseCryptLib class.

Cc: Jian J Wang &lt;jian.j.wang@intel.com&gt;
Cc: Xiaoyu Lu &lt;xiaoyux.lu@intel.com&gt;
Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Reviewed-by: Jian J Wang &lt;jian.j.wang@intel.com&gt;
</content>
</entry>
</feed>
