X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fencr.h;fp=src%2Fencr.h;h=0000000000000000000000000000000000000000;hb=013a2e159e42c46808ea8d0b6abd57525db30a50;hp=e9bc67e481151c1072c3a4a34c6c1eeba11162ae;hpb=efa5148bc76effb440d807d653dda02de050fde0;p=tinc diff --git a/src/encr.h b/src/encr.h deleted file mode 100644 index e9bc67e4..00000000 --- a/src/encr.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - encr.h -- header for encr.c - Copyright (C) 1998,1999,2000 Ivo Timmermans - - 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 - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - $Id: encr.h,v 1.3 2000/10/18 20:12:08 zarq Exp $ -*/ - -#ifndef __TINC_ENCR_H__ -#define __TINC_ENCR_H__ - -#include "net.h" - -#define PRIVATE_KEY_BITS 128 -#define PRIVATE_KEY_LENGTH (PRIVATE_KEY_BITS >> 3) - -extern char *my_public_key_base36; -extern int my_key_expiry; - -extern int security_init(void); - -extern int send_portnumbers(int); -extern void set_shared_key(char *); -extern int send_passphrase(conn_list_t *); -extern int send_public_key(conn_list_t *); -extern int verify_passphrase(conn_list_t *, unsigned char *); -extern char *make_shared_key(char*); -extern void encrypt_passphrase(passphrase_t *pp); -extern void free_key(enc_key_t*); -extern void regenerate_keys(void); - -#endif /* __TINC_ENCR_H__ */ -