Z-Wave Protocol Controller Reference
zwave_security_validation.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
23#ifndef ZWAVE_SECURITY_VALIDATION_H
24#define ZWAVE_SECURITY_VALIDATION_H
25
26// Includes from other components
28#include "sl_status.h"
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
45 const zwave_controller_connection_info_t *connection);
46
55 const zwave_controller_connection_info_t *connection);
56
67 zwave_node_id_t node_id, const uint8_t *nif, uint8_t nif_length);
68
69#ifdef __cplusplus
70}
71#endif
72
73#endif //ZWAVE_SECURITY_VALIDATION_H
zwave_controller_encapsulation_scheme_t
Definition: zwave_controller_connection_info.h:33
uint16_t zwave_node_id_t
Z-Wave NodeID type.
Definition: zwave_node_id_definitions.h:84
bool zwave_security_validation_is_s2_nif_downgrade_attack_detected(zwave_node_id_t node_id, const uint8_t *nif, uint8_t nif_length)
Verifies if a the S2 Command Class has disappeared from the NIF, whereas it was reported as supported...
Definition: zwave_security_validation.c:138
bool zwave_security_validation_is_security_valid_for_control(const zwave_controller_connection_info_t *connection)
Verifies if a frame supported by another node can be accepted based on the security it was received o...
Definition: zwave_security_validation.c:92
bool zwave_security_validation_is_security_valid_for_support(zwave_controller_encapsulation_scheme_t minimal_scheme, const zwave_controller_connection_info_t *connection)
Verifies if a frame supported by us can be accepted based on the security it was received on.
Definition: zwave_security_validation.c:28
SL Status Codes.
Structure holding information about the source and destination when transmitting and receiving Z-Wave...
Definition: zwave_controller_connection_info.h:87
const zwave_node_id_t node_id