Skip to content

Commit

Permalink
update: payload to ciphertext for COSE_Encrypt
Browse files Browse the repository at this point in the history
  • Loading branch information
kentakayama committed Jan 6, 2025
1 parent 7625d6c commit d614950
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 13 deletions.
4 changes: 2 additions & 2 deletions examples/suit-encryption-info-aes-kw-aes-cbc.diag
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
/ alg / 1: -65531 / A128CBC /,
/ IV / 5: h'93702C81590F845D9EC866CCAC767BD1'
},
/ payload: / null / detached ciphertext /,
/ ciphertext: / null / detached ciphertext /,
/ recipients: / [
[
/ protected: / h'',
/ unprotected: / {
/ alg / 1: -3 / A128KW /,
/ kid / 4: 'kid-1'
},
/ payload: /
/ ciphertext: /
h'E198FF269626EC43299D33586FC7B2646B13292261160422'
/ CEK encrypted with KEK /
]
Expand Down
4 changes: 2 additions & 2 deletions examples/suit-encryption-info-aes-kw-aes-ctr.diag
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
/ alg / 1: -65534 / A128CTR /,
/ IV / 5: h'DAE613B2E0DC55F4322BE38BDBA9DC68'
},
/ payload: / null / detached ciphertext /,
/ ciphertext: / null / detached ciphertext /,
/ recipients: / [
[
/ protected: / h'',
/ unprotected: / {
/ alg / 1: -3 / A128KW /,
/ kid / 4: 'kid-1'
},
/ payload: /
/ ciphertext: /
h'CE34035CE5C2E2666E46D4C131FC561DD190A6D26CFA1990'
/ CEK encrypted with KEK /
]
Expand Down
4 changes: 2 additions & 2 deletions examples/suit-encryption-info-aes-kw-aes-gcm.diag
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
/ unprotected: / {
/ IV / 5: h'F14AAB9D81D51F7AD943FE87'
},
/ payload: / null / detached ciphertext /,
/ ciphertext: / null / detached ciphertext /,
/ recipients: / [
[
/ protected: / h'',
/ unprotected: / {
/ alg / 1: -3 / A128KW /,
/ kid / 4: 'kid-1'
},
/ payload: /
/ ciphertext: /
h'75603FFC9518D794713C8CA8A115A7FB32565A6D59534D62'
/ CEK encrypted with KEK /
]
Expand Down
5 changes: 3 additions & 2 deletions examples/suit-encryption-info-es-ecdh-aes-cbc.diag
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ alg / 1: -65531 / A128CBC /,
/ IV / 5: h'93702C81590F845D9EC866CCAC767BD1'
},
/ payload: / null / detached ciphertext /,
/ ciphertext: / null / detached ciphertext /,
/ recipients: / [
[
/ protected: / << {
Expand All @@ -20,7 +20,8 @@
AE3D0C77976864EF725DB2B30ABCE6F6'
}
},
/ payload: / h'04928D52CD34AC8CA0427CEED6D7C5D06A21B5F4F79CAA18'
/ ciphertext: /
h'04928D52CD34AC8CA0427CEED6D7C5D06A21B5F4F79CAA18'
/ CEK encrypted with KEK /
]
]
Expand Down
5 changes: 3 additions & 2 deletions examples/suit-encryption-info-es-ecdh-aes-ctr.diag
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ alg / 1: -65534 / A128CTR /,
/ IV / 5: h'DAE613B2E0DC55F4322BE38BDBA9DC68'
},
/ payload: / null / detached ciphertext /,
/ ciphertext: / null / detached ciphertext /,
/ recipients: / [
[
/ protected: / << {
Expand All @@ -20,7 +20,8 @@
B5D36725BFDB9AE02032ED4D5AB52CB8'
}
},
/ payload: / h'E28B4502E4F5151884A995405579006E9465C3E94E3E0808'
/ ciphertext: /
h'E28B4502E4F5151884A995405579006E9465C3E94E3E0808'
/ CEK encrypted with KEK /
]
]
Expand Down
6 changes: 3 additions & 3 deletions examples/suit-encryption-info-es-ecdh-aes-gcm.diag
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/ unprotected: / {
/ IV / 5: h'F14AAB9D81D51F7AD943FE87'
},
/ payload: / null / detached ciphertext /,
/ ciphertext: / null / detached ciphertext /,
/ recipients: / [
[
/ protected: / << {
Expand All @@ -21,8 +21,8 @@
347E521D43405FDBD7D2CFF0EBC21B26'
}
},
/ payload:
/ h'A06B8E6550F308712B1DF044B21B7D11D9B22792F1DE0997'
/ ciphertext: /
h'A06B8E6550F308712B1DF044B21B7D11D9B22792F1DE0997'
/ CEK encrypted with KEK /
]
]
Expand Down

0 comments on commit d614950

Please sign in to comment.