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

Functions used by Hazelnet to interact with the rest of the system in order to obtain random numbers, the current time and to transmit messages. More...

#include <hzl.h>

Data Fields

HZL_SET_BY_USER hzl_TrngFunc trng
 True random number generator function. More...
 
HZL_SET_BY_USER hzl_TimestampFunc currentTime
 Current-time timestamp generating function. More...
 

Detailed Description

Functions used by Hazelnet to interact with the rest of the system in order to obtain random numbers, the current time and to transmit messages.

Field Documentation

◆ trng

HZL_SET_BY_USER hzl_TrngFunc hzl_Io_t::trng

True random number generator function.

If an OS is available, it can be set to NULL and the OS TRNG will be selected automatically on initialisation, replacing the NULL pointer.

◆ currentTime

HZL_SET_BY_USER hzl_TimestampFunc hzl_Io_t::currentTime

Current-time timestamp generating function.

If an OS is available, it can be set to NULL and the OS time function will be selected automatically on initialisation, replacing the NULL pointer.


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