Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 61f66314f4f74b3ed1d3639918aea1d1b1d4a4e1
      
https://github.com/tianocore/edk2/commit/61f66314f4f74b3ed1d3639918aea1d1b1d4a4e1
  Author: Longhaox Lee <[email protected]>
  Date:   2025-11-24 (Mon, 24 Nov 2025)

  Changed paths:
    M CryptoPkg/Library/MbedTlsLib/mbedtls

  Log Message:
  -----------
  CryptoPkg: Update mbedtls submodule for EDKII

Update mbedtls submodule from 3.3.0 to 3.6.5 in CryptoPkg.

REF: https://github.com/tianocore/edk2/issues/11605
Signed-off-by: Longhaox Lee <[email protected]>


  Commit: c2147ed33ac39164b91e9449c7e097956703124c
      
https://github.com/tianocore/edk2/commit/c2147ed33ac39164b91e9449c7e097956703124c
  Author: Longhaox Lee <[email protected]>
  Date:   2025-11-24 (Mon, 24 Nov 2025)

  Changed paths:
    M CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptPkcs7Internal.h
    M CryptoPkg/Library/BaseCryptLibMbedTls/SysCall/ConstantTimeClock.c
    M CryptoPkg/Library/BaseCryptLibMbedTls/SysCall/TimerWrapper.c
    M CryptoPkg/Library/BaseCryptLibMbedTls/SysCall/UnitTestHostCrtWrapper.c
    M CryptoPkg/Library/Include/CrtLibSupport.h
    M CryptoPkg/Library/MbedTlsLib/EcSm2Null.c
    M CryptoPkg/Library/MbedTlsLib/Include/mbedtls/mbedtls_config.h
    M CryptoPkg/Library/MbedTlsLib/MbedTlsLib.inf
    M CryptoPkg/Library/MbedTlsLib/MbedTlsLibFull.inf

  Log Message:
  -----------
  CryptoPkg: EDK2 code update for Mbedtls 3.6.5.

1. mbedtls_config.h header sync with 3.6.5 .
2. Implement mbedtls_ms_time() Get time in milliseconds.
3. Covert some CRT library to EDK Implement and CRT defined.
4. Added and remove file to sync.

REF: https://github.com/tianocore/edk2/issues/11605
Signed-off-by: Longhaox Lee <[email protected]>


  Commit: 95838ecb96b0513e8620adcf6f09541518209632
      
https://github.com/tianocore/edk2/commit/95838ecb96b0513e8620adcf6f09541518209632
  Author: Longhaox Lee <[email protected]>
  Date:   2025-11-24 (Mon, 24 Nov 2025)

  Changed paths:
    M CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptPkcs7VerifyBase.c

  Log Message:
  -----------
  CryptoPkg: MbedTls not support content data signature.

Pkcs7GetAttachedContent function should always return false.

REF: https://github.com/tianocore/edk2/issues/11605
Signed-off-by: Longhaox Lee <[email protected]>


  Commit: 77f21b70fdd530aabc6a3515deeb6b0f98f1adc8
      
https://github.com/tianocore/edk2/commit/77f21b70fdd530aabc6a3515deeb6b0f98f1adc8
  Author: Longhaox Lee <[email protected]>
  Date:   2025-11-24 (Mon, 24 Nov 2025)

  Changed paths:
    M CryptoPkg/Library/MbedTlsLib/Include/mbedtls/mbedtls_config.h

  Log Message:
  -----------
  CryptoPkg: Override mbedtls_config header

1.Defended MBEDTLS_PLATFORM_MS_TIME_ALT
  use alternative implement.

2.Defended MBEDTLS_TEST_SW_INET_PTON
  use software version INET_PTON, not depend on OS.

REF: https://github.com/tianocore/edk2/issues/11605
Signed-off-by: Longhaox Lee <[email protected]>


  Commit: 3e55bab1a5647764f95780d9f8fde6e36a47b369
      
