From 0504f57c91eb7dd2ac4adfc6906e006f775a76e4 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 15 Nov 2013 05:44:02 +0100 Subject: methods/common: decrease nonce length to 6, add flags byte --- src/methods/common.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/methods/common.h') 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; -- cgit v1.2.3