|
MySensors Library & Examples
2.3.2-62-ge298769
|
Go to the documentation of this file.
603 #include "drivers/ATSHA204/ATSHA204.h"
605 #ifdef MY_SIGNING_NODE_WHITELISTING
608 uint8_t serial[SHA204_SERIAL_SZ];
613 #define NUM_OF(x) (sizeof(x)/sizeof(x[0]))
726 int signerMemcmp(
const void* a,
const void* b,
size_t sz);
bool signerVerifyMsg(MyMessage &msg)
Verifies signature in provided message.
uint8_t destination
8 bit - Id of destination node
void signerPresentation(MyMessage &msg, uint8_t destination)
Does signing specific presentation for a node.
bool signerPutNonce(MyMessage &msg)
Get nonce from provided message and store for signing operations.
bool signerSignMsg(MyMessage &msg)
Signs provided message. All remaining space in message payload buffer is used for signing identifier ...
bool signerProcessInternal(MyMessage &msg)
Manages internal signing message handshaking.
int signerMemcmp(const void *a, const void *b, size_t sz)
Do a timing neutral memory comparison.
bool signerCheckTimer(void)
Check timeout of verification session.
void signerInit(void)
Initializes signing infrastructure and associated backend.
MyMessage is used to create, manipulate, send and read MySensors messages.