GDAL
cpl_md5.h
1/* See md5.cpp for explanation and copyright information. */
2
3#ifndef CPL_MD5_H
4#define CPL_MD5_H
5
6#include "cpl_port.h"
7
9const char CPL_DLL *CPLMD5String(const char *pszText);
11
12#ifndef DOXYGEN_SKIP
13
14struct CPLMD5Context
15{
16 GUInt32 buf[4];
17 GUInt32 bits[2];
18 unsigned char in[64];
19};
20
21void CPL_DLL CPLMD5Init(struct CPLMD5Context *context);
22void CPL_DLL CPLMD5Update(struct CPLMD5Context *context, const void *buf,
23 size_t len);
24void CPL_DLL CPLMD5Final(unsigned char digest[16],
25 struct CPLMD5Context *context);
26void CPLMD5Transform(GUInt32 buf[4], const unsigned char inraw[64]);
27
28#endif // #ifndef DOXYGEN_SKIP
29
30#endif /* !CPL_MD5_H */
Core portability definitions for CPL.
#define CPL_C_END
Macro to end a block of C symbols.
Definition: cpl_port.h:299
#define CPL_C_START
Macro to start a block of C symbols.
Definition: cpl_port.h:295
unsigned int GUInt32
Unsigned int32 type.
Definition: cpl_port.h:177