#include <stdlib.h>
#include <string.h>
#include <openssl/opensslconf.h>
#include <openssl/ripemd.h>
#include "md32_common.h"
#include "rmdconst.h"
Go to the source code of this file.
Macros | |
#define | RIPEMD160_LONG_LOG2 2 /* default to 32 bits */ |
#define | DATA_ORDER_IS_LITTLE_ENDIAN |
#define | HASH_LONG RIPEMD160_LONG |
#define | HASH_CTX RIPEMD160_CTX |
#define | HASH_CBLOCK RIPEMD160_CBLOCK |
#define | HASH_UPDATE RIPEMD160_Update |
#define | HASH_TRANSFORM RIPEMD160_Transform |
#define | HASH_FINAL RIPEMD160_Final |
#define | HASH_MAKE_STRING(c, s) |
#define | HASH_BLOCK_DATA_ORDER ripemd160_block_data_order |
#define | F1(x, y, z) ((x) ^ (y) ^ (z)) |
#define | F2(x, y, z) ((((y) ^ (z)) & (x)) ^ (z)) |
#define | F3(x, y, z) (((~(y)) | (x)) ^ (z)) |
#define | F4(x, y, z) ((((x) ^ (y)) & (z)) ^ (y)) |
#define | F5(x, y, z) (((~(z)) | (y)) ^ (x)) |
#define | RIPEMD160_A 0x67452301L |
#define | RIPEMD160_B 0xEFCDAB89L |
#define | RIPEMD160_C 0x98BADCFEL |
#define | RIPEMD160_D 0x10325476L |
#define | RIPEMD160_E 0xC3D2E1F0L |
#define | RIP1(a, b, c, d, e, w, s) |
#define | RIP2(a, b, c, d, e, w, s, K) |
#define | RIP3(a, b, c, d, e, w, s, K) |
#define | RIP4(a, b, c, d, e, w, s, K) |
#define | RIP5(a, b, c, d, e, w, s, K) |
Functions | |
void | ripemd160_block_data_order (RIPEMD160_CTX *c, const void *p, size_t num) |
#define DATA_ORDER_IS_LITTLE_ENDIAN |
Definition at line 81 of file rmd_locl.h.
#define F1 | ( | x, | |
y, | |||
z | |||
) | ((x) ^ (y) ^ (z)) |
Definition at line 111 of file rmd_locl.h.
#define F2 | ( | x, | |
y, | |||
z | |||
) | ((((y) ^ (z)) & (x)) ^ (z)) |
Definition at line 112 of file rmd_locl.h.
#define F3 | ( | x, | |
y, | |||
z | |||
) | (((~(y)) | (x)) ^ (z)) |
Definition at line 113 of file rmd_locl.h.
#define F4 | ( | x, | |
y, | |||
z | |||
) | ((((x) ^ (y)) & (z)) ^ (y)) |
Definition at line 114 of file rmd_locl.h.
#define F5 | ( | x, | |
y, | |||
z | |||
) | (((~(z)) | (y)) ^ (x)) |
Definition at line 115 of file rmd_locl.h.
#define HASH_BLOCK_DATA_ORDER ripemd160_block_data_order |
Definition at line 97 of file rmd_locl.h.
#define HASH_CBLOCK RIPEMD160_CBLOCK |
Definition at line 85 of file rmd_locl.h.
#define HASH_CTX RIPEMD160_CTX |
Definition at line 84 of file rmd_locl.h.
#define HASH_FINAL RIPEMD160_Final |
Definition at line 88 of file rmd_locl.h.
#define HASH_LONG RIPEMD160_LONG |
Definition at line 83 of file rmd_locl.h.
#define HASH_MAKE_STRING | ( | c, | |
s | |||
) |
#define HASH_TRANSFORM RIPEMD160_Transform |
Definition at line 87 of file rmd_locl.h.
#define HASH_UPDATE RIPEMD160_Update |
Definition at line 86 of file rmd_locl.h.
#define RIPEMD160_A 0x67452301L |
Definition at line 118 of file rmd_locl.h.
#define RIPEMD160_B 0xEFCDAB89L |
Definition at line 119 of file rmd_locl.h.
#define RIPEMD160_C 0x98BADCFEL |
Definition at line 120 of file rmd_locl.h.
#define RIPEMD160_D 0x10325476L |
Definition at line 121 of file rmd_locl.h.
#define RIPEMD160_E 0xC3D2E1F0L |
Definition at line 122 of file rmd_locl.h.
#define RIPEMD160_LONG_LOG2 2 /* default to 32 bits */ |
Definition at line 65 of file rmd_locl.h.
void ripemd160_block_data_order | ( | RIPEMD160_CTX * | c, |
const void * | p, | ||
size_t | num | ||
) |
Definition at line 88 of file rmd_dgst.c.