Z-Wave Protocol Controller Reference
zwave_s2_keystore.h
Go to the documentation of this file.
1/******************************************************************************
2 * # License
3 * <b>Copyright 2021 Silicon Laboratories Inc. www.silabs.com</b>
4 ******************************************************************************
5 * The licensor of this software is Silicon Laboratories Inc. Your use of this
6 * software is governed by the terms of Silicon Labs Master Software License
7 * Agreement (MSLA) available at
8 * www.silabs.com/about-us/legal/master-software-license-agreement. This
9 * software is distributed to you in Source Code format and is governed by the
10 * sections of the MSLA applicable to Source Code.
11 *
12 *****************************************************************************/
13
26#ifndef ZWAVE_S2_KEYSTORE_H
27#define ZWAVE_S2_KEYSTORE_H
28
30
31#include "sl_log.h"
32
33#include <stdint.h>
34
38typedef enum {
49
50#ifdef __cplusplus
51extern "C" {
52#endif
53
68 zwave_dsk_t dsk);
69
76
82
87
92void zwave_s2_log_security_keys(sl_log_level_t log_level);
93
98void zwave_s2_save_security_keys(const char *filename);
99
100#ifdef __cplusplus
101}
102#endif
103
104#endif //ZWAVE_S2_KEYSTORE_H
uint8_t zwave_dsk_t[ZWAVE_DSK_LENGTH]
Definition: zwave_controller_types.h:41
zwave_s2_keystore_ecdh_key_mode_t
ECDH key mode types.
Definition: zwave_s2_keystore.h:38
uint8_t zwave_s2_keystore_get_assigned_keys()
Get the set of the currently assigned keys.
Definition: zwave_s2_keystore.c:334
void zwave_s2_keystore_reset_assigned_keys()
Resets the list of assigned keys (sets them to 0) Use this function before receiving keys when enteri...
Definition: zwave_s2_keystore.c:342
void zwave_s2_log_security_keys(sl_log_level_t log_level)
Definition: zwave_s2_keystore.c:228
void zwave_s2_keystore_get_dsk(zwave_s2_keystore_ecdh_key_mode_t mode, zwave_dsk_t dsk)
Return one of the DSKs of the controller.
Definition: zwave_s2_keystore.c:401
void zwave_s2_save_security_keys(const char *filename)
Definition: zwave_s2_keystore.c:180
void zwave_s2_create_new_network_keys()
Definition: zwave_s2_keystore.c:361
@ ZWAVE_S2_KEYSTORE_DYNAMIC_ECDH_KEY
Definition: zwave_s2_keystore.h:47
@ ZWAVE_S2_KEYSTORE_STATIC_ECDH_KEY
Definition: zwave_s2_keystore.h:42