Loading...
Searching...
No Matches

MD5 interface definition. More...

Detailed Description

MD5 interface definition.

Author
Christopher R. Hertel crh@u.nosp@m.biqx.nosp@m..mn.o.nosp@m.rg
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file md5.h.

#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.
 
void md5_update (md5_ctx_t *ctx, const void *data, size_t len)
 Build an MD5 Message Digest within the given context.
 
void md5_final (md5_ctx_t *ctx, void *digest)
 Finish up the current MD5 hash calculation generate the final hash.
 
void md5 (void *digest, const void *data, size_t len)
 Calculate a MD5 hash from the given data.