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

Definition at line 104 of file cryptoFunctions.cpp.

00104                                                                                                                    {
00105         initCharArray(output, length);
00106         nullIvec(IVEC);
00107         AES_KEY key;
00108         AES_set_encrypt_key(iteration, LENGTH_ITERATION_WORD*8, &key);  /*this one takes the bit length!!!*/
00109         AES_cbc_encrypt(input, *output, length, &key, IVEC, AES_ENCRYPT);
00110         return length;
00111 }


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