X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fidea%2Fi_cfb64.c;h=66d49d520eb39cddbbb6848a99d763807d14c553;hp=8dfa7ece484dfb36566e02b907bda130bb383afe;hb=15ac971681bb81b9ab36383eb7014449ad190f9a;hpb=78414a6a897db42c9bcf06aa21c705811ab33921 diff --git a/crypto/idea/i_cfb64.c b/crypto/idea/i_cfb64.c index 8dfa7ece48..66d49d520e 100644 --- a/crypto/idea/i_cfb64.c +++ b/crypto/idea/i_cfb64.c @@ -56,7 +56,7 @@ * [including the GNU Public Licence.] */ -#include "idea.h" +#include #include "idea_lcl.h" /* The input and output encrypted as though 64bit cfb mode is being @@ -64,14 +64,9 @@ * 64bit block we have used is contained in *num; */ -void idea_cfb64_encrypt(in, out, length, schedule, ivec, num, 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;