From 4d8c4b46434596a8b0e549364d379e918869426d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Wed, 2 Jun 2004 20:06:40 +0000 Subject: [PATCH] define AES_{EN,DE}CRYPT; remove #ifdefs, this is an installed file git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13913 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/des/aes.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/lib/des/aes.h b/lib/des/aes.h index 3ab264d34..d490b1b62 100644 --- a/lib/des/aes.h +++ b/lib/des/aes.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003 Kungliga Tekniska Högskolan + * Copyright (c) 2003-2004 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). * All rights reserved. * @@ -33,15 +33,12 @@ /* $Id$ */ -#ifdef KRB5 -#include -#elif defined(KRB4) -#include -#endif - #define AES_BLOCK_SIZE 16 #define AES_MAXNR 14 +#define AES_ENCRYPT 1 +#define AES_DECRYPT 0 + typedef struct aes_key { u_int32_t key[(AES_MAXNR+1)*4]; int rounds;