Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Base
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv27472
Modified Files:
md5.h
Log Message:
For SF's TID #141819 : documenting (Doxygen).
Index: md5.h
===================================================================
RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Base/md5.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** md5.h 4 Sep 2007 17:06:15 -0000 1.2
--- md5.h 4 Sep 2007 17:33:49 -0000 1.3
***************
*** 73,79 ****
/** Define the state of the MD5 Algorithm. */
typedef struct md5_state_s {
! md5_word_t count[2]; /*<! message length in bits, lsw first */
! md5_word_t abcd[4]; /*<! digest buffer */
! md5_byte_t buf[64]; /*<! accumulate block */
} md5_state_t;
--- 73,79 ----
/** Define the state of the MD5 Algorithm. */
typedef struct md5_state_s {
! md5_word_t count[2]; /*!< message length in bits, lsw first */
! md5_word_t abcd[4]; /*!< digest buffer */
! md5_byte_t buf[64]; /*!< accumulate block */
} md5_state_t;
***************
*** 83,93 ****
#endif
! /** Initialize the algorithm. */
void md5_init(md5_state_t *pms);
! /** Append a string to the message. */
void md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes);
! /** Finish the message and return the digest. */
void md5_finish(md5_state_t *pms, md5_byte_t digest[16]);
--- 83,101 ----
#endif
! /** Initialize the algorithm.
! * \param pms Pointer to a MD5 state structure. */
void md5_init(md5_state_t *pms);
! /** Append a string to the message.
! * \param pms Pointer to a MD5 state structure.
! * \param data data to be appendended.
! * \param nbytes length (in bytes) of data.
! */
void md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes);
! /** Finish the message and return the digest.
! * \param pms Pointer to a MD5 state structure.
! * \param digest Returned MD5 hash for data.
! * \sa md5_append */
void md5_finish(md5_state_t *pms, md5_byte_t digest[16]);
|