eriptic / uoscore-uedhoc

C implementations for constrained (and non-constrained) devices of the IETF protocols OSCORE and EDHOC
Other
15 stars 15 forks source link

feat: given the user access to initiator c_r buffer #34

Closed mopsiok closed 1 year ago

mopsiok commented 1 year ago

As described in EDHOC RFC Appendix A.2, Figure 15 (https://www.ietf.org/archive/id/draft-ietf-lake-edhoc-18.html#name-example-of-transferring-edh), connection identifier is needed by the initiator to append it to the payload when transporting the message via CoAP.

Interface of msg3_gen function was modified to take it as an external argument which can be accessed by the user. edhoc_initiator_run can be used in the same way as before.