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

EDHOC, an implementation of Ephemeral Diffie-Hellman Over COSE (EDHOC) (IETF RFC9528). More...

#include "contiki.h"
#include "lib/sha-256.h"
#include "lib/cbor.h"
#include "edhoc.h"
#include "edhoc-config.h"
#include "edhoc-msgs.h"
#include "edhoc-msg-generators.h"
#include "edhoc-error.h"
#include "cose.h"
#include <assert.h>
#include "sys/log.h"

Go to the source code of this file.

Functions

edhoc_error_t edhoc_generate_message_1 (edhoc_context_t *ctx, uint8_t *ad, size_t ad_sz, bool suite_array)
 Generate the EDHOC Message 1 and set it in the EDHOC context.
edhoc_error_t edhoc_generate_message_2 (edhoc_context_t *ctx, const uint8_t *auth_data, size_t auth_data_size)
 Generate the EDHOC Message 2 and set it in the EDHOC context.
edhoc_error_t edhoc_generate_message_3 (edhoc_context_t *ctx, const uint8_t *auth_data, size_t auth_data_size)
 Generate the EDHOC Message 3 and set it in the EDHOC context.

Detailed Description

EDHOC, an implementation of Ephemeral Diffie-Hellman Over COSE (EDHOC) (IETF RFC9528).

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-generators.c.