911ae9c9d924ca879610112fa71d1b9823b17ae2
ATSHA204 emulated signing backend. The emulated ATSHA204 implementation offers pseudo random number generation and HMAC-SHA256 authentication compatible with a "physical" ATSHA204. NOTE: Key is stored in clear text in the Arduino firmware. Therefore, the use of this back-end could compromise the key used in the signed message infrastructure if device is lost and its memory dumped. The seed for the random number generated is sampled from an analog pin. The pin is set in MyConfig.h using RANDOMSEED_PIN. The pin should be unconnected. The key to use for HMAC calculations must match the key used by other nodes this node will exchange signed messages with. The key for ATSHA204 emulator is set in MyConfig.h using hmacKey.
Arduino
MySensors Arduino Library v1.4
Please visit www.mysensors.org for more information
Languages
C++
55.8%
C
39.7%
Groovy
3.2%
Shell
0.9%
Makefile
0.3%