|
Hazelnet 3.0.0
Reference implementation of the CAN Bus Security (CBS) protocol
|
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... | |
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.
| 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.
| 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.