<< | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: Re: Cipe on SparcLinux?
From: Olaf Titz <olaf,AT,bigred,DOT,inka,DOT,de>
Date: Thu, 26 Oct 2000 12:42:33 +0200
In-reply-to: <200010111446.JAA27553@moola.futuresource.com>

>  .././bf.c:168: conflicting types for `L_Blowfish_Encrypt'
> ../bf.h:86: previous declaration of `L_Blowfish_Encrypt'

Okay, I've got it. Type confusion on my part (and lack of testing
caused by lack of a big-endian machine).

Olaf

--- bf.c~       Mon Sep 25 18:55:27 2000
+++ bf.c        Wed Oct 25 21:32:16 2000
@@ -164,7 +164,7 @@
 #ifndef BF_DONTNEED_LE
 #ifndef BF_NATIVE_LE
 void L_Blowfish_Encrypt(void *dataIn, void *dataOut,
-                       const Blowfish_Key *key)
+                       const Blowfish_Key key)
 {
     register const __u32 *p=key;
     register unsigned long
@@ -176,7 +176,7 @@
 }

 void L_Blowfish_Decrypt(void *dataIn, void *dataOut,
-                       const Blowfish_Key *key)
+                       const Blowfish_Key key)
 {
     register const __u32 *p=key+17;
     register unsigned long

=== end of patch ===





<< | Thread Index | >> ]    [ << | Date Index | >> ]