Skip to content

Commit

Permalink
Switch order of label and format in CertifyKey Req to match spec
Browse files Browse the repository at this point in the history
fixes #315
  • Loading branch information
sree-revoori1 committed Feb 14, 2024
1 parent f048f4a commit 4eb8305
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dpe/src/commands/certify_key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ bitflags! {
pub struct CertifyKeyCmd {
pub handle: ContextHandle,
pub flags: CertifyKeyFlags,
pub label: [u8; DPE_PROFILE.get_hash_size()],
pub format: u32,
pub label: [u8; DPE_PROFILE.get_hash_size()],
}

impl CertifyKeyCmd {
Expand Down
2 changes: 1 addition & 1 deletion verification/client/abi.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ const (
type CertifyKeyReq[Digest DigestAlgorithm] struct {
ContextHandle ContextHandle
Flags CertifyKeyFlags
Label Digest
Format CertifyKeyFormat
Label Digest
}

// CertifyKeyResp is the output response from CertifyKey
Expand Down

0 comments on commit 4eb8305

Please sign in to comment.