feature/SP-5357, calc mrenclave with hashes#1
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
Disabled knowledge base sources:
WalkthroughThis PR adds precomputed hash support to SNP measurement calculations by exposing a public ChangesRaw hash support for SNP measurement
Sequence DiagramsequenceDiagram
participant Caller
participant snp_calc_launch_digest_with_hashes
participant SevHashes
participant Gctx
Caller->>snp_calc_launch_digest_with_hashes: SnpMeasurementWithHashesArgs (kernel_hash, initrd_hash, cmdline_hash)
snp_calc_launch_digest_with_hashes->>Gctx: construct from OVMF hash or file
snp_calc_launch_digest_with_hashes->>SevHashes: new_raw (precomputed hashes)
SevHashes-->>snp_calc_launch_digest_with_hashes: SevHashes instance
snp_calc_launch_digest_with_hashes->>Gctx: update metadata pages with hashes
snp_calc_launch_digest_with_hashes->>Gctx: build VMSA pages
snp_calc_launch_digest_with_hashes->>Gctx: finalize
Gctx-->>snp_calc_launch_digest_with_hashes: SnpLaunchDigest
snp_calc_launch_digest_with_hashes-->>Caller: SnpLaunchDigest result
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary by CodeRabbit
Release Notes