… | |
… | |
43 | |
43 | |
44 | // openssl 0.9.8 compatibility |
44 | // openssl 0.9.8 compatibility |
45 | #if OPENSSL_VERSION_NUMBER < 0x10100000 |
45 | #if OPENSSL_VERSION_NUMBER < 0x10100000 |
46 | #define require101(exp) exp |
46 | #define require101(exp) exp |
47 | #else |
47 | #else |
48 | #define require101(exp) equire (exp) |
48 | #define require101(exp) require (exp) |
49 | #endif |
49 | #endif |
50 | |
50 | |
51 | #include "conf.h" |
51 | #include "conf.h" |
52 | #include "slog.h" |
52 | #include "slog.h" |
53 | #include "device.h" |
53 | #include "device.h" |
… | |
… | |
56 | #include "hkdf.h" |
56 | #include "hkdf.h" |
57 | |
57 | |
58 | #include "netcompat.h" |
58 | #include "netcompat.h" |
59 | |
59 | |
60 | #define MAGIC "gvpe\xbd\xc6\xdb\x82" // 8 bytes of magic |
60 | #define MAGIC "gvpe\xbd\xc6\xdb\x82" // 8 bytes of magic |
61 | #define MAGIC "HUHN\xbd\xc6\xdb\x82" // 8 bytes of magic//D |
|
|
62 | |
61 | |
63 | #define ULTRA_FAST 1 |
62 | #define ULTRA_FAST 1 |
64 | #define HLOG 15 |
63 | #define HLOG 15 |
65 | #include "lzf/lzf.h" |
64 | #include "lzf/lzf.h" |
66 | #include "lzf/lzf_c.c" |
65 | #include "lzf/lzf_c.c" |