jigdo API

util/glibc-md5.cc File Reference

#include <sys/types.h>
#include <md5sum.hh>
#include <glibc-md5.hh>

Defines

#define memcpy(d, s, n)   bcopy ((s), (d), (n))
#define SWAP(n)   (n)
#define UNALIGNED_P(p)   (((md5_uintptr) p) % sizeof (uint32) != 0)
#define FF(b, c, d)   (d ^ (b & (c ^ d)))
#define FG(b, c, d)   FF (d, b, c)
#define FH(b, c, d)   (b ^ c ^ d)
#define FI(b, c, d)   (c ^ (b | ~d))
#define OP(a, b, c, d, s, T)
#define CYCLIC(w, s)   (w = (w << s) | (w >> (32 - s)))
#define OP(f, a, b, c, d, k, s, T)

Variables

static const unsigned char fillbuf [64] = { 0x80, 0 }

Define Documentation

#define CYCLIC ( w,
 )     (w = (w << s) | (w >> (32 - s)))

#define FF ( b,
c,
 )     (d ^ (b & (c ^ d)))

#define FG ( b,
c,
 )     FF (d, b, c)

#define FH ( b,
c,
 )     (b ^ c ^ d)

#define FI ( b,
c,
 )     (c ^ (b | ~d))

#define memcpy ( d,
s,
 )     bcopy ((s), (d), (n))

Referenced by CacheFile::insert().

#define OP ( f,
a,
b,
c,
d,
k,
s,
 ) 

Value:

do                                                                \
        {                                                               \
          a += f (b, c, d) + correct_words[k] + T;                      \
          CYCLIC (a, s);                                                \
          a += b;                                                       \
        }                                                               \
      while (0)

#define OP ( a,
b,
c,
d,
s,
 ) 

Value:

do                                                                \
        {                                                               \
          a += FF (b, c, d) + (*cwp++ = SWAP (*words)) + T;             \
          ++words;                                                      \
          CYCLIC (a, s);                                                \
          a += b;                                                       \
        }                                                               \
      while (0)

#define SWAP (  )     (n)

#define UNALIGNED_P (  )     (((md5_uintptr) p) % sizeof (uint32) != 0)


Variable Documentation

const unsigned char fillbuf[64] = { 0x80, 0 } [static]


Generated on Tue Sep 23 14:27:42 2008 for jigdo by  doxygen 1.5.6