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

Add support for new IntegrityRegisters field #369

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jhand2
Copy link
Collaborator

@jhand2 jhand2 commented Dec 20, 2024

The latest DICE Attestation Architecture adds support for the IntegrityRegisters field. Use this for Cumulative measurements instead of adding a fwid.

@jhand2 jhand2 requested review from fdamato and clundin25 December 20, 2024 00:30
@clundin25
Copy link
Contributor

Looks like the cargo-afl lockfile blocked the CI for this PR too.

One solution is to lock the cargo-afl version used by the CI, similar to https://github.com/chipsalliance/caliptra-dpe/pull/368/files#diff-95bb4f36f7ea53c8ed1af485b779550e22e21e4686c5f126a64eb6b074a8f99d

The latest DICE Attestation Architecture adds support for the
IntegrityRegisters field. Use this for Cumulative measurements instead
of adding a fwid.
// integrityRegusters[0] SEQUENCE
bytes_written += self.encode_byte(Self::SEQUENCE_TAG)?;
bytes_written += self.encode_size_field(fwid_list_size)?;

Copy link
Contributor

Choose a reason for hiding this comment

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

Would a comment explaining the omission of register_num be useful?

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