mirror of
https://github.com/reactos/ccache.git
synced 2024-11-23 19:59:46 +00:00
20 lines
374 B
C
20 lines
374 B
C
#ifndef MDFOUR_H
|
|
#define MDFOUR_H
|
|
|
|
#include <stddef.h>
|
|
#include <inttypes.h>
|
|
|
|
struct mdfour {
|
|
uint32_t A, B, C, D;
|
|
size_t totalN;
|
|
unsigned char tail[64];
|
|
size_t tail_len;
|
|
int finalized;
|
|
};
|
|
|
|
void mdfour_begin(struct mdfour *md);
|
|
void mdfour_update(struct mdfour *md, const unsigned char *in, size_t n);
|
|
void mdfour_result(struct mdfour *md, unsigned char *out);
|
|
|
|
#endif
|