mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-05 02:49:00 +08:00
14 lines
288 B
C
14 lines
288 B
C
|
#pragma once
|
||
|
|
||
|
#include "arch.h"
|
||
|
|
||
|
typedef struct {
|
||
|
uint32_t buf[4];
|
||
|
uint32_t bits[2];
|
||
|
unsigned char in[64];
|
||
|
} mg_md5_ctx;
|
||
|
|
||
|
void mg_md5_init(mg_md5_ctx *c);
|
||
|
void mg_md5_update(mg_md5_ctx *c, const unsigned char *data, size_t len);
|
||
|
void mg_md5_final(mg_md5_ctx *c, unsigned char[16]);
|