Steven Bellock
Steven Bellock
#1290 seems to have fixed all the warning that we control. The warnings for CodeQL and the other actions we use should be fixed upstream. I will keep this issue...
@steven-bellock to provide a proposal. May also propose an acquire / release pattern for accessing cryptography operations.
Related issues https://github.com/DMTF/libspdm/issues/184 https://github.com/DMTF/libspdm/issues/496
Hi @liyi77. Yes it would be something like this, although as you know we'd need to fix #1117 before this could be implemented. Also, we should have the requirement that...
Need a document in the doc/ folder that goes over assumptions.
libspdm also assumes that the underlying encoding of character constants is ASCII.
libspdm also assumes that the compiler supports `pragma pack`.
Also in `libspdm_try_get_version` we need to validate that the major / minor version numbers are legal; 1.0, 1.1, 1.2, etc.
In `NEGOTIATE_ALGORITHMS` libspdm needs to check `struct_table->alg_type`.
[We talked about this at the VF2F ](https://github.com/DMTF/Security-TF/issues/1900) and it is considered implementation-defined behavior.