<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestBaseCryptLibShell.inf, 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>2026-08-28T12:37:18+00:00</updated>
<entry>
<title>CryptoPkg: Add Pkcs7Decrypt API</title>
<updated>2026-08-28T12:37:18+00:00</updated>
<author>
<name>Doug Cook</name>
<email>dcook@microsoft.com</email>
</author>
<published>2026-07-27T23:15:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=5337420d7c59b446a4ec9f1348bc75e47de8299d'/>
<id>urn:sha1:5337420d7c59b446a4ec9f1348bc75e47de8299d</id>
<content type='text'>
Add support for a Pkcs7Decrypt API, mirroring the Pkcs7Encrypt API.

I expect that the primary use of Pkcs7Decrypt would be for testing the
Pkcs7Encrypt API, but maybe somebody will need it for real work someday.

Signed-off-by: Doug Cook &lt;dcook@microsoft.com&gt;
Committed-by: Doug Flick &lt;dougflick@microsoft.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg: Add Pkcs7Encrypt smoke tests</title>
<updated>2026-08-28T12:37:18+00:00</updated>
<author>
<name>Doug Flick</name>
<email>dougflick@microsoft.com</email>
</author>
<published>2026-06-03T22:08:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=07a37d45eef9972b7fc3deb761d5c24527a17387'/>
<id>urn:sha1:07a37d45eef9972b7fc3deb761d5c24527a17387</id>
<content type='text'>
These don't actually decrypt anything, so calling them "unit tests"
was a stretch. They're smoke tests: build an envelopedData ContentInfo
for a recipient cert, then walk the DER and check the shape looks
right (id-envelopedData, CMSVersion, the right number of
RecipientInfo entries, the expected content-encryption OID).

Covered:

  * AES-128/192/256-CBC happy paths.
  * Two recipients, just to confirm the SET grows.
  * The parameter-validation contract from BaseCryptLib.h
    (NULL stack/InData/output pointers, bogus CipherNid, bogus Flags).

The DER walker is hand-rolled in the test file so we don't have to
pull OpenSSL or mbedtls headers into a unit test that has to compile
against both. It catches obvious shape regressions but won't notice
if the CEK, IV, or PKCS#7 padding are wrong - a real round-trip needs
a Pkcs7Decrypt API we don't have yet.

Signed-off-by: Doug Flick &lt;dougflick@microsoft.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg/BaseCryptLib: Add SLH-DSA Support</title>
<updated>2026-07-21T09:17:50+00:00</updated>
<author>
<name>Michael G.A. Holland</name>
<email>michael.holland@intel.com</email>
</author>
<published>2026-07-14T14:34:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=2b842a2081613684117fb1f924eb27a05a112e5d'/>
<id>urn:sha1:2b842a2081613684117fb1f924eb27a05a112e5d</id>
<content type='text'>
Created SLH-DSA API functions to configure public and private keys for
SLH-DSA algorithm.  This will allow users to sign and verify with
SLH-DSA.  Unit tests were added to confirm operation of the API.

Signed-off-by: Michael G.A. Holland &lt;michael.holland@intel.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg/BaseCryptLib: Add ML-DSA Support</title>
<updated>2026-07-14T03:26:52+00:00</updated>
<author>
<name>Michael G.A. Holland</name>
<email>michael.holland@intel.com</email>
</author>
<published>2026-07-01T22:20:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=0f07c187d016bd63098a5bf3e2b12c51ca9d4bb3'/>
<id>urn:sha1:0f07c187d016bd63098a5bf3e2b12c51ca9d4bb3</id>
<content type='text'>
Created ML-DSA API functions to configure public and private keys for
ML-DSA algorithm.  This will allow users to sign and verify with ML-DSA.
Unit tests were add to confirm operation of the API.

Signed-off-by: Michael G.A. Holland &lt;michael.holland@intel.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg/BaseCryptLib: Add ED448 verification and signature fcns</title>
<updated>2026-07-01T01:26:24+00:00</updated>
<author>
<name>Michael G.A. Holland</name>
<email>michael.holland@intel.com</email>
</author>
<published>2026-06-22T15:29:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=7bd23c60e83d1746a3574b5a855c4689b8d25e9d'/>
<id>urn:sha1:7bd23c60e83d1746a3574b5a855c4689b8d25e9d</id>
<content type='text'>
  Implemented signature and verification functions for ED448;
  Updated documentation and unit tests to cover new verification functions

Signed-off-by: Michael G.A. Holland &lt;michael.holland@intel.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg: Unit test for Pkcs7GetAttachedContent()</title>
<updated>2025-11-24T13:10:50+00:00</updated>
<author>
<name>Longhaox Lee</name>
<email>longhaox.lee@intel.com</email>
</author>
<published>2025-11-13T07:10:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=3e55bab1a5647764f95780d9f8fde6e36a47b369'/>
<id>urn:sha1:3e55bab1a5647764f95780d9f8fde6e36a47b369</id>
<content type='text'>
MbebTls no support signature with content data.
test would be fail in below test case:
TestPkcs7Attached
TestPkcs7Detached
TestVerifyPkcs7ContentData

REF: https://github.com/tianocore/edk2/issues/11605
Signed-off-by: Longhaox Lee &lt;longhaox.lee@intel.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg: add Unit Test for X509 new function.</title>
<updated>2022-10-12T06:38:15+00:00</updated>
<author>
<name>Qi Zhang</name>
<email>qi1.zhang@intel.com</email>
</author>
<published>2022-10-12T04:36:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=e7d7f02c8e157e936855a091948757f78c7d0298'/>
<id>urn:sha1:e7d7f02c8e157e936855a091948757f78c7d0298</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4082

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;
Signed-off-by: Qi Zhang &lt;qi1.zhang@intel.com&gt;
Reviewed-by: Jiewen Yao &lt;jiewen.yao@intel.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg/Test: Add unit test for CryptoEc</title>
<updated>2022-09-26T07:03:56+00:00</updated>
<author>
<name>Yi Li</name>
<email>yi1.li@intel.com</email>
</author>
<published>2022-09-25T09:26:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=d97ee3244d806d324a22ea530215a9f10d2b23e2'/>
<id>urn:sha1:d97ee3244d806d324a22ea530215a9f10d2b23e2</id>
<content type='text'>
Add unit test for CryptoEc.

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;
Signed-off-by: Yi Li &lt;yi1.li@intel.com&gt;
Reviewed-by: Jiewen Yao &lt;jiewen.yao@intel.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg/Test: Add unit test for CryptoBn</title>
<updated>2022-09-23T10:08:24+00:00</updated>
<author>
<name>Yi Li</name>
<email>yi1.li@intel.com</email>
</author>
<published>2022-05-12T09:10:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=0c9d4ad788e90b96b0dbe2bf7e2f8ee38c6ab4b5'/>
<id>urn:sha1:0c9d4ad788e90b96b0dbe2bf7e2f8ee38c6ab4b5</id>
<content type='text'>
Add unit test for CryptoBn.

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;
Signed-off-by: Yi Li &lt;yi1.li@intel.com&gt;
Reviewed-by: Jiewen Yao &lt;jiewen.yao@intel.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg: add UnitTest for AeadAesGcm.</title>
<updated>2022-09-23T08:24:42+00:00</updated>
<author>
<name>Qi Zhang</name>
<email>qi1.zhang@intel.com</email>
</author>
<published>2022-09-23T06:32:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=5f403cdc6a367d8aad70f25e4286cb3785f2a1a2'/>
<id>urn:sha1:5f403cdc6a367d8aad70f25e4286cb3785f2a1a2</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4036

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>
</feed>
