Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / rxkad / fcrypt.h
1 /*
2 * Copyright 2000, International Business Machines Corporation and others.
3 * All Rights Reserved.
4 *
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
8 */
9
10 /*
11 * Revision 2.1 90/08/07 19:33:16
12 * Start with clean version to sync test and dev trees.
13 *
14 */
15
16 #ifndef OPENAFS_RXKAD_FCRYPT_H
17 #define OPENAFS_RXKAD_FCRYPT_H
18
19 #ifdef ENCRYPTIONBLOCKSIZE
20 #undef ENCRYPTIONBLOCKSIZE
21 #endif
22 #define ENCRYPTIONBLOCKSIZE 8
23
24 typedef afs_int32 fc_InitializationVector[ENCRYPTIONBLOCKSIZE / 4];
25
26 #ifdef MAXROUNDS
27 #undef MAXROUNDS
28 #endif
29 #define MAXROUNDS 16
30 typedef afs_int32 fc_KeySchedule[MAXROUNDS];
31
32 #ifndef ENCRYPT
33 #define ENCRYPT 1
34 #define DECRYPT 0
35 #endif
36
37 #endif