Added config flag MY_SIGNING_FEATURE in MyConfig.h

By disabeling MY_SIGNING_FEATURE all signing logic in the library
will be removed.
This commit is contained in:
Patrick Fallberg
2015-03-16 23:15:54 +01:00
parent 7a2a5dad81
commit 70eac0423d
4 changed files with 41 additions and 5 deletions
+3
View File
@@ -16,6 +16,9 @@ typedef MyHwATMega328 MyHwDriver;
/**********************************
* Message Signing Settings
***********************************/
// Disable to completly disable signing functionality in library
#define MY_SIGNING_FEATURE
// Define a suitable timeout for a signature verification session
// Consider the turnaround from a nonce being generated to a signed message being received
// which might vary, especially in networks with many hops. 5s ought to be enough for anyone.