Contiki-NG
Loading...
Searching...
No Matches
edhoc-msg-handlers.c File Reference

EDHOC message handling functions. More...

#include <assert.h>
#include "edhoc-msg-handlers.h"
#include "cose.h"
#include "sys/log.h"

Go to the source code of this file.

Functions

edhoc_error_t edhoc_check_err_rx_msg (uint8_t message, const uint8_t *data, size_t data_size)
 Try to deserialize data as an EDHOC error message.
int edhoc_handler_msg_1 (edhoc_context_t *ctx, uint8_t *payload, size_t payload_size, uint8_t *auth_data)
 Handle the EDHOC Message 1 received.
int edhoc_handler_msg_2 (edhoc_msg_2_t *msg2, edhoc_context_t *ctx, uint8_t *payload, size_t payload_size)
 Handle the EDHOC Message 2 received.
int edhoc_handler_msg_3 (edhoc_msg_3_t *msg3, edhoc_context_t *ctx, uint8_t *payload, size_t payload_size)
 Handle the EDHOC Message 3 received.

Detailed Description

EDHOC message handling functions.

Author
Lidia Pocero pocer.nosp@m.o@is.nosp@m.i.gr Peter A Jonsson Rikard Höglund Marco Tiloca Niclas Finne nicla.nosp@m.s.fi.nosp@m.nne@r.nosp@m.i.se Nicolas Tsiftes nicol.nosp@m.as.t.nosp@m.sifte.nosp@m.s@ri.nosp@m..se

Definition in file edhoc-msg-handlers.c.