Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

golang: add Marshal func to tdx report #136

Merged
merged 1 commit into from
Jun 25, 2024
Merged

Conversation

Ruoyu-y
Copy link
Member

@Ruoyu-y Ruoyu-y commented Jun 25, 2024

In some cases, user would like to consume a raw tdx report (a byte array) without structures. Add the Marshal() function to TdxReport type for ease of use.

Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
@Ruoyu-y Ruoyu-y requested a review from dongx1x June 25, 2024 03:12
Copy link
Member

@dongx1x dongx1x left a comment

Choose a reason for hiding this comment

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

LGTM.

@Ruoyu-y Ruoyu-y merged commit 8ed5e29 into cc-api:main Jun 25, 2024
1 check passed
@Ruoyu-y Ruoyu-y deleted the fix-tdx-report branch June 25, 2024 08:42
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