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 }
|
1.5.1