Files
meta-openembedded/meta-oe/recipes-security
Khem Raj d0b74dcba3 spdm-emu: Switch default crypto backend to mbedtls and update to latest tip
The openssl backend no longer compiles against openssl 4.x. OpenSSL 4.0
made struct asn1_string_st opaque (asn1.h only forward declares it now),
while libspdm's cryptlib_openssl still reaches into ASN1_INTEGER and
ASN1_TIME members directly:

  libspdm/os_stub/cryptlib_openssl/pk/x509.c:814:51: error: incomplete
    definition of type 'ASN1_INTEGER' (aka 'struct asn1_string_st')
  libspdm/os_stub/cryptlib_openssl/pk/x509.c:1131:14: error: invalid
    application of 'sizeof' to an incomplete type 'ASN1_TIME'

make the crypto backend a PACKAGECONFIG choice and default to mbedtls,
which builds fine. openssl stays selectable for anyone still on openssl
3.x, and the two options are marked as mutually exclusive.

While at it, update SRCREV to the current tip of main, which carries 41
commits including a build refactor, TPM support, Linux kernel MCTP stack
support and several libspdm syncs.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-11 07:07:59 -07:00
..
2026-07-07 11:22:40 -07:00
2026-03-17 13:25:28 -07:00