We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does SPDM emulator support SHA3 algorithms?
I'm seeing the following error when calling spdm responder / requester with '--hash SHA3_256 --meas_hash SHA3-256'
SpdmReceiveRequest[.] ...
SpdmReceiveRequest[0] msg SPDM_CHALLENGE(0x83), size (0x24):
0000: 11 83 00 ff d8 cc 5f 77 18 f1 30 a8 c7 d2 36 a1 39 c3 3f 2b 32 06 c3 90 c0 e0 78 f4 a5 08 c5 de
0020: 4f fa b4 c4
SpdmSendResponse[0] ...
m1m2 hash - b3 3d 53 dc 21 a0 a0 4f 3f 68 44 42 49 88 71 8f 6a 57 e4 3a 2e 04 45 56 e7 09 70 17 0e 6d f4 49
SpdmSendResponse[0]: msg SPDM_ERROR(0x7f), size (0x4):
cmake -DARCH=x64 -DTOOLCHAIN=GCC -DTARGET=Debug -DCRYPTO=openssl .. make copy_sample_key
./spdm_responder_emu --pcap responder.pcap --ver 1.1 --hash SHA3_256 --meas_hash SHA3_256 --asym ECDSA_P256 --cap CERT,MEAS_SIG,CHAL,KEY_EX,ENCRYPT,MAC > responder.log
/spdm_requester_emu --ver 1.1 --hash SHA3_256 --meas_hash SHA3_256 --asym ECDSA_P256 --pcap requester.pcap > requester.log
The text was updated successfully, but these errors were encountered:
This is a 'libspdm' issue. I've fixed this issue in the following PR:
Sorry, something went wrong.
This issue can be resolved once spdm-emu syncs to the latest libspdm.
spdm-emu
libspdm
jyao1
No branches or pull requests
Does SPDM emulator support SHA3 algorithms?
I'm seeing the following error when calling spdm responder / requester with '--hash SHA3_256 --meas_hash SHA3-256'
Responder's log:
SpdmReceiveRequest[.] ...
SpdmReceiveRequest[0] msg SPDM_CHALLENGE(0x83), size (0x24):
0000: 11 83 00 ff d8 cc 5f 77 18 f1 30 a8 c7 d2 36 a1 39 c3 3f 2b 32 06 c3 90 c0 e0 78 f4 a5 08 c5 de
0020: 4f fa b4 c4
SpdmSendResponse[0] ...
m1m2 hash - b3 3d 53 dc 21 a0 a0 4f 3f 68 44 42 49 88 71 8f 6a 57 e4 3a 2e 04 45 56 e7 09 70 17 0e 6d f4 49
SpdmSendResponse[0]: msg SPDM_ERROR(0x7f), size (0x4):
Steps to reproduce:
cmake -DARCH=x64 -DTOOLCHAIN=GCC -DTARGET=Debug -DCRYPTO=openssl ..
make
copy_sample_key
./spdm_responder_emu --pcap responder.pcap --ver 1.1 --hash SHA3_256 --meas_hash SHA3_256 --asym ECDSA_P256 --cap CERT,MEAS_SIG,CHAL,KEY_EX,ENCRYPT,MAC > responder.log
/spdm_requester_emu --ver 1.1 --hash SHA3_256 --meas_hash SHA3_256 --asym ECDSA_P256 --pcap requester.pcap > requester.log
The text was updated successfully, but these errors were encountered: