include/SDL_test_md5.h
changeset 7191 75360622e65f
parent 6885 700f1b25f77f
child 8149 681eb46b8ac4
     1.1 --- a/include/SDL_test_md5.h	Sat May 18 12:48:50 2013 -0700
     1.2 +++ b/include/SDL_test_md5.h	Sat May 18 14:17:52 2013 -0700
     1.3 @@ -21,7 +21,7 @@
     1.4  
     1.5  /**
     1.6   *  \file SDL_test_md5.h
     1.7 - *  
     1.8 + *
     1.9   *  Include file for SDL test framework.
    1.10   *
    1.11   *  This code is a part of the SDL2_test library, not the main SDL library.
    1.12 @@ -59,9 +59,7 @@
    1.13  #include "begin_code.h"
    1.14  /* Set up for C function definitions, even when using C++ */
    1.15  #ifdef __cplusplus
    1.16 -/* *INDENT-OFF* */
    1.17  extern "C" {
    1.18 -/* *INDENT-ON* */
    1.19  #endif
    1.20  
    1.21  /* ------------ Definitions --------- */
    1.22 @@ -71,21 +69,21 @@
    1.23  
    1.24  /* Data structure for MD5 (Message-Digest) computation */
    1.25    typedef struct {
    1.26 -    MD5UINT4  i[2];		/* number of _bits_ handled mod 2^64 */
    1.27 -    MD5UINT4  buf[4];		/* scratch buffer */
    1.28 -    unsigned char in[64];	/* input buffer */
    1.29 -    unsigned char digest[16];	/* actual digest after Md5Final call */
    1.30 +    MD5UINT4  i[2];     /* number of _bits_ handled mod 2^64 */
    1.31 +    MD5UINT4  buf[4];       /* scratch buffer */
    1.32 +    unsigned char in[64];   /* input buffer */
    1.33 +    unsigned char digest[16];   /* actual digest after Md5Final call */
    1.34    } SDLTest_Md5Context;
    1.35  
    1.36  /* ---------- Function Prototypes ------------- */
    1.37  
    1.38 -/** 
    1.39 +/**
    1.40   * /brief initialize the context
    1.41   *
    1.42 - * /param  mdContext		pointer to context variable
    1.43 + * /param  mdContext        pointer to context variable
    1.44   *
    1.45   * Note: The function initializes the message-digest context
    1.46 - *       mdContext. Call before each new use of the context - 
    1.47 + *       mdContext. Call before each new use of the context -
    1.48   *       all fields are set to zero.
    1.49   */
    1.50   void SDLTest_Md5Init(SDLTest_Md5Context * mdContext);
    1.51 @@ -93,24 +91,24 @@
    1.52  
    1.53  /**
    1.54   * /brief update digest from variable length data
    1.55 - * 
    1.56 + *
    1.57   * /param  mdContext       pointer to context variable
    1.58   * /param  inBuf           pointer to data array/string
    1.59   * /param  inLen           length of data array/string
    1.60   *
    1.61 - * Note: The function updates the message-digest context to account 
    1.62 + * Note: The function updates the message-digest context to account
    1.63   *       for the presence of each of the characters inBuf[0..inLen-1]
    1.64   *       in the message whose digest is being computed.
    1.65  */
    1.66  
    1.67   void SDLTest_Md5Update(SDLTest_Md5Context * mdContext, unsigned char *inBuf,
    1.68 -				 unsigned int inLen);
    1.69 +                 unsigned int inLen);
    1.70  
    1.71  
    1.72  /*
    1.73   * /brief complete digest computation
    1.74   *
    1.75 - * /param mdContext		pointer to context variable
    1.76 + * /param mdContext     pointer to context variable
    1.77   *
    1.78   * Note: The function terminates the message-digest computation and
    1.79   *       ends with the desired message digest in mdContext.digest[0..15].
    1.80 @@ -122,9 +120,7 @@
    1.81  
    1.82  /* Ends C function definitions when using C++ */
    1.83  #ifdef __cplusplus
    1.84 -/* *INDENT-OFF* */
    1.85  }
    1.86 -/* *INDENT-ON* */
    1.87  #endif
    1.88  #include "close_code.h"
    1.89