<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/CryptoPkg/Library/BaseCryptLib, branch dependabot/github_actions/actions/setup-python-7</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Factions%2Fsetup-python-7</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Factions%2Fsetup-python-7'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2026-07-21T09:17:50+00:00</updated>
<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: ML-DSA updates</title>
<updated>2026-07-20T11:34:40+00:00</updated>
<author>
<name>Michael G.A. Holland</name>
<email>michael.holland@intel.com</email>
</author>
<published>2026-07-17T18:00:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=264f812b70c8941e449740dbc1ae528620089f78'/>
<id>urn:sha1:264f812b70c8941e449740dbc1ae528620089f78</id>
<content type='text'>
Include validation check for Context and ContextSize in signature
function.
Updated ReadMe to show ML-DSA support

Signed-off-by: Michael G.A. Holland &lt;michael.holland@intel.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg/BaseCryptLib: EdDsa updates</title>
<updated>2026-07-20T03:23:22+00:00</updated>
<author>
<name>Michael G.A. Holland</name>
<email>michael.holland@intel.com</email>
</author>
<published>2026-07-17T17:39:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=5309cdb92c5552e64fce7648ec15d0ab497b1161'/>
<id>urn:sha1:5309cdb92c5552e64fce7648ec15d0ab497b1161</id>
<content type='text'>
Include validation checks for Context and ContextSize in
sign and verify functions.
Returned FALSE for EdDsaGeneratePubKey.
Updated ReadMe to show EdDsa support

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: Enable SHA256 hash in SecCryptLib</title>
<updated>2026-06-25T16:53:36+00:00</updated>
<author>
<name>Sami Mujawar</name>
<email>sami.mujawar@arm.com</email>
</author>
<published>2025-09-18T15:44:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=5f389e499c8dcca66b1c5680cb874c7fc50c5859'/>
<id>urn:sha1:5f389e499c8dcca66b1c5680cb874c7fc50c5859</id>
<content type='text'>
Enable CryptSha256 hash in SecCryptLib as this
is required by Arm CCA.

The hash algorithm used by the Arm CCA Realm
Extensible Measurement (REM) registers is
either SHA256 or SHA512.

To enable measurements in the early boot phase
enable SHA256 hash algorithm in SecCryptLib.

Signed-off-by: Sami Mujawar &lt;sami.mujawar@arm.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg: Added lite version openssl library</title>
<updated>2026-06-15T08:54:47+00:00</updated>
<author>
<name>Lee LonghaoX</name>
<email>longhaox.lee@intel.com</email>
</author>
<published>2026-04-15T06:31:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=eaa1e19c7a039b3d178ac960c33dc057c4d75243'/>
<id>urn:sha1:eaa1e19c7a039b3d178ac960c33dc057c4d75243</id>
<content type='text'>
Lite version OpensslLib
base on OpensslLibFull but no-camellia, no -ecx and no-dh.
It save the size about ~192KB.

REF:
Signed-off-by: Lee LonghaoX &lt;longhaox.lee@intel.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg: Fix leaks and failure-path mutation of RSA-owned values</title>
<updated>2026-05-29T03:12:15+00:00</updated>
<author>
<name>Mingjie Shen</name>
<email>shen497@purdue.edu</email>
</author>
<published>2026-05-21T20:22:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=269d0a61949d3da385f9b95ffb887f5fbf86b489'/>
<id>urn:sha1:269d0a61949d3da385f9b95ffb887f5fbf86b489</id>
<content type='text'>
RsaSetKey passed RSA-internal BIGNUMs (returned by RSA_get0_key /
RSA_get0_factors / RSA_get0_crt_params as const) directly to BN_bin2bn,
which mutates its destination in place. This violates the OpenSSL API
contract and can leave RsaContext in a partially modified state on
failure paths: BN_bin2bn has already overwritten one of
n / e / d / p / q / dp / dq / qInv, the function then returns FALSE
on a subsequent BN_dup or RSA_set0_* failure, and the caller has no
indication that the RSA object was silently changed. The same paths
also leaked temporary BIGNUMs allocated by BN_bin2bn or BN_new.

This patch splits RsaSetKey into a small input-validating dispatcher
plus three static helpers (RsaSetKeyNED, RsaSetKeyFactors,
RsaSetKeyCrtParams), one per RSA_set0_* setter. Each helper:

  - Allocates a fresh BIGNUM for the slot being set via
    BN_bin2bn(BigNumber, BnSize, NULL); the NULL destination forces
    BN_bin2bn to allocate so no RSA-owned BIGNUM is mutated.
  - Reads the current RSA state via RSA_get0_* purely for inspection.
  - For slots not being set, passes NULL when RSA already has a value
    (preserves it) or supplies an empty BN_new() placeholder when
    RSA's slot is still NULL.
  - Atomically installs via RSA_set0_*, which takes ownership of every
    non-NULL argument on success and of none on failure.
  - Routes all exits through a single label that frees any locally
    held BIGNUM. Memory leaks in the early-return paths are fixed as
    a consequence.

The previous BN_dup calls are no longer needed and are removed.

Signed-off-by: Mingjie Shen &lt;shen497@purdue.edu&gt;
</content>
</entry>
<entry>
<title>CryptoPkg: Add digest-based RSA-PSS sign and verify APIs</title>
<updated>2026-04-07T12:26:54+00:00</updated>
<author>
<name>Baraneedharan Anbazhagan</name>
<email>anbazhagan@hp.com</email>
</author>
<published>2026-03-17T12:19:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=b3fdc0994db62b72a8b56ea25ffd024ab5e4e017'/>
<id>urn:sha1:b3fdc0994db62b72a8b56ea25ffd024ab5e4e017</id>
<content type='text'>
Add RsaPssSignDigest() and RsaPssVerifyDigest() to BaseCryptLib for
signing/verifying precomputed digests. Provide OpenSSL/MbedTLS/Null
implementations, expose via EDKII_CRYPTO_PROTOCOL (v24), and add PCD
controls for independent service enabling. Include unit tests.

Signed-off-by: Anbazhagan Baraneedharan &lt;anbazhagan@hp.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg: BaseCryptLib: Reject empty X.509 cert when retrieving public key</title>
<updated>2026-03-10T06:33:40+00:00</updated>
<author>
<name>Kun Qin</name>
<email>kuqin@microsoft.com</email>
</author>
<published>2026-02-03T00:27:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=d6f41c4ff25bd277e9e67b9c9fea0172763aa367'/>
<id>urn:sha1:d6f41c4ff25bd277e9e67b9c9fea0172763aa367</id>
<content type='text'>
Explicitly reject zero-length X.509 certificate buffers when retrieving a
public key. For this invalid case, the input context pointer is set to
NULL as a defensive measure.

Signed-off-by: Kun Qin &lt;kun.qin@microsoft.com&gt;
</content>
</entry>
</feed>
