Add host-side tests for SPDM This adds host-side tests for the SPDM stack through VCA, which does not require cryptographic services. It utilzes a similar flow to the MCTP echo test, using the MCTP stack objects to utilize the DirectClient loopback functionality. Some of the mock functionality may be fleshed out in the future, but we already know the full requester and responder stacks function. * Resolves an undersized buffer issue. ** Eliminated magic numbers in tests. * Clears sent_tag after response is received
The OpenPRoT Technical Charter can be found at https://github.com/OpenPRoT/.github/blob/main/GOVERNANCE.md
NOTE: We are converting our build system to bazel. We recommend installing bazelisk to automatically manage bazel versions.
You can run tasks using the Pigweed workflow launcher pw or bazel.
./pw presubmit - Run presubmit checks: formatting, license checks, C/C++ header checks and clippy../pw format - Run the code formatters.bazel test //... - Run all tests.bazel build //docs - Build documentation.The project is structured as a bazel module.
No additional tools are required - all dependencies are managed by bazel.