includes/wxChecksums-1.2.0/src/md5.cpp File Reference

Compute md5. More...

#include <wx/wxprec.h>
#include <wx/wx.h>
#include "md5.hpp"
#include "compat.hpp"

Namespaces

namespace  std

Defines

#define UNALIGNED_P(p)   (((wxUint32) p) % sizeof(wxUint32) != 0)
#define FF(b, c, d)   (d ^ (b & (c ^ d)))
 First fonction of the MD5 algorithm.
#define FG(b, c, d)   FF (d, b, c)
 Second fonction of the MD5 algorithm.
#define FH(b, c, d)   (b ^ c ^ d)
 Third fonction of the MD5 algorithm.
#define FI(b, c, d)   (c ^ (b | ~d))
 Fourth fonction of the MD5 algorithm.
#define rol(x, n)   ( ((x) << (n)) | ((x) >> (32-(n))) )
 Rotate a 32 bit integer by n bytes.
#define OP(a, b, c, d, s, T)
#define OP(f, a, b, c, d, k, s, T)


Detailed Description

Compute md5.


Define Documentation

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

Value:

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

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

Value:

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


Generated on Mon Feb 20 11:06:41 2006 for wxFlickr by  doxygen 1.4.6-NO