The unified diff between revisions [869f0c37..] and [e24ccc23..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'constants.hh'
# # # patch "constants.hh" # from [4a4494bcaa97ec07c147fc066564519bb4d13481] # to [a4741c95ae4faeb5db1f36f6ccf406f732250241] # ============================================================ --- constants.hh 4a4494bcaa97ec07c147fc066564519bb4d13481 +++ constants.hh a4741c95ae4faeb5db1f36f6ccf406f732250241 @@ -7,6 +7,7 @@ // see the file COPYING for details #include <unistd.h> +#include <string> #include "numeric_vocab.hh" namespace constants @@ -120,6 +121,15 @@ namespace constants // number of seconds a connection can be idle before it's dropped extern size_t const netsync_timeout_seconds; + // netsync HMAC key length + extern size_t const netsync_session_key_length_in_bytes; + + // netsync HMAC value length + extern size_t const netsync_hmac_value_length_in_bytes; + + // netsync session key and HMAC key default initializer + extern std::string const & netsync_key_initializer; + } #endif // __CONSTANTS_HH__