Jiewen Yao
Jiewen Yao
Those are media type for DMTF Secure Protocol and Data Model (SPDM) messages.
Add AeadAesGcm Encrypt and Decrypt. With this change, the size increase of BaseCyrptLib is about 60K bytes. The new functions are verifed by the Host UnitTest. And also it has...
Current CI toolchains are all X86 arch. We need add AARCH64 arch, such as `ARM_GNU` or `AARCH64_GCC` toolchain. Only one configuration is enough.
Current version is https://github.com/DMTF/libspdm/tree/main/unit_test/test_size/malloclib_null. But it does not have any functionality. We need a simple version of memory allocation lib for test_size, to make data more accurately. Reference: https://github.com/tianocore/edk2/blob/master/CryptoPkg/Library/BaseCryptLib/SysCall/RuntimeMemAllocation.c
We need move https://github.com/DMTF/libspdm/blob/main/unit_test/test_size/test_size_of_spdm_requester/compiler_stub.c and https://github.com/DMTF/libspdm/blob/main/unit_test/test_size/test_size_of_spdm_responder/compiler_stub.c to https://github.com/DMTF/libspdm/tree/main/unit_test/test_size/intrinsiclib. Also `memcpy` should be merged to intrinsiclib/memory_intrinsics.c. The original code seems work-around. This is for test_size application. Need test X64 (VS2019, GCC,...
Currently, we added ARM_GNU toolchain - https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads, with 11.2-2022.02: GNU/Linux target (arm-none-linux-gnueabihf, aarch64-none-linux-gnu). The ARM_GNU also supports bare-metal target (arm-none-eabi, aarch64-none-elf). This issue is to investigate if we can enable...
Current https://github.com/DMTF/libspdm/tree/main/os_stub/spdm_device_secret_lib_sample only supports PEM based private key. Since we are also support raw key API, such as `libspdm_ec_set_priv_key` in https://github.com/DMTF/libspdm/blob/main/include/hal/library/cryptlib/cryptlib_ec.h `libspdm_rsa_set_key` in https://github.com/DMTF/libspdm/blob/main/include/hal/library/cryptlib/cryptlib_rsa.h We need demonstrate using raw key,...
Current code does not change export master secrete when key update.
The requirement is: when an integrator uses the libspdm, the integrator wants to know where is the bottle neck. We can think of adding performance macro, and dump the perf...
In libspdm_pci_doe_encode_message(), there is length check for *transport_message_size. But the code is missing in libspdm_mctp_encode_message(). ``` LIBSPDM_ASSERT(*transport_message_size >= aligned_message_size + sizeof(pci_doe_data_object_header_t)); if (*transport_message_size < aligned_message_size + sizeof(pci_doe_data_object_header_t)) { *transport_message_size =...