XCORE SDK
XCORE Software Development Kit
|
Configure Secure Link Layer. More...
#include <sl_wfx_general_api.h>
Public Attributes | |
uint8_t | encr_bmp [SL_WFX_ENCR_BMP_SIZE] |
Encryption bitmap. | |
uint32_t | disable_session_key_protection |
Force the firmware to authorize the use of the same session key during a complete power cycle, even very long. NOT RECOMMENDED. | |
Configure Secure Link Layer.
This API can be used to:
About the Session Key protection: SecureLink underlying encryption algorithm is AES CCM. This algorithm is using an internal Nonce counter incremented each time a message is encrypted/decrypted. This counter is not supposed to go beyond a given limit to guarantee AES CCM security properties. This is why Host Driver is responsible for renegotiating the session key once the message counter is approaching the limit. Disabling the Session Key protection will disable the check performed by the firmware that the Nonce counter is crossing the limit, allowing Host Driver to use the same session key during the same power cycle, even during a very long time. This behavior is not recommended.
To disable the protection, a given magic word (SL_WFX_SESSION_KEY_PROTECTION_DISABLE_MAGIC) must be provided as DisableSessionKeyProtection parameter value. Any other value will let the protection set.