ELinks 0.16.1.1
md5_context Struct Reference

#include <md5.h>

Data Fields

uint32_t buf [4]
uint32_t bits [2]
unsigned char in [64]

(Note that these are not member symbols.)

void init_md5 (struct md5_context *ctx)
 Start MD5 accumulation.
void update_md5 (struct md5_context *ctx, const char *buf, unsigned long len)
 Update context to reflect the concatenation of another buffer full of bytes.
void done_md5 (struct md5_context *ctx, md5_digest_bin_T digest)
 Final wrapup - pad to 64-byte boundary with the bit pattern 1 0* (64-bit count of bits processed, MSB-first)

◆ done_md5()

void done_md5 ( struct md5_context * ctx,
md5_digest_bin_T digest )
related

Final wrapup - pad to 64-byte boundary with the bit pattern 1 0* (64-bit count of bits processed, MSB-first)

◆ init_md5()

void init_md5 ( struct md5_context * ctx)
related

Start MD5 accumulation.

Set bit count to 0 and buffer to mysterious initialization constants.

◆ update_md5()

void update_md5 ( struct md5_context * ctx,
const char * buf,
unsigned long len )
related

Update context to reflect the concatenation of another buffer full of bytes.

Field Documentation

◆ bits

uint32_t md5_context::bits[2]

◆ buf

uint32_t md5_context::buf[4]

◆ in

unsigned char md5_context::in[64]

The documentation for this struct was generated from the following files: