Z-Wave Protocol Controller Reference
zwave_s2_nonce_management.h File Reference
Include dependency graph for zwave_s2_nonce_management.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  span_entry
 Structure holding a SPAN entry. Refer to LibS2 for field descriptions. More...
 
struct  mpan_entry
 Structure holding an MPAN entry. Refer to LibS2 for field descriptions. More...
 

Macros

#define CTR_DRBG_KEY_LENGTH   16
 Length of the key in the CTR_DRBG. More...
 
#define CTR_DRBG_INTERNAL_STATE_LENGTH   16
 Length of the internal state of the CTR_DRBG. More...
 
#define MPAN_INNER_STATE_LENGTH   16
 Length of the inner state of an MPAN. More...
 

Typedefs

typedef struct span_entry span_entry_t
 Structure holding a SPAN entry. Refer to LibS2 for field descriptions. More...
 
typedef struct mpan_entry mpan_entry_t
 Structure holding an MPAN entry. Refer to LibS2 for field descriptions. More...
 

Functions

sl_status_t zwave_s2_get_span_data (zwave_node_id_t node_id, span_entry_t *span_data)
 Fetches a Span entry object from the S2 SPAN table. More...
 
void zwave_s2_set_span_table (zwave_node_id_t node_id, const span_entry_t *span_data)
 Copies a Span entry object into an entry of the S2 SPAN table. More...
 
sl_status_t zwave_s2_get_mpan_data (zwave_node_id_t owner_node_id, zwave_multicast_group_id_t group_id, mpan_entry_t *mpan_data)
 Fetches an MPAN entry object from the S2 MPAN table. More...
 
void zwave_s2_set_mpan_data (zwave_node_id_t owner_node_id, zwave_multicast_group_id_t group_id, const mpan_entry_t *mpan_data)
 Copies an MPAN entry object into an entry of the S2 MPAN table. More...
 
void zwave_s2_reset_span (zwave_node_id_t node_id)
 Resets the SPAN for node_id by setting its state to SPAN_NOT_USED. More...
 
void zwave_s2_reset_mpan (zwave_node_id_t owner_node_id, zwave_multicast_group_id_t group_id)
 Resets the MPAN entry matching owner_node_id and group_id by setting its state to MPAN_NOT_USED. More...