A rust version SPDM implementation.
It is derived from https://github.com/jyao1/openspdm.
- Install RUST
please use nightly-2021-08-20.
- Install NASM
Please make sure nasm can be found in PATH.
- Install LLVM
Please make sure clang can be found in PATH.
For OS build, unset env (CC and AR):
set CC=
set AR=
cargo build
cargo clippy
cargo fmt
Open one command windows and run:
cargo run -p spdm-responder-emu
Open another command windows and run:
cargo run -p spdm-requester-emu
This package is only the sample code to show the concept. It does not have a full validation such as robustness functional test and fuzzing test. It does not meet the production quality yet. Any codes including the API definition, the libary and the drivers are subject to change.