forked from Imagelibrary/rtems
Stop using old-style function-definitions.
This commit is contained in:
@@ -88,8 +88,8 @@
|
|||||||
** This is a user-callable routine.
|
** This is a user-callable routine.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
MD4Print(MDp)
|
MD4Print(
|
||||||
MD4_CTX *MDp;
|
MD4_CTX *MDp)
|
||||||
{
|
{
|
||||||
int i,j;
|
int i,j;
|
||||||
for (i=0;i<4;i++)
|
for (i=0;i<4;i++)
|
||||||
@@ -102,8 +102,8 @@ MD4_CTX *MDp;
|
|||||||
** This is a user-callable routine.
|
** This is a user-callable routine.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
MD4Init(MDp)
|
MD4Init(
|
||||||
MD4_CTX *MDp;
|
MD4_CTX *MDp)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
MDp->buffer[0] = I0;
|
MDp->buffer[0] = I0;
|
||||||
|
|||||||
@@ -103,8 +103,8 @@ static unsigned char PADDING[64] = {
|
|||||||
/* The routine MD5Init initializes the message-digest context
|
/* The routine MD5Init initializes the message-digest context
|
||||||
mdContext. All fields are set to zero.
|
mdContext. All fields are set to zero.
|
||||||
*/
|
*/
|
||||||
void MD5Init (mdContext)
|
void MD5Init (
|
||||||
MD5_CTX *mdContext;
|
MD5_CTX *mdContext )
|
||||||
{
|
{
|
||||||
mdContext->i[0] = mdContext->i[1] = (UINT4)0;
|
mdContext->i[0] = mdContext->i[1] = (UINT4)0;
|
||||||
|
|
||||||
@@ -120,10 +120,10 @@ MD5_CTX *mdContext;
|
|||||||
account for the presence of each of the characters inBuf[0..inLen-1]
|
account for the presence of each of the characters inBuf[0..inLen-1]
|
||||||
in the message whose digest is being computed.
|
in the message whose digest is being computed.
|
||||||
*/
|
*/
|
||||||
void MD5Update (mdContext, inBuf, inLen)
|
void MD5Update (
|
||||||
MD5_CTX *mdContext;
|
MD5_CTX *mdContext,
|
||||||
const unsigned char *inBuf;
|
const unsigned char *inBuf,
|
||||||
unsigned int inLen;
|
unsigned int inLen )
|
||||||
{
|
{
|
||||||
UINT4 in[16];
|
UINT4 in[16];
|
||||||
int mdi;
|
int mdi;
|
||||||
@@ -158,9 +158,9 @@ unsigned int inLen;
|
|||||||
/* The routine MD5Final terminates the message-digest computation and
|
/* The routine MD5Final terminates the message-digest computation and
|
||||||
ends with the desired message digest in mdContext->digest[0...15].
|
ends with the desired message digest in mdContext->digest[0...15].
|
||||||
*/
|
*/
|
||||||
void MD5Final (hash, mdContext)
|
void MD5Final (
|
||||||
unsigned char hash[];
|
unsigned char hash[],
|
||||||
MD5_CTX *mdContext;
|
MD5_CTX *mdContext )
|
||||||
{
|
{
|
||||||
UINT4 in[16];
|
UINT4 in[16];
|
||||||
int mdi;
|
int mdi;
|
||||||
|
|||||||
Reference in New Issue
Block a user