feat(rebinding): update MIGTD_DATA to GHCI 1.5 TDINFO format#778
Merged
jyao1 merged 1 commit intointel:mainfrom Apr 8, 2026
Merged
feat(rebinding): update MIGTD_DATA to GHCI 1.5 TDINFO format#778jyao1 merged 1 commit intointel:mainfrom
jyao1 merged 1 commit intointel:mainfrom
Conversation
369a74a to
8f4c3f5
Compare
Per GHCI 1.5, MIGTD_DATA now contains a single entry of type TDINFO: - Replace 3 type constants with MIGTD_DATA_TYPE_TDINFO = 0 - Rewrite InitData struct: init_report/policy/event_log -> init_tdinfo - Add mrowner()/mrownerconfig() helpers for TDINFO_STRUCT field extraction - Enforce numberOfEntry == 1 and min size 512 in read_from_bytes() - get_from_local() extracts td_info from TDX report instead of full report - Update rebinding_old_prepare to use mrowner and local event_log - spdm_req: TdReportInit sends init_tdinfo, EventLogInit uses local log, MigPolicyInit sends mrowner instead of digest_sha384(init_policy) - Remove digest_sha384 import from rebinding.rs Co-authored-by: Grams, Stanislaw <stanislaw.grams@intel.com>
8f4c3f5 to
6fac52f
Compare
jyao1
approved these changes
Apr 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Per GHCI 1.5, MIGTD_DATA now contains a single entry of type TDINFO:
MigPolicyInit sends mrowner instead of digest_sha384(init_policy)