]> git.meshlink.io Git - meshlink/blobdiff - src/ecdh.h
Use Ed25519 keys.
[meshlink] / src / ecdh.h
index 3b5f33390cbd0ee8d89daf9dc9435dd39ffb3128..03ff77ae9f2429f5eb1b7a06814faed902fe6075 100644 (file)
@@ -20,8 +20,8 @@
 #ifndef __TINC_ECDH_H__
 #define __TINC_ECDH_H__
 
-#define ECDH_SIZE 67
-#define ECDH_SHARED_SIZE 66
+#define ECDH_SIZE 32
+#define ECDH_SHARED_SIZE 32
 
 #ifndef __TINC_ECDH_INTERNAL__
 typedef struct ecdh ecdh_t;