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

Go to the source code of this file.

Macros

#define MD4_LONG_LOG2   2 /* default to 32 bits */
 
#define DATA_ORDER_IS_LITTLE_ENDIAN
 
#define HASH_LONG   MD4_LONG
 
#define HASH_CTX   MD4_CTX
 
#define HASH_CBLOCK   MD4_CBLOCK
 
#define HASH_UPDATE   MD4_Update
 
#define HASH_TRANSFORM   MD4_Transform
 
#define HASH_FINAL   MD4_Final
 
#define HASH_MAKE_STRING(c, s)
 
#define HASH_BLOCK_DATA_ORDER   md4_block_data_order
 
#define F(b, c, d)   ((((c) ^ (d)) & (b)) ^ (d))
 
#define G(b, c, d)   (((b) & (c)) | ((b) & (d)) | ((c) & (d)))
 
#define H(b, c, d)   ((b) ^ (c) ^ (d))
 
#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)
 

Functions

void md4_block_data_order (MD4_CTX *c, const void *p, size_t num)
 

Macro Definition Documentation

#define DATA_ORDER_IS_LITTLE_ENDIAN

Definition at line 70 of file md4_locl.h.

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

Definition at line 98 of file md4_locl.h.

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

Definition at line 99 of file md4_locl.h.

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

Definition at line 100 of file md4_locl.h.

#define HASH_BLOCK_DATA_ORDER   md4_block_data_order

Definition at line 85 of file md4_locl.h.

#define HASH_CBLOCK   MD4_CBLOCK

Definition at line 74 of file md4_locl.h.

#define HASH_CTX   MD4_CTX

Definition at line 73 of file md4_locl.h.

#define HASH_FINAL   MD4_Final

Definition at line 77 of file md4_locl.h.

#define HASH_LONG   MD4_LONG

Definition at line 72 of file md4_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 78 of file md4_locl.h.

#define HASH_TRANSFORM   MD4_Transform

Definition at line 76 of file md4_locl.h.

#define HASH_UPDATE   MD4_Update

Definition at line 75 of file md4_locl.h.

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

Definition at line 65 of file md4_locl.h.

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

Definition at line 102 of file md4_locl.h.

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

Definition at line 106 of file md4_locl.h.

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

Definition at line 110 of file md4_locl.h.

Function Documentation

void md4_block_data_order ( MD4_CTX c,
const void p,
size_t  num 
)

Definition at line 88 of file md4_dgst.c.