]>
cygwin.com Git - cygwin-apps/cygutils.git/blob - src/mcookie/md5.h
2 * This code is in the public domain; do with it what you wish.
3 * Revised 2002-07-12: Charles Wilson
4 * modified to work on cygwin; integrated into cygutils package
5 * Changes licensed under the GPL
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 * See the COPYING file for license information.
26 #if defined (__alpha__) || defined (__ia64__)
27 typedef unsigned int uint32
;
29 typedef unsigned long uint32
;
38 void MD5Init(struct MD5Context
*context
);
39 void MD5Update(struct MD5Context
*context
, unsigned char const *buf
,
41 void MD5Final(unsigned char digest
[16], struct MD5Context
*context
);
42 void MD5Transform(uint32 buf
[4], uint32
const in
[16]);
45 * This is needed to make RSAREF happy on some MS-DOS compilers.
47 typedef struct MD5Context MD5_CTX
;
This page took 0.034017 seconds and 5 git commands to generate.