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

Hazelnet Client constant Group configuration. More...

#include <hzl_Client.h>

Data Fields

HZL_SET_BY_USER uint32_t maxCtrnonceDelayMsgs
 Maximum Counter Nonce Delay (D^{max}_G) in milliseconds, used to filter out recent messages from old ones. More...
 
HZL_SET_BY_USER uint16_t maxSilenceIntervalMillis
 Maximum Silence Interval (S^{max}_G) in milliseconds, used to filter out recent messages from old ones. More...
 
HZL_SET_BY_USER uint16_t sessionRenewalDurationMillis
 Client-Side Session Renewal time Duration (t^{ren}_G) in milliseconds. More...
 
HZL_SET_BY_USER hzl_Gid_t gid
 Group Identifier of this Group (id_G). More...
 
uint8_t unusedPadding [3]
 Padding to the next struct. More...
 

Detailed Description

Hazelnet Client constant Group configuration.

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

Field Documentation

◆ maxCtrnonceDelayMsgs

HZL_SET_BY_USER uint32_t hzl_ClientGroupConfig::maxCtrnonceDelayMsgs

Maximum Counter Nonce Delay (D^{max}_G) in milliseconds, used to filter out recent messages from old ones.

Must be in [0, HZL_LARGEST_MAX_COUNTER_NONCE_DELAY].

◆ maxSilenceIntervalMillis

HZL_SET_BY_USER uint16_t hzl_ClientGroupConfig::maxSilenceIntervalMillis

Maximum Silence Interval (S^{max}_G) in milliseconds, used to filter out recent messages from old ones.

May have any value in [0, 0xFFFF].

◆ sessionRenewalDurationMillis

HZL_SET_BY_USER uint16_t hzl_ClientGroupConfig::sessionRenewalDurationMillis

Client-Side Session Renewal time Duration (t^{ren}_G) in milliseconds.

Used to know when then information about the expired Session must be deleted. May have any value in [0, 0xFFFF].

◆ gid

HZL_SET_BY_USER hzl_Gid_t hzl_ClientGroupConfig::gid

Group Identifier of this Group (id_G).

An array of these structs must be sorted strictly ascending according to this field.

◆ unusedPadding

uint8_t hzl_ClientGroupConfig::unusedPadding[3]

Padding to the next struct.


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