2674508 [rkeene@sledge /home/rkeene/devel/dact]$ cat -n cipher_serpent.h
 1 #ifndef _CIPHER_SERPENT_H
 2 #define _CIPHER_SERPENT_H
 3 #include "dact.h"
 4 #include "comp_fail.h"
 5 
 6 #if defined(USE_MODULES) && !defined(AS_MODULE)
 7 #define cipher_serpent DACT_FAILED_ALGO
 8 #else
 9 
10 #if defined(HAVE_LIBMCRYPT) && defined(HAVE_MCRYPT_H)
11 #define HAVE_MCRYPT 1
12 #include <mcrypt.h>
13 int cipher_serpent_init(const int mode, char *key, unsigned char *IV);
14 int cipher_serpent_encrypt(const char *inblk, char *outblk, int blksize, char *key, unsigned char *IV);
15 int cipher_serpent_decrypt(const char *inblk, char *outblk, int blksize, char *key, unsigned char *IV);
16 #endif
17 
18 int cipher_serpent(const char *inblock, char *outblock, const int blksize, char *key, const int mode);
19 #endif
20 #endif
2674509 [rkeene@sledge /home/rkeene/devel/dact]$

Click here to go back to the directory listing.
Click here to download this file.
last modified: 2004-04-04 01:01:49