[BACK]Return to io.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / io

Diff for /OpenXM_contrib2/asir2000/io/io.c between version 1.4 and 1.7

version 1.4, 2000/08/21 08:31:38 version 1.7, 2000/08/25 08:06:19
Line 23 
Line 23 
  * shall be made on your publication or presentation in any form of the   * shall be made on your publication or presentation in any form of the
  * results obtained by use of the SOFTWARE.   * results obtained by use of the SOFTWARE.
  * (4) In the event that you modify the SOFTWARE, you shall notify FLL by   * (4) In the event that you modify the SOFTWARE, you shall notify FLL by
  * e-mail at risa-admin@flab.fujitsu.co.jp of the detailed specification   * e-mail at risa-admin@sec.flab.fujitsu.co.jp of the detailed specification
  * for such modification or the source code of the modified part of the   * for such modification or the source code of the modified part of the
  * SOFTWARE.   * SOFTWARE.
  *   *
Line 44 
Line 44 
  * OF THE SOFTWARE HAS BEEN DEVELOPED BY A THIRD PARTY, THE THIRD PARTY   * OF THE SOFTWARE HAS BEEN DEVELOPED BY A THIRD PARTY, THE THIRD PARTY
  * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,   * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,
  * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.   * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.
  * $OpenXM: OpenXM_contrib2/asir2000/io/io.c,v 1.3 2000/03/16 04:55:20 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2000/io/io.c,v 1.6 2000/08/25 07:59:24 noro Exp $
 */  */
 #include <stdio.h>  #include <stdio.h>
 #include "ca.h"  #include "ca.h"
Line 215  unsigned int *p;
Line 215  unsigned int *p;
                 gen_fwrite(p,sizeof(unsigned int),1,f);                  gen_fwrite(p,sizeof(unsigned int),1,f);
 }  }
   
   #if defined(VISUAL) && defined(DES_ENC)
 int des_encryption;  int des_encryption;
 static unsigned char asir_deskey[8] = {0xc7,0xe0,0xfc,0xb5,0xc3,0xad,0x8e,0x3a};  static unsigned char asir_deskey[8] = {0xc7,0xe0,0xfc,0xb5,0xc3,0xad,0x8e,0x3a};
 static unsigned char deskey_string[96];  static unsigned char deskey_string[96];
Line 228  void init_deskey()
Line 229  void init_deskey()
                 deskey_initialized = 1;                  deskey_initialized = 1;
         }          }
 }  }
   #endif
   
 void write_intarray(f,p,l)  void write_intarray(f,p,l)
 FILE *f;  FILE *f;
Line 236  int l;
Line 238  int l;
 {  {
         int i;          int i;
         unsigned int t;          unsigned int t;
 #if defined(VISUAL)  #if defined(VISUAL) && defined(DES_ENC)
         int l2;          int l2;
         unsigned int plain[2],encrypted[2];          unsigned int plain[2],encrypted[2];
   
Line 345  int l;
Line 347  int l;
 {  {
         int i;          int i;
         unsigned int t;          unsigned int t;
 #if defined(VISUAL)  #if defined(VISUAL) && defined(DES_ENC)
         int l2;          int l2;
         unsigned int plain[2],encrypted[2];          unsigned int plain[2],encrypted[2];
   

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.7

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>