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
This commit is contained in:
@@ -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 <krb5-types.h>
|
||||
#elif defined(KRB4)
|
||||
#include <ktypes.h>
|
||||
#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;
|
||||
|
Reference in New Issue
Block a user