https://github.com/tianocore/edk2/commit/3e55bab1a5647764f95780d9f8fde6e36a47b369
  Author: Longhaox Lee <[email protected]>
  Date:   2025-11-24 (Mon, 24 Nov 2025)

  Changed paths:
    M CryptoPkg/Test/UnitTest/Library/BaseCryptLib/BaseCryptLibUnitTests.c
    A 
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/Pkcs7AttachedContentSignatures.h
    A CryptoPkg/Test/UnitTest/Library/BaseCryptLib/Pkcs7AttachedContentTest.c
    M CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestBaseCryptLib.h
    M CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestBaseCryptLibHost.inf
    M CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestBaseCryptLibShell.inf

  Log Message:
  -----------
  CryptoPkg: Unit test for Pkcs7GetAttachedContent()

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 <[email protected]>


  Commit: 51e2c18a53afe8f69465c331ed36a4e8c2ace5d0
      
https://github.com/tianocore/edk2/commit/51e2c18a53afe8f69465c331ed36a4e8c2ace5d0
  Author: Longhaox Lee <[email protected]>
  Date:   2025-11-24 (Mon, 24 Nov 2025)

  Changed paths:
    M CryptoPkg/Test/CryptoPkgHostUnitTest.dsc
    A 
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/BaseCryptLibUnitTestsMbedTls.c
    M CryptoPkg/Test/UnitTest/Library/BaseCryptLib/OaepEncryptTests.c
    M CryptoPkg/Test/UnitTest/Library/BaseCryptLib/Pkcs7AttachedContentTest.c
    M CryptoPkg/Test/UnitTest/Library/BaseCryptLib/Pkcs7EkuTests.c
    M CryptoPkg/Test/UnitTest/Library/BaseCryptLib/RsaPkcs7Tests.c
    M CryptoPkg/Test/UnitTest/Library/BaseCryptLib/RsaTests.c
    M CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestBaseCryptLib.h
    A 
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestBaseCryptLibHostMbedTls.inf

  Log Message:
  -----------
  CryptoPkg/BaseCryptLibUnitTest: Separate MbedTls UnitTest Library.

Separate Unit test functions for MbedTls.

BaseCryptLibMbedTls does not support all Crypto services
So deprecate below function for MbedTls Unit test:

TestVerifyEKUsWith3CertsInSignature()
TestVerifyEKUsWith2CertsInSignature()
TestNoEKUsInSignature()
TestVerifyRsaCertPkcs1SignVerify
TestVerifyPkcs7SignVerifyNonSelfIssued()
TestVerifyDhGenerateKey()
Pkcs1v2Decrypt
Pkcs1v2EncryptDecrypt
RsaOaepEncrypt (Interface)
RsaOaepEncrypt (NoSeed)
RsaOaepEncrypt (Seeded)
RsaOaepDecrypt
RsaOaepEncryptDecrypt
RsaOaepEncryptPkcs1v2Decrypt
Pkcs1v2EncryptRsaOaepDecrypt
RsaOaepEncrypt (MdDefaultMgf1Default)
RsaOaepDecrypt (MdDefaultMgf1Default)
RsaOaepEncryptDecrypt (MdDefaultMgf1Default)
RsaOaepEncrypt (MdSha1Bgf1Sha1
RsaOaepDecrypt (MdSha1Bgf1Sha1)
RsaOaepEncryptDecrypt (MdSha1Bgf1Sha1)
RsaOaepEncrypt (MdSha256Bgf1Sha256)
RsaOaepDecrypt (MdSha256Bgf1Sha256)
RsaOaepEncryptDecrypt (MdSha256Bgf1Sha256)
TestVerifyBn()
TestVerifyEcKey()
TestPkcs7Attached()
TestPkcs7Detached()
TestVerifyPkcs7ContentData()

REF: https://github.com/tianocore/edk2/issues/11605
Signed-off-by: Longhaox Lee <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/ade0eeb923f4...51e2c18a53af

To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to