Ruby: ext/digest/md5/md5.h File Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Data Structures | Macros | Typedefs | Functions
md5.h File Reference
`#include "../defs.h"`

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) |  | ) |