Laurence Lundblade
Laurence Lundblade
This should fan out for all algorithms supported.
Generate some HPKE-encrypted messages using some other tool and embed them in t_cose tests t_cose should be able to decrypt them t_cose should be able to encrypt the same payload...
t_cose very intentionally doesn't use malloc so it use needs to be remove from HPKE
COSE_Mac0 is implemented. It would be nice to do COSE_MAC with COSE_Recipients too as part of the validation of COSE_Recipients -- the ones shared with COSE_Encrypt even though there's not...
While we have basic HPKE working in conformance with draft-ietf-cose-hpke-04, there's a lot before it is to commercial quality release level. Rather than filling a large number of issues, they...
This is for COSE_Encrypt0, COSE_Encrypt, the key wrap COSE_Recipient and the HPKE COSE_Recipient
This will test the COSE_Encrypt and COSE_Encrypt0 decoding
Size calculation mode (ptr NULL, len SIZE_MAX) is close to working, but not complete and not tested.