]> git.meshlink.io Git - meshlink/blobdiff - src/ecdh.h
Avoid allocating packet buffers unnecessarily.
[meshlink] / src / ecdh.h
index 92be3ed5bc8c05ef0d64779b80dee87d0ccf2b87..eb66ec0d17713bcd706ce747b60aef1b5a8ceeb4 100644 (file)
@@ -1,6 +1,9 @@
+#ifndef MESHLINK_ECDH_H
+#define MESHLINK_ECDH_H
+
 /*
     ecdh.h -- header file for ecdh.c
-    Copyright (C) 2014 Guus Sliepen <guus@meshlink.io>
+    Copyright (C) 2014, 2017 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
@@ -17,9 +20,6 @@
     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */
 
-#ifndef __MESHLINK_ECDH_H__
-#define __MESHLINK_ECDH_H__
-
 #define ECDH_SIZE 32
 #define ECDH_SHARED_SIZE 32