You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the latest code, struct libspdm_connection_info_t has definition "libspdm_peer_used_cert_chain_t peer_used_cert_chain[SPDM_MAX_SLOT_COUNT]", which increased the context size and has some side-effect on memory-tight devices.
Currently SPDM_MAX_SLOT_COUNT is defined in spdm.h. Would it make sense to move it to spdm_lib_config.h, or add check like
"#ifndef SPDM_MAX_SLOT_COUNT/#define SPDM_MAX_SLOT_COUNT 8/#endif" in spdm.h, so SPDM_MAX_SLOT_COUNT could be customized in Makefile?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
With the latest code, struct libspdm_connection_info_t has definition "libspdm_peer_used_cert_chain_t peer_used_cert_chain[SPDM_MAX_SLOT_COUNT]", which increased the context size and has some side-effect on memory-tight devices.
Currently SPDM_MAX_SLOT_COUNT is defined in spdm.h. Would it make sense to move it to spdm_lib_config.h, or add check like
"#ifndef SPDM_MAX_SLOT_COUNT/#define SPDM_MAX_SLOT_COUNT 8/#endif" in spdm.h, so SPDM_MAX_SLOT_COUNT could be customized in Makefile?
Beta Was this translation helpful? Give feedback.
All reactions