[BACK]Return to des.c CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_ntl / crypt / des

Diff for /OpenXM/src/ox_ntl/crypt/des/des.c between version 1.1 and 1.3

version 1.1, 2004/07/11 00:32:17 version 1.3, 2005/06/19 15:29:00
Line 1 
Line 1 
 /* $OpenXM$ */  /* $OpenXM: OpenXM/src/ox_ntl/crypt/des/des.c,v 1.2 2004/09/20 00:10:24 iwane Exp $ */
 /*  /*
  * FIPS PUB 46-3   * FIPS PUB 46-3
  *   DATA ENCRYPTION STANDARD   *   DATA ENCRYPTION STANDARD
Line 8 
Line 8 
 #include "des.h"  #include "des.h"
 #include "block.h"  #include "block.h"
   
   #ifdef HAVE_CONFIG_H
   #include "config.h"
   #endif
   
 #define BLOCK 8  #define BLOCK 8
   
 #define inline inline  
   
 /*===========================================================*  /*===========================================================*
  * KEY STRUCT   * KEY STRUCT
Line 391  f_(uint32_t r, uint32_t kl, uint32_t kr)
Line 394  f_(uint32_t r, uint32_t kl, uint32_t kr)
 }  }
   
 /*===========================================================*  /*===========================================================*
  * BASE CRIPTO   * BASE CRYPTO
  *===========================================================*/   *===========================================================*/
 void  void
 des_dec_i(  des_dec_i(
Line 517  des_dec_c(const des_key *key, const unsigned char *enc
Line 520  des_dec_c(const des_key *key, const unsigned char *enc
 }  }
   
 /*===========================================================*  /*===========================================================*
  * CRIPTO: length of input data is "64 * n" byte   * CRYPTO: length of input data is "64 * n" byte
  *===========================================================*/   *===========================================================*/
 static int  static int
 des_prm_chk(int datalen, int buflen)  des_prm_chk(int datalen, int buflen)

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

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