int CAST_CBC_WRAPPER ( const unsigned char *  input,
int  length,
const unsigned char *  iteration,
unsigned char **  output 
)

Definition at line 137 of file cryptoFunctions.cpp.

00137                                                                                                                     {
00138         initCharArray(output, length);
00139         nullIvec(IVEC);
00140         CAST_KEY key;
00141         CAST_set_key(&key, LENGTH_ITERATION_WORD, iteration);
00142         CAST_cbc_encrypt(input, *output, length, &key, IVEC, CAST_ENCRYPT);
00143         return length;
00144 }


Generated on Wed Jun 25 14:46:45 2008 for keyvil by  doxygen 1.5.1