On Feb 21, 2022, at 6:31 AM, Hannes Tschofenig <[email protected]> wrote: > > I could, however, imagine to write an COSE implementation that does not > require the entire CWT be held in RAM since the digital signature just covers > the hash of the CWT and you can use a rolling hash.
No need to imagine. For signing, t_coseĀ <https://github.com/laurencelundblade/t_cose>allows you to create COSE headers, then CBOR-encode the payload an item at a time and then append the signature. t_cose does require the completed COSE message be in RAM, but not the input payload. LL
_______________________________________________ COSE mailing list [email protected] https://www.ietf.org/mailman/listinfo/cose
