From 26b173d328e36e423ff7765df5b3fc75abb6a1d9 Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Tue, 4 Jun 2013 13:07:06 +0200 Subject: crypto: add crypto header with includes and defines Add another header with includes and defines, so that we can reduce double-definitions, and shorten long text strings. Signed-off-by: Daniel Borkmann --- ct_usermgmt.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'ct_usermgmt.c') diff --git a/ct_usermgmt.c b/ct_usermgmt.c index a4978fc..201c0c7 100644 --- a/ct_usermgmt.c +++ b/ct_usermgmt.c @@ -23,15 +23,8 @@ #include "str.h" #include "curvetun.h" #include "curve.h" +#include "crypto.h" #include "hash.h" -#include "crypto_verify_32.h" -#include "crypto_hash_sha512.h" -#include "crypto_box_curve25519xsalsa20poly1305.h" -#include "crypto_auth_hmacsha512256.h" - -#define crypto_box_pub_key_size crypto_box_curve25519xsalsa20poly1305_PUBLICKEYBYTES - -/* Config line format: username;pubkey\n */ struct user_store { char username[256]; -- cgit v1.2.3-54-g00ecf