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

EDHOC Exporter API - Interface to derive application security contexts from the EDHOC shared secret. More...

#include <stdint.h>
#include <string.h>
#include <stdio.h>
#include "edhoc.h"

Go to the source code of this file.

Data Structures

struct  oscore_ctx
 OSCORE context struct. More...

Typedefs

typedef struct oscore_ctx oscore_ctx_t
 OSCORE context struct.

Functions

int8_t edhoc_exporter_oscore (oscore_ctx_t *osc, edhoc_context_t *ctx)
 Derive an OSCORE Context from EDHOC.
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.

Detailed Description

EDHOC Exporter API - Interface to derive application security contexts from the EDHOC shared secret.

Author
Lidia Pocero pocer.nosp@m.o@is.nosp@m.i.gr, Rikard Höglund, Marco Tiloca Christos Koulamas cklm@.nosp@m.isi..nosp@m.gr

Definition in file edhoc-exporter.h.