Open MBradbury opened 3 years ago
Some examples, a parameter seems to be missing from get_src_endpoint at https://github.com/Gunzter/contiki-ng/blob/group_oscore/os/net/app-layer/coap/coap-uip.c#L390
verify_res
will not be defined at https://github.com/Gunzter/contiki-ng/blob/group_oscore/os/net/app-layer/coap/coap-engine.c#L211 when WITH_GROUPCOM is not defined.
Contiki-NG should compile when WITH_GROUPCOM is not defined, or code paths that are specified when WITH_GROUPCOM is not defined should be removed.
Ideally, there would be no difference between defining WITH_GROUPCOM or not defining WITH_GROUPCOM. It would be preferable if a user of the API could specify if they want encrypted+mac (OSCORE), encrypted+mac+digital signature (Group OSCORE) or digital signature (Group OSCORE).