Skip to content

helios-rot: attestation variant for p384 must include the digest function #4

Description

@flihp

The P384 variant in the Attestation type https://github.com/oxidecomputer/dice-util/blob/d4c761370597e7476782c1225b70505142ead378/helios-rot/src/lib.rs#L60 assumes that the Sha2_384 digest is being used. This is the default for the p384 crate, and the recommendation from NIST. But use of Sha3_384 is allowed, as is the 512 variants. Use digest algorithms with smaller output is possible but discouraged. We need to add an identifier for the hash digest to the variants in this enum.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions