libcoap 4.3.2
|
The structure used to hold the OSCORE configuration information. More...
#include <coap_oscore_internal.h>
Data Fields | |
coap_bin_const_t * | master_secret |
Common Master Secret. More... | |
coap_bin_const_t * | master_salt |
Common Master Salt. More... | |
coap_bin_const_t * | sender_id |
Sender ID (i.e. More... | |
coap_bin_const_t * | id_context |
Common ID context. More... | |
coap_bin_const_t ** | recipient_id |
Recipient ID (i.e. More... | |
uint32_t | recipient_id_count |
Number of recipient_id entries. More... | |
uint32_t | replay_window |
Replay window size Use COAP_OSCORE_DEFAULT_REPLAY_WINDOW. More... | |
uint32_t | ssn_freq |
Sender Seq Num update frequency. More... | |
cose_alg_t | aead_alg |
Set to one of COSE_ALGORITHM_AES*. More... | |
cose_hkdf_alg_t | hkdf_alg |
Set to one of COSE_HKDF_ALG_*. More... | |
uint32_t | rfc8613_b_1_2 |
1 if rfc8613 B.1.2 enabled else 0 More... | |
uint32_t | rfc8613_b_2 |
1 if rfc8613 B.2 protocol else 0 More... | |
uint32_t | break_sender_key |
1 if sender key to be broken, else 0 More... | |
uint32_t | break_recipient_key |
1 if recipient key to be broken, else 0 More... | |
coap_oscore_save_seq_num_t | save_seq_num_func |
Called every seq num change. More... | |
void * | save_seq_num_func_param |
Passed to save_seq_num_func() More... | |
uint64_t | start_seq_num |
Used for ssn_freq updating. More... | |
The structure used to hold the OSCORE configuration information.
Definition at line 36 of file coap_oscore_internal.h.
cose_alg_t coap_oscore_conf_t::aead_alg |
Set to one of COSE_ALGORITHM_AES*.
Definition at line 47 of file coap_oscore_internal.h.
uint32_t coap_oscore_conf_t::break_recipient_key |
1 if recipient key to be broken, else 0
Definition at line 54 of file coap_oscore_internal.h.
uint32_t coap_oscore_conf_t::break_sender_key |
1 if sender key to be broken, else 0
Definition at line 53 of file coap_oscore_internal.h.
cose_hkdf_alg_t coap_oscore_conf_t::hkdf_alg |
Set to one of COSE_HKDF_ALG_*.
Definition at line 48 of file coap_oscore_internal.h.
coap_bin_const_t* coap_oscore_conf_t::id_context |
Common ID context.
Definition at line 40 of file coap_oscore_internal.h.
coap_bin_const_t* coap_oscore_conf_t::master_salt |
Common Master Salt.
Definition at line 38 of file coap_oscore_internal.h.
coap_bin_const_t* coap_oscore_conf_t::master_secret |
Common Master Secret.
Definition at line 37 of file coap_oscore_internal.h.
coap_bin_const_t** coap_oscore_conf_t::recipient_id |
Recipient ID (i.e.
remote peer id) Array of recipient_id
Definition at line 41 of file coap_oscore_internal.h.
uint32_t coap_oscore_conf_t::recipient_id_count |
Number of recipient_id entries.
Definition at line 43 of file coap_oscore_internal.h.
uint32_t coap_oscore_conf_t::replay_window |
Replay window size Use COAP_OSCORE_DEFAULT_REPLAY_WINDOW.
Definition at line 44 of file coap_oscore_internal.h.
uint32_t coap_oscore_conf_t::rfc8613_b_1_2 |
1 if rfc8613 B.1.2 enabled else 0
Definition at line 49 of file coap_oscore_internal.h.
uint32_t coap_oscore_conf_t::rfc8613_b_2 |
1 if rfc8613 B.2 protocol else 0
Definition at line 50 of file coap_oscore_internal.h.
coap_oscore_save_seq_num_t coap_oscore_conf_t::save_seq_num_func |
Called every seq num change.
Definition at line 57 of file coap_oscore_internal.h.
void* coap_oscore_conf_t::save_seq_num_func_param |
Passed to save_seq_num_func()
Definition at line 59 of file coap_oscore_internal.h.
coap_bin_const_t* coap_oscore_conf_t::sender_id |
uint32_t coap_oscore_conf_t::ssn_freq |
Sender Seq Num update frequency.
Definition at line 46 of file coap_oscore_internal.h.
uint64_t coap_oscore_conf_t::start_seq_num |
Used for ssn_freq updating.
Definition at line 60 of file coap_oscore_internal.h.