Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
coap_oscore.h File Reference

CoAP OSCORE API. More...

#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
#include <zephyr/net/net_ip.h>
#include <zephyr/net/coap.h>

Go to the source code of this file.

Data Structures

struct  coap_oscore_exchange
 OSCORE exchange entry. More...
struct  coap_oscore_init_params
 OSCORE security context derivation parameters (RFC 8613 Section 3.2). More...

Enumerations

enum  coap_oscore_aead_alg { COAP_OSCORE_AEAD_AES_CCM_16_64_128 = 0 }
 AEAD algorithm used to protect OSCORE messages (RFC 8613 Section 3.1). More...
enum  coap_oscore_hkdf { COAP_OSCORE_HKDF_SHA_256 = 0 }
 HKDF algorithm used to derive OSCORE keys (RFC 8613 Section 3.1). More...

Functions

int coap_oscore_context_init (struct coap_oscore_init_params *params, struct coap_oscore_context **ctx)
 Initialize an OSCORE security context.
void coap_oscore_context_free (struct coap_oscore_context *ctx)
 Release an OSCORE security context.

Detailed Description

CoAP OSCORE API.

A public API for creating OSCORE (RFC 8613) security contexts that can be attached to a CoAP client or service.