MD5.C(3)

πŸ“¦
version 1.8.0 Β· 2 versions
, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this page is md5.c(3) from liberasurecode, and the NAME entry is literally just this path: /build/source/src/utils/chksum/md5.c. That’s the whole vibe. Iconic minimalism, no notes. ✨

✨ SYNOPSIS ✨

#include <string.h>
#include 'md5.h'

🧚 Macros

#define F(x,  y,  z)
#define G(x,  y,  z)
#define H(x,  y,  z)
#define I(x,  y,  z)
#define STEP(f,  a,  b,  c,  d,  x,  t,  s)
#define SET(n)
#define GET(n)

πŸŽ€ Functions

static void * body (MD5_CTX *ctx, void *data, unsigned long size)
void MD5_Init (MD5_CTX *ctx)
void MD5_Update (MD5_CTX *ctx, void *data, unsigned long size)
void MD5_Final (unsigned char *result, MD5_CTX *ctx)

πŸ¦‹ MACRO DEFINITION DOCUMENTATION πŸ¦‹

#define F( x, y, z)

Value:

((z) ^ ((x) & ((y) ^ (z))))

Definition at line 51 of file md5.c.

Referenced by body().


#define G( x, y, z)

Value:

((y) ^ ((z) & ((x) ^ (y))))

Definition at line 52 of file md5.c.

Referenced by body().


#define GET( n)

Value:

(ctx->block[(n)])

Definition at line 82 of file md5.c.

Referenced by body().


#define H( x, y, z)

Value:

((x) ^ (y) ^ (z))

Definition at line 53 of file md5.c.

Referenced by body().


#define I( x, y, z)

Value:

((y) ^ ((x) | ~(z)))

Definition at line 54 of file md5.c.

Referenced by body().


#define SET( n)

Value:

(ctx->block[(n)] = \
(MD5_u32plus)ptr[(n) * 4] | \
((MD5_u32plus)ptr[(n) * 4 + 1] << 8) | \
((MD5_u32plus)ptr[(n) * 4 + 2] << 16) | \
((MD5_u32plus)ptr[(n) * 4 + 3] << 24))

Definition at line 76 of file md5.c.

Referenced by body().


#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)))); \
(a) += (b);

Definition at line 59 of file md5.c.

Referenced by body().

🌈 FUNCTION DOCUMENTATION 🌈

void * body (MD5_CTX * ctx, void * data, unsigned long size) [static]

Definition at line 89 of file md5.c.

References F, G, GET, H, I, SET, and STEP.

Referenced by MD5_Final(), and MD5_Update().


void MD5_Final (unsigned char * result, MD5_CTX * ctx)

Definition at line 241 of file md5.c.

References body().


void MD5_Init (MD5_CTX * ctx)

Definition at line 196 of file md5.c.


void MD5_Update (MD5_CTX * ctx, void * data, unsigned long size)

Definition at line 207 of file md5.c.

References body().

πŸ‘‘ AUTHOR πŸ‘‘

Generated automatically by Doxygen for liberasurecode from the source code.


Big sparkly sign-off, bestie: this manual page is Version 1.8.0, dated Tue Jan 1 1980 00:0, and it lives at /build/source.../chksum/md5.c(3). Byeee, mwah πŸ’‹πŸ’…βœ¨

πŸ“¦ where this page comes from