-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
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
Upgrate SPDM 1.3 Version Support #150
Conversation
0e6bbd2
to
2f6fc74
Compare
This patch includes many optional changes that should not be included to handle #135. |
2f6fc74
to
ef5aeb1
Compare
@@ -80,6 +80,8 @@ fn test_case0_handle_spdm_version() { | |||
assert_eq!(payload.versions[1].version, SpdmVersion::SpdmVersion11); | |||
assert_eq!(payload.versions[2].update, 0); | |||
assert_eq!(payload.versions[2].version, SpdmVersion::SpdmVersion12); | |||
assert_eq!(payload.versions[3].update, 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add check for SpdmVersion13 entry generation in spdm_version_reponse unit test.
@@ -177,7 +177,7 @@ pub fn req_create_info() -> (SpdmConfigInfo, SpdmProvisionInfo) { | |||
Some(SpdmVersion::SpdmVersion10), | |||
Some(SpdmVersion::SpdmVersion11), | |||
Some(SpdmVersion::SpdmVersion12), | |||
None, | |||
Some(SpdmVersion::SpdmVersion13), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add SpdmVersion13 config in spdmlib-test.
Fix ccc-spdm-tools#135 This Patch adds spdm 1.3 version support 1. Remains version configs of requester/responder as spdm 1.2 to avoid version negotiated to 1.3 since spdm 1.3 required features are not ready. 2. Remains UpdateVersionNumber of VersionNumberEntry for version 1.3 in Ger_Version Response as 0. Will track the updating to 1.3.2 (most recent) in another issue.
ef5aeb1
to
dee2060
Compare
Fix #135
This Patch adds spdm 1.3 version support
since spdm 1.3 required features are not ready.
0. Will track the updating to 1.3.2 (most recent in other issuee).