md5.c (344833) | md5.c (369186) |
---|---|
1/* $FreeBSD: stable/11/contrib/ipfilter/md5.c 344833 2019-03-06 02:37:25Z cy $ */ | 1/* $FreeBSD: stable/11/contrib/ipfilter/md5.c 369186 2021-01-31 04:32:46Z cy $ */ |
2 3 4 5/* 6 *********************************************************************** 7 ** md5.c -- the source code for MD5 routines ** 8 ** RSA Data Security, Inc. MD5 Message-Digest Algorithm ** 9 ** Created: 2/17/90 RLR ** --- 85 unchanged lines hidden (view full) --- 95 (a) += (b); \ 96 } 97#define II(a, b, c, d, x, s, ac) \ 98 {(a) += I ((b), (c), (d)) + (x) + (UINT4)(ac); \ 99 (a) = ROTATE_LEFT ((a), (s)); \ 100 (a) += (b); \ 101 } 102 | 2 3 4 5/* 6 *********************************************************************** 7 ** md5.c -- the source code for MD5 routines ** 8 ** RSA Data Security, Inc. MD5 Message-Digest Algorithm ** 9 ** Created: 2/17/90 RLR ** --- 85 unchanged lines hidden (view full) --- 95 (a) += (b); \ 96 } 97#define II(a, b, c, d, x, s, ac) \ 98 {(a) += I ((b), (c), (d)) + (x) + (UINT4)(ac); \ 99 (a) = ROTATE_LEFT ((a), (s)); \ 100 (a) += (b); \ 101 } 102 |
103#ifdef __STDC__ | |
104#define UL(x) x##U | 103#define UL(x) x##U |
105#else 106#define UL(x) x 107#endif | |
108 109/* The routine MD5Init initializes the message-digest context 110 mdContext. All fields are set to zero. 111 */ 112void MD5Init (mdContext) 113MD5_CTX *mdContext; 114{ 115 mdContext->i[0] = mdContext->i[1] = (UINT4)0; --- 199 unchanged lines hidden --- | 104 105/* The routine MD5Init initializes the message-digest context 106 mdContext. All fields are set to zero. 107 */ 108void MD5Init (mdContext) 109MD5_CTX *mdContext; 110{ 111 mdContext->i[0] = mdContext->i[1] = (UINT4)0; --- 199 unchanged lines hidden --- |