diff options
| author | David Troy <dave@popvox.com> | 2006-04-01 17:16:57 +0000 |
|---|---|---|
| committer | David Troy <dave@popvox.com> | 2006-04-01 17:16:57 +0000 |
| commit | 66304bf4ed08647861e7f14f4afe45be7bdd20b8 (patch) | |
| tree | a98803287381d5ca5238b221a3059c98353a733c /src/include | |
| parent | b71a2d9e1496477cbfd2b750ff48c50b65a19a75 (diff) | |
| download | astmanproxy-66304bf4ed08647861e7f14f4afe45be7bdd20b8.tar.gz astmanproxy-66304bf4ed08647861e7f14f4afe45be7bdd20b8.tar.xz astmanproxy-66304bf4ed08647861e7f14f4afe45be7bdd20b8.zip | |
git-svn-id: http://svncommunity.digium.com/svn/astmanproxy/branches/1.20pre@43 f02b47b9-160a-0410-81a6-dc3441afb0ec
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/md5.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/md5.h b/src/include/md5.h new file mode 100644 index 0000000..30ac30c --- /dev/null +++ b/src/include/md5.h @@ -0,0 +1,18 @@ +#ifndef MD5_H +#define MD5_H + +#include <inttypes.h> + +struct MD5Context { + uint32_t buf[4]; + uint32_t bits[2]; + unsigned char in[64]; +}; + +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 MD5Transform(uint32_t buf[4], uint32_t const in[16]); + +#endif /* !MD5_H */ |
