X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fcrypto.h;h=9e8a19bcb9ac32b1e60110d8a8202e4e974ef311;hb=4b6c01b1d5383b1a7417244a31ad4652aab2d5db;hp=9e640e3d896ae7d38e5d8161a129d83372d8bed6;hpb=158cbe99f972a1613b7d4d95abfe5fe48e019e67;p=meshlink diff --git a/src/crypto.h b/src/crypto.h index 9e640e3d..9e8a19bc 100644 --- a/src/crypto.h +++ b/src/crypto.h @@ -1,6 +1,9 @@ +#ifndef MESHLINK_CRYPTO_H +#define MESHLINK_CRYPTO_H + /* crypto.h -- header for crypto.c - Copyright (C) 2014 Guus Sliepen + Copyright (C) 2014-2020 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,11 +20,8 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __TINC_CRYPTO_H__ -#define __TINC_CRYPTO_H__ - -extern void crypto_init(); -extern void crypto_exit(); -extern void randomize(void *, size_t); +void crypto_init(void); +void crypto_exit(void); +void randomize(void *buf, size_t len); #endif