#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.
|
#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) |
|
#define DATA_ORDER_IS_LITTLE_ENDIAN |
#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 HASH_MAKE_STRING |
( |
|
c, |
|
|
|
s |
|
) |
| |
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 I |
( |
|
b, |
|
|
|
c, |
|
|
|
d |
|
) |
| (((~(d)) | (b)) ^ (c)) |
#define MD5_LONG_LOG2 2 /* default to 32 bits */ |
#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 |
|
) |
| |