Hazelnet 3.0.0
Reference implementation of the CAN Bus Security (CBS) protocol
Data Fields
hzl_ServerClientsConfig Struct Reference

Hazelnet Server constant per-Client configuration. More...

#include <hzl_Server.h>

Data Fields

HZL_SET_BY_USER hzl_Sid_t sid
 Source Identifier of the Client. More...
 
HZL_SET_BY_USER uint8_t ltk [HZL_LTK_LEN]
 Symmetric Long Term Key of the Client X (LTK_{XS}), uniquely identifying the Client against the Server. More...
 

Detailed Description

Hazelnet Server constant per-Client configuration.

Unique per Client, multiple instances on the Server. Initialised by the user, not modified by the Server.

Field Documentation

◆ sid

HZL_SET_BY_USER hzl_Sid_t hzl_ServerClientsConfig::sid

Source Identifier of the Client.

Unique across all Clients. Must not be HZL_SERVER_SID.

An array of these structs must be sorted so that each array index+1 matches this field. In other words, the structs must be sorted by a strictly ascending SID, starting from 1 (included) and without gaps.

This field is not strictly required (can be inferred from the array index), but it helps during debugging.

◆ ltk

HZL_SET_BY_USER uint8_t hzl_ServerClientsConfig::ltk[HZL_LTK_LEN]

Symmetric Long Term Key of the Client X (LTK_{XS}), uniquely identifying the Client against the Server.

Only the Client has another copy. Must not be all-zeros.


The documentation for this struct was generated from the following file: