MD5.C(3)
π 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
- nixpkgs unstable: liberasurecode 1.8.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms