OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions
md5_locl.h File Reference
#include <stdlib.h>
#include <string.h>
#include <openssl/e_os2.h>
#include <openssl/md5.h>
#include "md32_common.h"

Go to the source code of this file.

Macros

#define MD5_LONG_LOG2   2 /* default to 32 bits */
 
#define DATA_ORDER_IS_LITTLE_ENDIAN
 
#define HASH_LONG   MD5_LONG
 
#define HASH_CTX   MD5_CTX
 
#define HASH_CBLOCK   MD5_CBLOCK
 
#define HASH_UPDATE   MD5_Update
 
#define HASH_TRANSFORM   MD5_Transform
 
#define HASH_FINAL   MD5_Final
 
#define HASH_MAKE_STRING(c, s)
 
#define HASH_BLOCK_DATA_ORDER   md5_block_data_order
 
#define F(b, c, d)   ((((c) ^ (d)) & (b)) ^ (d))
 
#define G(b, c, d)   ((((b) ^ (c)) & (d)) ^ (c))
 
#define H(b, c, d)   ((b) ^ (c) ^ (d))
 
#define I(b, c, d)   (((~(d)) | (b)) ^ (c))
 
#define R0(a, b, c, d, k, s, t)
 
#define R1(a, b, c, d, k, s, t)
 
#define R2(a, b, c, d, k, s, t)
 
#define R3(a, b, c, d, k, s, t)
 

Functions

void md5_block_data_order (MD5_CTX *c, const void *p, size_t num)
 

Macro Definition Documentation

#define DATA_ORDER_IS_LITTLE_ENDIAN

Definition at line 79 of file md5_locl.h.

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

Definition at line 107 of file md5_locl.h.

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

Definition at line 108 of file md5_locl.h.

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

Definition at line 109 of file md5_locl.h.

#define HASH_BLOCK_DATA_ORDER   md5_block_data_order

Definition at line 94 of file md5_locl.h.

#define HASH_CBLOCK   MD5_CBLOCK

Definition at line 83 of file md5_locl.h.

#define HASH_CTX   MD5_CTX

Definition at line 82 of file md5_locl.h.

#define HASH_FINAL   MD5_Final

Definition at line 86 of file md5_locl.h.

#define HASH_LONG   MD5_LONG

Definition at line 81 of file md5_locl.h.

#define HASH_MAKE_STRING (   c,
 
)
Value:
do { \
unsigned long ll; \
ll=(c)->A; HOST_l2c(ll,(s)); \
ll=(c)->B; HOST_l2c(ll,(s)); \
ll=(c)->C; HOST_l2c(ll,(s)); \
ll=(c)->D; HOST_l2c(ll,(s)); \
} while (0)

Definition at line 87 of file md5_locl.h.

#define HASH_TRANSFORM   MD5_Transform

Definition at line 85 of file md5_locl.h.

#define HASH_UPDATE   MD5_Update

Definition at line 84 of file md5_locl.h.

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

Definition at line 110 of file md5_locl.h.

#define MD5_LONG_LOG2   2 /* default to 32 bits */

Definition at line 65 of file md5_locl.h.

#define R0 (   a,
  b,
  c,
  d,
  k,
  s,
  t 
)
Value:
{ \
a+=((k)+(t)+F((b),(c),(d))); \
a=ROTATE(a,s); \
a+=b; };\

Definition at line 112 of file md5_locl.h.

#define R1 (   a,
  b,
  c,
  d,
  k,
  s,
  t 
)
Value:
{ \
a+=((k)+(t)+G((b),(c),(d))); \
a=ROTATE(a,s); \
a+=b; };

Definition at line 117 of file md5_locl.h.

#define R2 (   a,
  b,
  c,
  d,
  k,
  s,
  t 
)
Value:
{ \
a+=((k)+(t)+H((b),(c),(d))); \
a=ROTATE(a,s); \
a+=b; };

Definition at line 122 of file md5_locl.h.

#define R3 (   a,
  b,
  c,
  d,
  k,
  s,
  t 
)
Value:
{ \
a+=((k)+(t)+I((b),(c),(d))); \
a=ROTATE(a,s); \
a+=b; };

Definition at line 127 of file md5_locl.h.

Function Documentation

void md5_block_data_order ( MD5_CTX c,
const void p,
size_t  num 
)

Definition at line 88 of file md5_dgst.c.