AP_Md5.cpp File Reference

#include "AP_Md5.h"


Namespaces

namespace  AP
 Architecture Platform.

Defines

#define CYCLIC(w, s)   (w = (w << s) | (w >> (32 - s)))
#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 MD5_SIZE_VS_SPEED   CONFIG_MD5_SIZE_VS_SPEED
#define OP(f, a, b, c, d, k, s, T)
#define OP(a, b, c, d, s, T)

Functions

static void md5_begin (md5_ctx_t *ctx)
static void * md5_end (void *resbuf, md5_ctx_t *ctx)
static void md5_hash (const void *buffer, size_t len, md5_ctx_t *ctx)
static void md5_hash_block (const void *buffer, md5_ctx_t *ctx)

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 MD5_SIZE_VS_SPEED   CONFIG_MD5_SIZE_VS_SPEED

#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_LE32(*words)) + T; \
          ++words;      \
          CYCLIC (a, s);        \
          a += b;       \
        }       \
      while (0)


Generated on Fri Mar 5 16:50:45 2010 for CarLinO by  doxygen 1.5.8