Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
Loading...
Searching...
No Matches
IccMD5.h
Go to the documentation of this file.
1
2/** @file
3
4IccMD5.H - header file for IccMD5.cpp
5
6Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
7rights reserved.
8
9License to copy and use this software is granted provided that it
10is identified as the "RSA Data Security, Inc. MD5 Message-Digest
11Algorithm" in all material mentioning or referencing this software
12or this function.
13
14License is also granted to make and use derivative works provided
15that such works are identified as "derived from the RSA Data
16Security, Inc. MD5 Message-Digest Algorithm" in all material
17mentioning or referencing the derived work.
18
19RSA Data Security, Inc. makes no representations concerning either
20the merchantability of this software or the suitability of this
21software for any particular purpose. It is provided "as is"
22without express or implied warranty of any kind.
23
24These notices must be retained in any copies of any part of this
25documentation and/or software.
26 */
27
28/* ---------------------------------------------------------------------
29January 2011
30- Modified names to avoid possible conflicts - Max Derhak
31- Added IccProfLibConf.h include to use ICCPROFLIB_API with functions
32- Changed typedef of UINT4 to use ICCUINT64
33
34August 2012
35- Change typedef of UINT4 to use ICCUINT32 (oops!)
36------------------------------------------------------------------------ */
37
38#include "IccProfLibConf.h"
39
40
41/** POINTER defines a generic pointer type */
42typedef unsigned char *POINTER;
43
44/** UINT2 defines a two byte word */
45typedef unsigned short int UINT2;
46
47/** UINT4 defines a four byte word */
49
50
51/** MD5 context. */
52typedef struct {
53 UINT4 state[4]; /* state (ABCD) */
54 UINT4 count[2]; /* number of bits, modulo 2^64 (lsb first) */
55 unsigned char buffer[64]; /* input buffer */
56} MD5_CTX;
57
59void ICCPROFLIB_API icMD5Update (MD5_CTX *, unsigned char *, unsigned int);
60void ICCPROFLIB_API icMD5Final (unsigned char* , MD5_CTX *);
61
unsigned char * POINTER
POINTER defines a generic pointer type.
Definition IccMD5.h:42
void icMD5Update(MD5_CTX *, unsigned char *, unsigned int)
MD5 block update operation.
Definition IccMD5.cpp:114
void icMD5Init(MD5_CTX *)
MD5 initialization.
Definition IccMD5.cpp:99
void icMD5Final(unsigned char *, MD5_CTX *)
MD5 finalization.
Definition IccMD5.cpp:150
uint32_t UINT4
UINT4 defines a four byte word.
Definition IccMD5.h:48
unsigned short int UINT2
UINT2 defines a two byte word.
Definition IccMD5.h:45
File: IccProfLibConf.h.
#define ICCPROFLIB_API
#define ICCUINT32
MD5 context.
Definition IccMD5.h:52