Skip to content

Support sev-snp measurement under crypto_nossl#391

Merged
DGonzalezVillal merged 1 commit into
virtee:mainfrom
eidola-ai:crypto_nossl_measurement
Apr 7, 2026
Merged

Support sev-snp measurement under crypto_nossl#391
DGonzalezVillal merged 1 commit into
virtee:mainfrom
eidola-ai:crypto_nossl_measurement

Conversation

@mike-marcacci
Copy link
Copy Markdown
Contributor

None of the measurement functionality was supported under the crypto_nossl feature.

This adds support where doing so is trivial (including snp_calc_launch_digest, which I needed) but does not add support for functionality that required more substantial changes.

Copy link
Copy Markdown
Member

@tylerfanelli tylerfanelli left a comment

Choose a reason for hiding this comment

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

Can you add a Signed-off-by line to the commit?

Copy link
Copy Markdown
Member

@DGonzalezVillal DGonzalezVillal left a comment

Choose a reason for hiding this comment

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

LGTM thank you for the PR

@DGonzalezVillal
Copy link
Copy Markdown
Member

please sign-off commit

Signed-off-by: Mike Marcacci <mike.marcacci@gmail.com>
@mike-marcacci mike-marcacci force-pushed the crypto_nossl_measurement branch from fdd2fcd to 2d9c9ad Compare April 3, 2026 14:50
@mike-marcacci
Copy link
Copy Markdown
Contributor Author

mike-marcacci commented Apr 3, 2026

Just added a sign-off — sorry for the delay!

Copy link
Copy Markdown
Member

@tylerfanelli tylerfanelli left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

Comment thread src/measurement/mod.rs
Comment on lines +15 to +18
#[cfg(all(
any(feature = "sev", feature = "snp"),
any(feature = "openssl", feature = "crypto_nossl")
))]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Unrelated to this PR, @DGonzalezVillal we should take a serious look on simplifying these combination conditionals. For example, AFAIU any(feature = "sev", feature = "snp") will always be true.

@DGonzalezVillal DGonzalezVillal merged commit 9cf2adb into virtee:main Apr 7, 2026
123 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.

4 participants