On Jul 23, 2024, at 12:08 AM, Ilari Liusvaara <[email protected]> wrote:

One issue with Recipient_structure is that it is not completely clear
when it is used as opposed to Enc_structure. I presume if COSE-HPKE
is at layer 1+, then use Recipient_structure, else use Enc_structure.

Simple:
    COSE_Encrypt uses Enc_structure
    COSE_Recipient uses Recipient_structure

 COSE_Recipient always has a next layer and thus a next layer alg, COSE_Encrypt 
never does.

We can’t apply this to -29 and friends, but we can for anything we do going 
forward.

We will also do a better job of the text descriptions for encrypting and 
decrypting than 9052 & 9053 did.

LL

.
_______________________________________________
COSE mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to