chore: move *.c *.h to src/, build in build/

This commit is contained in:
Stéphane Lesimple
2020-09-02 20:42:43 +02:00
parent 5b82ec64bc
commit 898f2fcfb6
96 changed files with 7047 additions and 6857 deletions

21
src/md5.h Normal file
View File

@@ -0,0 +1,21 @@
#ifndef MD5_H
#define MD5_H
#if defined(SIMPLE_MD5SUM)
typedef unsigned int guint32;
#endif
typedef struct MD5Context {
guint32 buf[4];
guint32 bits[2];
unsigned char in[64];
} MD5Context;
void MD5Init(struct MD5Context *context);
void MD5Update(struct MD5Context *context, unsigned char const *buf,
unsigned len);
void MD5Final(unsigned char digest[16], struct MD5Context *context);
void AsciiDigest(char*, unsigned char*);
#endif /* MD5_H */