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

RA devfs #1403

Open
wants to merge 5 commits into
base: 0.30.0-dev
Choose a base branch
from
Open

RA devfs #1403

wants to merge 5 commits into from

Conversation

qzheng527
Copy link
Contributor

No description provided.

@qzheng527 qzheng527 changed the title RAA devfs RA devfs Sep 28, 2023
Ok(Metadata {
dev: 1,
inode: 0,
size: 0,
Copy link
Contributor

Choose a reason for hiding this comment

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

Metadata.size should be set to quote_size

const ATTEST_QUOTE_SIZE: size_t = 5120;

#[derive(Debug)]
struct DevAttest {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think DevAttest can be deprecated.

Ok(Metadata {
dev: 1,
inode: 0,
size: 0,
Copy link
Contributor

Choose a reason for hiding this comment

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

metadata.size = attest_type.len() + 1;

Ok(Metadata {
dev: 1,
inode: 0,
size: 0,
Copy link
Contributor

Choose a reason for hiding this comment

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

metadata.size = ATTEST_REPORT_DATA_SIZE;

@qzheng527 qzheng527 changed the base branch from master to 0.30.0-dev January 8, 2024 03:16
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.

None yet

2 participants