X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fecdh.h;h=ac6bf0297cecab55ac364981a642d2fdad842155;hb=c6a8d235b103195d3a2ccde17168d05409d7b485;hp=bd4c13adf08287d4a554df2ef06d649201a2bf12;hpb=a86faaf34711d6b0f278b670d70a229a3cf0d479;p=meshlink diff --git a/src/ecdh.h b/src/ecdh.h index bd4c13ad..ac6bf029 100644 --- a/src/ecdh.h +++ b/src/ecdh.h @@ -1,6 +1,6 @@ /* ecdh.h -- header file for ecdh.c - Copyright (C) 2011-2013 Guus Sliepen + Copyright (C) 2014 Guus Sliepen 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,13 +17,13 @@ 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