Hazelnet 3.0.0
Reference implementation of the CAN Bus Security (CBS) protocol
|
Unpacked received SDU (Service Data Unit message) after validation (and optional decryption). More...
#include <hzl.h>
Data Fields | |
size_t | dataLen |
Length in bytes of the unpacked/decrypted user data. More... | |
hzl_CanId_t | canId |
CAN ID the underlying frame used. More... | |
hzl_Gid_t | gid |
Group IDentifier the message used (expected receivers). More... | |
hzl_Sid_t | sid |
Source IDentifier the message used (claimed sender). More... | |
bool | wasSecured |
True if it was encrypted and authenticated during transmission. More... | |
bool | isForUser |
True if the message contains useful data for the user, false if internal. More... | |
uint8_t | data [HZL_MAX_CAN_FD_DATA_LEN] |
User data in plaintext of dataLen bytes. More... | |
Unpacked received SDU (Service Data Unit message) after validation (and optional decryption).
size_t hzl_RxMsg::dataLen |
Length in bytes of the unpacked/decrypted user data.
hzl_CanId_t hzl_RxMsg::canId |
CAN ID the underlying frame used.
hzl_Gid_t hzl_RxMsg::gid |
Group IDentifier the message used (expected receivers).
hzl_Sid_t hzl_RxMsg::sid |
Source IDentifier the message used (claimed sender).
bool hzl_RxMsg::wasSecured |
True if it was encrypted and authenticated during transmission.
bool hzl_RxMsg::isForUser |
True if the message contains useful data for the user, false if internal.
uint8_t hzl_RxMsg::data[HZL_MAX_CAN_FD_DATA_LEN] |
User data in plaintext of dataLen
bytes.