Ruby  3.1.0dev(2021-09-10revisionb76ad15ed0da636161de0243c547ee1e6fc95681)
Data Structures | Macros | Typedefs | Functions
md5.h File Reference

(b76ad15ed0da636161de0243c547ee1e6fc95681)

#include "../defs.h"
Include dependency graph for md5.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  md5_state_s
 

Macros

#define MD5_Init   rb_Digest_MD5_Init
 
#define MD5_Update   rb_Digest_MD5_Update
 
#define MD5_Finish   rb_Digest_MD5_Finish
 
#define MD5_BLOCK_LENGTH   64
 
#define MD5_DIGEST_LENGTH   16
 
#define MD5_DIGEST_STRING_LENGTH   (MD5_DIGEST_LENGTH * 2 + 1)
 

Typedefs

typedef struct md5_state_s MD5_CTX
 

Functions

int MD5_Init _ ((MD5_CTX *pms))
 
void MD5_Update _ ((MD5_CTX *pms, const uint8_t *data, size_t nbytes))
 
int MD5_Finish _ ((MD5_CTX *pms, uint8_t *digest))
 

Macro Definition Documentation

◆ MD5_BLOCK_LENGTH

#define MD5_BLOCK_LENGTH   64

Definition at line 76 of file md5.h.

◆ MD5_DIGEST_LENGTH

#define MD5_DIGEST_LENGTH   16

Definition at line 77 of file md5.h.

◆ MD5_DIGEST_STRING_LENGTH

#define MD5_DIGEST_STRING_LENGTH   (MD5_DIGEST_LENGTH * 2 + 1)

Definition at line 78 of file md5.h.

◆ MD5_Finish

#define MD5_Finish   rb_Digest_MD5_Finish

Definition at line 69 of file md5.h.

◆ MD5_Init

#define MD5_Init   rb_Digest_MD5_Init

Definition at line 67 of file md5.h.

◆ MD5_Update

#define MD5_Update   rb_Digest_MD5_Update

Definition at line 68 of file md5.h.

Typedef Documentation

◆ MD5_CTX

typedef struct md5_state_s MD5_CTX

Function Documentation

◆ _() [1/3]

int MD5_Init _ ( (MD5_CTX *pms)  )

◆ _() [2/3]

void MD5_Update _ ( (MD5_CTX *pms, const uint8_t *data, size_t nbytes)  )

◆ _() [3/3]

int MD5_Finish _ ( (MD5_CTX *pms, uint8_t *digest)  )