1 /* md5.h:
2  *
3  ****************************************************************
4  * Copyright (C) 2003 Tom Lord
5  *
6  * See the file "COPYING" for further information about
7  * the copyright and warranty status of this work.
8  */
9 
10 #ifndef INCLUDE__HASH__MD5_H
11 #define INCLUDE__HASH__MD5_H
12 
13 
14 #include "hackerlab/machine/types.h"
15 #include "hackerlab/mem/alloc-limits.h"
16 
17 
18 
19 struct md5_context;
20 typedef struct md5_context * md5_context_t;
21 
22 
23 
24 /* automatically generated __STDC__ prototypes */
25 extern md5_context_t make_md5_context (alloc_limits limits);
26 extern void md5_context_reset (md5_context_t ctx);
27 extern void free_md5_context (alloc_limits limits, md5_context_t ctx);
28 extern void md5_scan (md5_context_t hd, t_uchar * inbuf, size_t inlen);
29 extern void md5_final (t_uchar * result, md5_context_t hd);
30 extern t_uchar * md5_alloc_ascii (alloc_limits limits, t_uchar * result);
31 extern void md5_ascii (t_uchar * answer, t_uchar * result);
32 #endif  /* INCLUDE__HASH__MD5_H */
33 
34 
35 /* tag: Tom Lord Fri Oct 24 08:03:07 2003 (md5.h)
36  */
37