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

edhoc-export an implementation to export keys from the EDHOC shared secret More...

#include "edhoc-exporter.h"
#include "contiki-lib.h"
#include "sys/log.h"

Go to the source code of this file.

Functions

void print_oscore_ctx (oscore_ctx_t *osc)
 Print OSCORE Security Context contents for debugging.
int8_t edhoc_exporter (const uint8_t *in_key, uint8_t exporter_label, const uint8_t *context, uint8_t context_sz, uint16_t length, uint8_t *result)
 Derive an application-specific key from EDHOC.
int8_t edhoc_exporter_oscore (oscore_ctx_t *osc, edhoc_context_t *ctx)
 Derive an OSCORE Context from EDHOC.

Detailed Description

edhoc-export an implementation to export keys from the EDHOC shared secret

Author
Lidia Pocero pocer.nosp@m.o@is.nosp@m.i.gr Rikard Höglund Marco Tiloca

Definition in file edhoc-exporter.c.