~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/sha1.c

  • Committer: Brian Aker
  • Date: 2008-07-22 18:31:32 UTC
  • Revision ID: brian@tangent.org-20080722183132-ne2ntl7g7mdf2eez
uint32 -> uin32_t

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
*/
82
82
 
83
83
 
84
 
const uint32 sha_const_key[5]=
 
84
const uint32_t sha_const_key[5]=
85
85
{
86
86
  0x67452301,
87
87
  0xEFCDAB89,
197
197
*/
198
198
 
199
199
/* Constants defined in SHA-1   */
200
 
static const uint32  K[]=
 
200
static const uint32_t  K[]=
201
201
{
202
202
  0x5A827999,
203
203
  0x6ED9EBA1,
209
209
static void SHA1ProcessMessageBlock(SHA1_CONTEXT *context)
210
210
{
211
211
  int           t;                 /* Loop counter                */
212
 
  uint32        temp;              /* Temporary word value        */
213
 
  uint32        W[80];             /* Word sequence               */
214
 
  uint32        A, B, C, D, E;     /* Word buffers                */
 
212
  uint32_t      temp;              /* Temporary word value        */
 
213
  uint32_t      W[80];             /* Word sequence               */
 
214
  uint32_t      A, B, C, D, E;     /* Word buffers                */
215
215
  int idx;
216
216
 
217
217
  /*