Skip to content

Commit

Permalink
Update suit cose profiles
Browse files Browse the repository at this point in the history
Addresses #356

Signed-off-by: Dave Thaler <dthaler@microsoft.com>
  • Loading branch information
dthaler committed Sep 27, 2023
1 parent 17c53d7 commit 7bf2045
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions draft-ietf-teep-protocol.cddl
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ cose-alg-es256 = -7 ; ECDSA w/ SHA-256
cose-alg-eddsa = -8 ; EdDSA

; suit-cose-profile
$suit-cose-profile /= suit-sha256-es256-ecdh-a128gcm
$suit-cose-profile /= suit-sha256-eddsa-ecdh-a128gcm
$suit-cose-profile /= suit-sha256-es256-ecdh-a128ctr
$suit-cose-profile /= suit-sha256-eddsa-ecdh-a128ctr

; freshness-mechanisms
FRESHNESS_NONCE = 0
Expand Down
10 changes: 5 additions & 5 deletions draft-ietf-teep-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -1678,8 +1678,8 @@ It MAY also support use with COSE_Encrypt or other COSE types in additional ciph

~~~~ cddl-suit-cose-profile
; suit-cose-profile
$suit-cose-profile /= suit-sha256-es256-ecdh-a128gcm
$suit-cose-profile /= suit-sha256-eddsa-ecdh-a128gcm
$suit-cose-profile /= suit-sha256-es256-ecdh-a128ctr
$suit-cose-profile /= suit-sha256-eddsa-ecdh-a128ctr
~~~~

# Freshness Mechanisms {#freshness-mechanisms}
Expand Down Expand Up @@ -2236,12 +2236,12 @@ and the suit-record-section-offset refers to:

~~~~
<<[
/ directive-set-dependency-index / 13,0 ,
/ directive-set-dependency-index / 13,0,
/ directive-set-parameters / 19,{
/ uri / 21:'tam.teep.example/'
'edd94cd8-9d9c-4cc8-9216-b3ad5a2d5b8a.suit',
} ,
/ directive-fetch / 21,2 ,
},
/ directive-fetch / 21,2,
/ condition-image-match / 3,15
]>>,
~~~~

0 comments on commit 7bf2045

Please sign in to comment.