Skip to content

Commit

Permalink
In spec only S3 old key dropped before verify new key operation
Browse files Browse the repository at this point in the history
Signed-off-by: OuyangHang33 <[email protected]>
  • Loading branch information
OuyangHang33 authored and jyao1 committed Apr 26, 2024
1 parent fae2ec6 commit 90dc8da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spdmlib/src/responder/key_update_rsp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ impl ResponderContext {
}
SpdmKeyUpdateOperation::SpdmUpdateAllKeys => {
let _ = session.create_data_secret_update(spdm_version_sel, true, true);
let _ = session.activate_data_secret_update(spdm_version_sel, true, true, true);
let _ = session.activate_data_secret_update(spdm_version_sel, false, true, true);
}
SpdmKeyUpdateOperation::SpdmVerifyNewKey => {
let _ = session.activate_data_secret_update(spdm_version_sel, true, false, true);
Expand Down

0 comments on commit 90dc8da

Please sign in to comment.