#include "curl_setup.h"
#include <curl/curl.h>
#include "curl_md5.h"
#include "curl_hmac.h"
#include "warnless.h"
#include <string.h>
#include "curl_memory.h"
#include "memdebug.h"
Go to the source code of this file.
|
| #define | F(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) |
| |
| #define | G(x, y, z) ((y) ^ ((z) & ((x) ^ (y)))) |
| |
| #define | GET(n) (ctx->block[(n)]) |
| |
| #define | H(x, y, z) (((x) ^ (y)) ^ (z)) |
| |
| #define | H2(x, y, z) ((x) ^ ((y) ^ (z))) |
| |
| #define | I(x, y, z) ((y) ^ ((x) | ~(z))) |
| |
| #define | SET(n) |
| |
| #define | STEP(f, a, b, c, d, x, t, s) |
| |
| #define F |
( |
|
x, |
|
|
|
y, |
|
|
|
z |
|
) |
| ((z) ^ ((x) & ((y) ^ (z)))) |
| #define G |
( |
|
x, |
|
|
|
y, |
|
|
|
z |
|
) |
| ((y) ^ ((z) & ((x) ^ (y)))) |
◆ GET
| #define GET |
( |
|
n | ) |
(ctx->block[(n)]) |
| #define H |
( |
|
x, |
|
|
|
y, |
|
|
|
z |
|
) |
| (((x) ^ (y)) ^ (z)) |
◆ H2
| #define H2 |
( |
|
x, |
|
|
|
y, |
|
|
|
z |
|
) |
| ((x) ^ ((y) ^ (z))) |
| #define I |
( |
|
x, |
|
|
|
y, |
|
|
|
z |
|
) |
| ((y) ^ ((x) | ~(z))) |
◆ SET
Value:
Definition at line 267 of file md5.c.
◆ STEP
| #define STEP |
( |
|
f, |
|
|
|
a, |
|
|
|
b, |
|
|
|
c, |
|
|
|
d, |
|
|
|
x, |
|
|
|
t, |
|
|
|
s |
|
) |
| |
Value: (
a) +=
f((b), (c), (d)) + (x) + (
t); \
(
a) = (((
a) << (
s)) | (((
a) & 0xffffffff) >> (32 - (
s)))); \
Definition at line 248 of file md5.c.
◆ MD5_u32plus
◆ body()
| static const void* body |
( |
MD5_CTX * |
ctx, |
|
|
const void * |
data, |
|
|
unsigned long |
size |
|
) |
| |
|
static |
◆ Curl_MD5_final()
| int Curl_MD5_final |
( |
MD5_context * |
context, |
|
|
unsigned char * |
result |
|
) |
| |
◆ Curl_MD5_init()
◆ Curl_MD5_update()
| int Curl_MD5_update |
( |
MD5_context * |
context, |
|
|
const unsigned char * |
data, |
|
|
unsigned int |
len |
|
) |
| |
◆ Curl_md5it()
| void Curl_md5it |
( |
unsigned char * |
outbuffer, |
|
|
const unsigned char * |
input |
|
) |
| |
◆ MD5_Final()
| static void MD5_Final |
( |
unsigned char * |
result, |
|
|
MD5_CTX * |
ctx |
|
) |
| |
|
static |
◆ MD5_Init()
| static void MD5_Init |
( |
MD5_CTX * |
ctx | ) |
|
|
static |
◆ MD5_Update()
| static void MD5_Update |
( |
MD5_CTX * |
ctx, |
|
|
const void * |
data, |
|
|
unsigned long |
size |
|
) |
| |
|
static |
◆ Curl_DIGEST_MD5
Initial value:
Definition at line 498 of file md5.c.
◆ Curl_HMAC_MD5
Initial value:
Definition at line 487 of file md5.c.