FreeCalypso > hg > fc-magnetite
comparison src/condat3/com/include/cl_md5.h @ 18:c8bd5a927942
src/condat3: import of "condat" tree from TCS3.2, pruned
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 27 Sep 2016 21:25:36 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
17:6323e661f2ed | 18:c8bd5a927942 |
---|---|
1 /* | |
2 +----------------------------------------------------------------------------- | |
3 | Project : COMLIB | |
4 | Modul : cl_md5 | |
5 +----------------------------------------------------------------------------- | |
6 | Copyright 2002 Texas Instruments Berlin, AG | |
7 | All rights reserved. | |
8 | | |
9 | This file is confidential and a trade secret of Texas | |
10 | Instruments Berlin, AG | |
11 | The receipt of or possession of this file does not convey | |
12 | any rights to reproduce or disclose its contents or to | |
13 | manufacture, use, or sell anything it may describe, in | |
14 | whole, or in part, without the specific written consent of | |
15 | Texas Instruments Berlin, AG. | |
16 +----------------------------------------------------------------------------- | |
17 | Purpose : Definitions of global types used by common library functions | |
18 | and the prototypes of those functions. | |
19 +----------------------------------------------------------------------------- | |
20 */ | |
21 /* | |
22 * Version 1.0 | |
23 */ | |
24 | |
25 /**********************************************************************************/ | |
26 | |
27 #ifndef CL_MD5_H | |
28 #define CL_MD5_H | |
29 | |
30 /**********************************************************************************/ | |
31 | |
32 /* MD5 context. */ | |
33 typedef struct { | |
34 UINT state[4]; /* state (ABCD) */ | |
35 UINT count[2]; /* number of bits, modulo 2^64 (lsb first) */ | |
36 unsigned char buffer[64]; /* input buffer */ | |
37 } MD5_CTX; | |
38 | |
39 /**********************************************************************************/ | |
40 | |
41 EXTERN void cl_md5 (UBYTE *input, UINT len, UBYTE *digest); | |
42 #ifdef _SIMULATION_ | |
43 EXTERN void cl_md5TestSuite (void); | |
44 #endif | |
45 | |
46 #endif /* CL_RIBU_H */ |