Internal functions for the S2 Keystore.
More...
Internal functions for the S2 Keystore.
◆ nvm_config_get
| #define nvm_config_get |
( |
|
par_name, |
|
|
|
dst |
|
) |
| |
Value:
(uint8_t*)dst, \
sl_status_t zwapi_memory_get_buffer(uint16_t offset, uint8_t *buffer, uint8_t length)
Read the number of bytes from the EEPROM.
Definition: zwapi_protocol_mem.c:140
Definition: zwave_s2_keystore_int.h:35
◆ nvm_config_set
| #define nvm_config_set |
( |
|
par_name, |
|
|
|
src |
|
) |
| |
Value:
(uint8_t*)src, \
NULL)
uint8_t zwapi_memory_put_buffer(uint16_t offset, const uint8_t *buffer, uint16_t length, void(*callback_function)(void))
Copy the number of bytes to the EEPROM.
Definition: zwapi_protocol_mem.c:178
◆ NVM_MAGIC
| #define NVM_MAGIC 0xa11d1900 |
◆ __attribute__()
◆ zwave_s2_create_new_dynamic_ecdh_key()
| void zwave_s2_create_new_dynamic_ecdh_key |
( |
| ) |
|
Create a new Elliptic curve key for add node mode and for unauthenticated learnmode.
◆ zwave_s2_keystore_init()
| void zwave_s2_keystore_init |
( |
| ) |
|
Initialize the keystore.
This also validates the nvm contents. If the validation fails new keys are g generated.
◆ zwave_s2_keystore_set_ecdh_key_mode()
Set ecdh key mode for use in zwave_s2_keystore.
- Parameters
-