Rizin
unix-like reverse engineering framework and cli tools
md5.h File Reference
#include <stdio.h>
#include <limits.h>

Go to the source code of this file.

Classes

struct  md5_ctx
 

Macros

#define UINT_MAX_32_BITS   0xFFFFFFFF
 
#define UINT_MAX   UINT_MAX_32_BITS
 
#define __P(x)   ()
 
#define rol(x, n)   ( ((x) << (n)) | ((x) >> (32-(n))) )
 

Typedefs

typedef unsigned int md5_uint32
 
typedef unsigned long int md5_uintptr
 

Functions

void md5_init_ctx __P ((struct md5_ctx *ctx))
 
void md5_process_block __P ((const void *buffer, size_t len, struct md5_ctx *ctx))
 
void *md5_finish_ctx __P ((struct md5_ctx *ctx, void *resbuf))
 
void *md5_read_ctx __P ((const struct md5_ctx *ctx, void *resbuf))
 
int md5_stream __P ((FILE *stream, void *resblock))
 
void *md5_buffer __P ((const char *buffer, size_t len, void *resblock))
 

Macro Definition Documentation

◆ __P

#define __P (   x)    ()

Definition at line 82 of file md5.h.

◆ rol

#define rol (   x,
  n 
)    ( ((x) << (n)) | ((x) >> (32-(n))) )

Definition at line 163 of file md5.h.

◆ UINT_MAX

#define UINT_MAX   UINT_MAX_32_BITS

Definition at line 55 of file md5.h.

◆ UINT_MAX_32_BITS

#define UINT_MAX_32_BITS   0xFFFFFFFF

Definition at line 46 of file md5.h.

Typedef Documentation

◆ md5_uint32

Definition at line 59 of file md5.h.

◆ md5_uintptr

Definition at line 75 of file md5.h.

Function Documentation

◆ __P() [1/6]

void* md5_buffer __P ( (const char *buffer, size_t len, void *resblock)  )

◆ __P() [2/6]

void* md5_read_ctx __P ( (const struct md5_ctx *ctx, void *resbuf)  )

◆ __P() [3/6]

void md5_process_bytes __P ( (const void *buffer, size_t len, struct md5_ctx *ctx )

◆ __P() [4/6]

int md5_stream __P ( (FILE *stream, void *resblock)  )

◆ __P() [5/6]

void md5_init_ctx __P ( (struct md5_ctx *ctx )

◆ __P() [6/6]

void* md5_finish_ctx __P ( (struct md5_ctx *ctx, void *resbuf)  )