Skip to content

Conversation

@IntelCaisui
Copy link
Contributor

Add policy v1 support for spdm attestation.
Also rename the quote, event_log, policy_hash based on src and dst
to improvement code readability.

@IntelCaisui IntelCaisui requested a review from jyao1 as a code owner October 24, 2025 10:00
@IntelCaisui IntelCaisui force-pushed the 251024_ADD_VERIFY_POLICY_SPDM branch 2 times, most recently from aad9845 to 09fce07 Compare October 24, 2025 10:04
Comment on lines 543 to 544
#[allow(unused_variables)]
let event_log_dst = reader.take(vdm_element.length as usize).unwrap();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why change this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#[allow(unused_variables)]
could
be updated as
#[cfg(not(feature = "policy_v2"))]

Will update that. Same change will be applied to similar changes.

Comment on lines 323 to 368
let _event_log_dst = reader.take(vdm_element.length as usize).unwrap();
#[allow(unused_variables)]
let event_log_src = reader.take(vdm_element.length as usize).unwrap();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why change this?

@IntelCaisui IntelCaisui force-pushed the 251024_ADD_VERIFY_POLICY_SPDM branch 2 times, most recently from bf540c7 to 1190f1c Compare October 27, 2025 06:00
Add policy v1 support for spdm attestation.
Also rename the quote, event_log, policy_hash based on src and dst
  to improvement code readability.
@IntelCaisui IntelCaisui force-pushed the 251024_ADD_VERIFY_POLICY_SPDM branch from 1190f1c to 60e9d16 Compare October 27, 2025 06:27
@jyao1 jyao1 merged commit 38c8bc3 into intel:main Oct 28, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants