UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
Loading...
Searching...
No Matches
md5.h
Go to the documentation of this file.
1/*
2 * MD5C.C - RSA Data Security, Inc., MD5 message-digest algorithm
3 *
4 * Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All rights
5 * reserved.
6 *
7 * License to copy and use this software is granted provided that it is
8 * identified as the "RSA Data Security, Inc. MD5 Message-Digest Algorithm"
9 * in all material mentioning or referencing this software or this function.
10 *
11 * License is also granted to make and use derivative works provided that such
12 * works are identified as "derived from the RSA Data Security, Inc. MD5
13 * Message-Digest Algorithm" in all material mentioning or referencing the
14 * derived work.
15 *
16 * RSA Data Security, Inc. makes no representations concerning either the
17 * merchantability of this software or the suitability of this software for
18 * any particular purpose. It is provided "as is" without express or implied
19 * warranty of any kind.
20 *
21 * These notices must be retained in any copies of any part of this
22 * documentation and/or software.
23 *
24 * $Revision: 1.1 $
25 * $Date: 2007/11/08 09:48:59 $
26 *
27 */
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
33/* MD5 context. */
34typedef struct {
35 uint32_t state[4]; /* state (ABCD) */
36 uint32_t count[2]; /* number of bits, modulo 2^64 (lsb first) */
37 unsigned char buffer[64]; /* input buffer */
38} MD5CTX;
39
40void MD5Init(MD5CTX *context);
41void MD5Update(MD5CTX *context, const unsigned char *input, unsigned int inputLen);
42void MD5Final(unsigned char digest[16], MD5CTX *context);
43
44#ifdef __cplusplus
45}
46#endif
void ** state
int count
Definition hd-rum.c:44
void MD5Update(MD5CTX *context, const unsigned char *input, unsigned int inputLen)
Definition md5.c:249
void MD5Final(unsigned char digest[16], MD5CTX *context)
Definition md5.c:295
void MD5Init(MD5CTX *context)
Definition md5.c:229
Definition md5.h:34