NetServices Stack source

Dependents:   HelloWorld ServoInterfaceBoardExample1 4180_Lab4

Revision:
5:dd63a1e02b1b
Parent:
0:632c9925f013
--- a/services/mysql/sha1.h	Fri Jul 09 14:46:47 2010 +0000
+++ b/services/mysql/sha1.h	Tue Jul 27 15:59:42 2010 +0000
@@ -1,4 +1,4 @@
-/**
+/* 
  * \file sha1.h
  *
  *  Copyright (C) 2006-2010, Paul Bakker <polarssl_maintainer at polarssl.org>
@@ -21,7 +21,7 @@
 #ifndef POLARSSL_SHA1_H
 #define POLARSSL_SHA1_H
 
-/**
+/* 
  * \brief          SHA-1 context structure
  */
 typedef struct
@@ -39,14 +39,14 @@
 extern "C" {
 #endif
 
-/**
+/* 
  * \brief          SHA-1 context setup
  *
  * \param ctx      context to be initialized
  */
 void sha1_starts( sha1_context *ctx );
 
-/**
+/* 
  * \brief          SHA-1 process buffer
  *
  * \param ctx      SHA-1 context
@@ -55,7 +55,7 @@
  */
 void sha1_update( sha1_context *ctx, const unsigned char *input, int ilen );
 
-/**
+/* 
  * \brief          SHA-1 final digest
  *
  * \param ctx      SHA-1 context
@@ -63,7 +63,7 @@
  */
 void sha1_finish( sha1_context *ctx, unsigned char output[20] );
 
-/**
+/* 
  * \brief          Output = SHA-1( input buffer )
  *
  * \param input    buffer holding the  data
@@ -73,7 +73,7 @@
 void sha1( const unsigned char *input, int ilen, unsigned char output[20] );
 
 #if 0 //No need for that
-/**
+/* 
  * \brief          Output = SHA-1( file contents )
  *
  * \param path     input file name
@@ -85,7 +85,7 @@
 int sha1_file( const char *path, unsigned char output[20] );
 #endif
 
-/**
+/* 
  * \brief          SHA-1 HMAC context setup
  *
  * \param ctx      HMAC context to be initialized
@@ -94,7 +94,7 @@
  */
 void sha1_hmac_starts( sha1_context *ctx, const unsigned char *key, int keylen );
 
-/**
+/* 
  * \brief          SHA-1 HMAC process buffer
  *
  * \param ctx      HMAC context
@@ -103,7 +103,7 @@
  */
 void sha1_hmac_update( sha1_context *ctx, const unsigned char *input, int ilen );
 
-/**
+/* 
  * \brief          SHA-1 HMAC final digest
  *
  * \param ctx      HMAC context
@@ -111,14 +111,14 @@
  */
 void sha1_hmac_finish( sha1_context *ctx, unsigned char output[20] );
 
-/**
+/* 
  * \brief          SHA-1 HMAC context reset
  *
  * \param ctx      HMAC context to be reset
  */
 void sha1_hmac_reset( sha1_context *ctx );
 
-/**
+/* 
  * \brief          Output = HMAC-SHA-1( hmac key, input buffer )
  *
  * \param key      HMAC secret key
@@ -131,7 +131,7 @@
                 const unsigned char *input, int ilen,
                 unsigned char output[20] );
 
-/**
+/* 
  * \brief          Checkup routine
  *
  * \return         0 if successful, or 1 if the test failed