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

Definition at line 146 of file cryptoFunctions.cpp.

00146                                                                                                                     {
00147 #ifdef HAVE_OPENSSL_IDEA_H
00148         initCharArray(output, length);
00149         nullIvec(IVEC);
00150         IDEA_KEY_SCHEDULE key;
00151         idea_set_encrypt_key(iteration, &key);
00152         idea_cbc_encrypt(input, *output, length, &key, IVEC, IDEA_ENCRYPT);
00153         return length;
00154 #else
00155         return -1;
00156 #endif
00157         
00158 }


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