diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-11-15 05:44:02 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-11-15 05:44:02 +0100 |
commit | 0504f57c91eb7dd2ac4adfc6906e006f775a76e4 (patch) | |
tree | 4de445b2525fdfd4fafe0dfa97fd266dde7efd2f /src/methods/common.h | |
parent | bef39b72834173e969efc6cee10145300a3af94c (diff) | |
download | fastd-0504f57c91eb7dd2ac4adfc6906e006f775a76e4.tar fastd-0504f57c91eb7dd2ac4adfc6906e006f775a76e4.zip |
methods/common: decrease nonce length to 6, add flags byte
Diffstat (limited to 'src/methods/common.h')
-rw-r--r-- | src/methods/common.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/methods/common.h b/src/methods/common.h index 6be32e9..d3218ae 100644 --- a/src/methods/common.h +++ b/src/methods/common.h @@ -30,8 +30,10 @@ #include "../fastd.h" -#define COMMON_NONCEBYTES 7 +#define COMMON_NONCEBYTES 6 +#define COMMON_FLAGBYTES 1 +#define COMMON_HEADBYTES (COMMON_NONCEBYTES+COMMON_FLAGBYTES) typedef struct fastd_method_common { struct timespec valid_till; |