Skip to content

Conversation

@MahatiC
Copy link
Member

@MahatiC MahatiC commented Oct 28, 2025

  • This change repurposes existing data structures and uses them for both C-LCOW and C-WCOW

@MahatiC MahatiC force-pushed the refactoring-confidential branch from 7f5ca46 to fa8bfb1 Compare October 28, 2025 17:27
@MahatiC MahatiC force-pushed the refactoring-confidential branch from fa8bfb1 to 8d14576 Compare October 29, 2025 10:23
@MahatiC MahatiC force-pushed the refactoring-confidential branch 3 times, most recently from 990fe18 to 8cfcea8 Compare October 31, 2025 16:17
@MahatiC MahatiC force-pushed the refactoring-confidential branch 3 times, most recently from 5d6a794 to 309345c Compare November 5, 2025 11:47
@MahatiC MahatiC marked this pull request as ready for review November 6, 2025 09:03
@MahatiC MahatiC requested a review from a team as a code owner November 6, 2025 09:03

// validateHostData fetches SNP report (if applicable) and validates `hostData` against
// HostData set at UVM launch.
func validateHostData(hostData []byte) error {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This code and the code in the windows version are functionally equivalent. I suspect the main difference is the amdsevsnp vs PsPDriver as the owner of the PSP device. Can we get that behind an abstraction so this code is actually the same concrete function?

Copy link
Member Author

@MahatiC MahatiC Nov 6, 2025

Choose a reason for hiding this comment

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

They are already abstracted and call their respective driver functions (which are OS specific) though.

"github.com/sirupsen/logrus"
)

type SecurityOptions struct {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Are these really options? Or are they things that were previous stuffed into the Options object kind of on the cheap back in the mists of time?

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not sure I understand this?

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.

3 participants