Add ECDH support.
[openssl.git] / crypto / idea / i_cfb64.c
index 8dda0fbe7037d3fab1eae5027b0d6a32e0392465..66d49d520eb39cddbbb6848a99d763807d14c553 100644 (file)
@@ -56,7 +56,7 @@
  * [including the GNU Public Licence.]
  */
 
-#include "idea.h"
+#include <openssl/idea.h>
 #include "idea_lcl.h"
 
 /* The input and output encrypted as though 64bit cfb mode is being
@@ -64,9 +64,9 @@
  * 64bit block we have used is contained in *num;
  */
 
-void idea_cfb64_encrypt(unsigned char *in, unsigned char *out, long length,
-            IDEA_KEY_SCHEDULE *schedule, unsigned char *ivec, int *num,
-            int encrypt)
+void idea_cfb64_encrypt(const unsigned char *in, unsigned char *out,
+                       long length, IDEA_KEY_SCHEDULE *schedule,
+                       unsigned char *ivec, int *num, int encrypt)
        {
        register unsigned long v0,v1,t;
        register int n= *num;