Change #include filenames from <foo.h> to <openssl.h>.
[openssl.git] / crypto / rc2 / rc2cfb64.c
index 44df3dc951699ba795fe1ecaccbd10b84dd94cbe..5e3fa07d90724ab2e8b7403f84ea90b806d0b1db 100644 (file)
@@ -1,5 +1,5 @@
 /* crypto/rc2/rc2cfb64.c */
-/* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com)
+/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
  * All rights reserved.
  *
  * This package is an SSL implementation written
@@ -56,7 +56,7 @@
  * [including the GNU Public Licence.]
  */
 
-#include "rc2.h"
+#include <openssl/rc2.h>
 #include "rc2_locl.h"
 
 /* The input and output encrypted as though 64bit cfb mode is being
  * 64bit block we have used is contained in *num;
  */
 
-void RC2_cfb64_encrypt(in, out, length, schedule, ivec, num, encrypt)
-unsigned char *in;
-unsigned char *out;
-long length;
-RC2_KEY *schedule;
-unsigned char *ivec;
-int *num;
-int encrypt;
+void RC2_cfb64_encrypt(unsigned char *in, unsigned char *out, long length,
+            RC2_KEY *schedule, unsigned char *ivec, int *num, int encrypt)
        {
        register unsigned long v0,v1,t;
        register int n= *num;
@@ -88,7 +82,7 @@ int encrypt;
                                {
                                c2l(iv,v0); ti[0]=v0;
                                c2l(iv,v1); ti[1]=v1;
-                               RC2_encrypt((unsigned long *)ti,schedule,RC2_ENCRYPT);
+                               RC2_encrypt((unsigned long *)ti,schedule);
                                iv=(unsigned char *)ivec;
                                t=ti[0]; l2c(t,iv);
                                t=ti[1]; l2c(t,iv);
@@ -108,7 +102,7 @@ int encrypt;
                                {
                                c2l(iv,v0); ti[0]=v0;
                                c2l(iv,v1); ti[1]=v1;
-                               RC2_encrypt((unsigned long *)ti,schedule,RC2_ENCRYPT);
+                               RC2_encrypt((unsigned long *)ti,schedule);
                                iv=(unsigned char *)ivec;
                                t=ti[0]; l2c(t,iv);
                                t=ti[1]; l2c(t,iv);