]> git.meshlink.io Git - meshlink/blobdiff - src/ecdh.h
Replace __TINC with __MESHLINK in the include guards.
[meshlink] / src / ecdh.h
index fbd47292b614ca06098dd3153974b918918266c8..ac6bf0297cecab55ac364981a642d2fdad842155 100644 (file)
@@ -1,6 +1,6 @@
 /*
     ecdh.h -- header file for ecdh.c
-    Copyright (C) 2011-2013 Guus Sliepen <guus@tinc-vpn.org>
+    Copyright (C) 2014 Guus Sliepen <guus@meshlink.io>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */
 
-#ifndef __TINC_ECDH_H__
-#define __TINC_ECDH_H__
+#ifndef __MESHLINK_ECDH_H__
+#define __MESHLINK_ECDH_H__
 
-#define ECDH_SIZE 67
-#define ECDH_SHARED_SIZE 66
+#define ECDH_SIZE 32
+#define ECDH_SHARED_SIZE 32
 
-#ifndef __TINC_ECDH_INTERNAL__
+#ifndef __MESHLINK_ECDH_INTERNAL__
 typedef struct ecdh ecdh_t;
 #endif