md5.h File Reference

MD5 interface definition. More...

Detailed Description

#include <stdint.h>
#include <string.h>
+ Include dependency graph for md5.h:

Go to the source code of this file.

Data Structures

struct  md5_ctx_t
 MD5 calculation context. More...
 

Macros

#define MD5_DIGEST_LENGTH   (16U)
 Length of MD5 digests in byte.
 

Functions

void md5_init (md5_ctx_t *ctx)
 Initialize the MD5 calculation context. More...
 
void md5_update (md5_ctx_t *ctx, const void *data, size_t len)
 Build an MD5 Message Digest within the given context. More...
 
void md5_final (md5_ctx_t *ctx, void *digest)
 Finish up the current MD5 hash calculation generate the final hash. More...
 
void md5 (void *digest, const void *data, size_t len)
 Calculate a MD5 hash from the given data. More...