md5c.c File Reference

EMULATOR

__FBSDID("$FreeBSD: src/lib/libmd/md5c., v 1.16 2003/06/05 13:17:32 markm Exp $")

__FBSDID("$FreeBSD: src/lib/libmd/md5c.c,
v 1.16 2003/06/05 13:17:32 markm Exp $"
)

Parameters

"$FreeBSD: src/lib/libmd/md5c. c
v 1.16 2003/06/05 13:17:32 markm Exp $"

MD5Transform(u_int32_t, const unsigned)

voidMD5Transform(u_int32_t,
const unsignedchar
)[static]

Parameters

u_int32_t
const unsigned char

Encode

Decode

unsigned char PADDING

unsigned charPADDING[static]

F

G

H

I

ROTATE_LEFT

FF

GG

HH

II

MD5Init(MD5_CTX *)

voidMD5Init(MD5_CTX *context)

Parameters

MD5_CTX * context

MD5Update(MD5_CTX *, const unsigned char *, unsigned int)

voidMD5Update(MD5_CTX *context,
const unsigned char *input,
unsigned intinputLen
)

Parameters

MD5_CTX * context
const unsigned char * input
unsigned int inputLen

MD5Pad(MD5_CTX *)

voidMD5Pad(MD5_CTX *context)

Parameters

MD5_CTX * context

MD5Final(digest, MD5_CTX *)

voidMD5Final(digest,
MD5_CTX *context
)

Parameters

digest
MD5_CTX * context

MD5Transform(state, block)

voidMD5Transform(state,
block
)[static]

Parameters

state
block

S11

S12

S13

S14

S21

S22

S23

S24

S31

S32

S33

S34

S41

S42

S43

S44