MD5 interface definition. More...
MD5 interface definition.
Definition in file md5.h.
#include <stdint.h>
#include <string.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. | |