From 513f59dcd46d88e96151068608ba542bc06a1584 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 30 Jan 2009 19:37:06 +0100 Subject: [PATCH] heimdal:camellia: include roken.h metze Signed-off-by: Love Hornquist Astrand --- lib/hcrypto/camellia-ntt.c | 3 +++ lib/hcrypto/camellia.c | 6 ++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/hcrypto/camellia-ntt.c b/lib/hcrypto/camellia-ntt.c index 36c81cab2..a7b357ac6 100644 --- a/lib/hcrypto/camellia-ntt.c +++ b/lib/hcrypto/camellia-ntt.c @@ -30,6 +30,7 @@ * http://info.isl.ntt.co.jp/crypt/eng/camellia/specifications.html */ +#include "config.h" #include #include @@ -37,6 +38,8 @@ #include #include "camellia-ntt.h" +#include + /* key constants */ #define CAMELLIA_SIGMA1L (0xA09E667FL) diff --git a/lib/hcrypto/camellia.c b/lib/hcrypto/camellia.c index 00635c9fe..c88822db5 100644 --- a/lib/hcrypto/camellia.c +++ b/lib/hcrypto/camellia.c @@ -31,12 +31,8 @@ * SUCH DAMAGE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -RCSID("$Id: aes.c 20466 2007-04-20 08:29:05Z lha $"); -#endif - #ifdef KRB5 #include #endif @@ -46,6 +42,8 @@ RCSID("$Id: aes.c 20466 2007-04-20 08:29:05Z lha $"); #include "camellia-ntt.h" #include "camellia.h" +#include + int CAMELLIA_set_key(const unsigned char *userkey, const int bits, CAMELLIA_KEY *key)