22#ifndef ZWAVE_S2_KEYSTORE_INT_H
23#define ZWAVE_S2_KEYSTORE_INT_H
34#define NVM_MAGIC 0xa11d1900
47#define nvm_config_get(par_name, dst) \
48 zwapi_memory_get_buffer(offsetof(struct nvm_config, par_name), \
50 sizeof(((struct nvm_config *)0)->par_name))
51#define nvm_config_set(par_name, src) \
52 zwapi_memory_put_buffer(offsetof(struct nvm_config, par_name), \
54 sizeof(((struct nvm_config *)0)->par_name), \
void zwave_s2_keystore_set_ecdh_key_mode(zwave_s2_keystore_ecdh_key_mode_t mode)
Set ecdh key mode for use in zwave_s2_keystore.
Definition: zwave_s2_keystore.c:329
struct nvm_config __attribute__((__packed__)) nvm_config_t
void zwave_s2_create_new_dynamic_ecdh_key()
Definition: zwave_s2_keystore.c:348
void zwave_s2_keystore_init()
Initialize the keystore.
Definition: zwave_s2_keystore.c:377
zwave_s2_keystore_ecdh_key_mode_t
ECDH key mode types.
Definition: zwave_s2_keystore.h:38
Definition: zwave_s2_keystore_int.h:35
uint32_t magic
Definition: zwave_s2_keystore_int.h:36
uint8_t assigned_keys
Definition: zwave_s2_keystore_int.h:41
uint8_t ecdh_priv_key[32]
Definition: zwave_s2_keystore_int.h:43
uint8_t security2_key[3][16]
Definition: zwave_s2_keystore_int.h:42
uint8_t filler2[23]
Definition: zwave_s2_keystore_int.h:39
uint8_t security2_lr_key[2][16]
Definition: zwave_s2_keystore_int.h:44
uint8_t security_netkey[16]
Definition: zwave_s2_keystore_int.h:38
uint8_t filler1[41]
Definition: zwave_s2_keystore_int.h:37
Z-Wave API for module memory manipulation.