change to VodafoneUSB Modem interface
Fork of MySQLClient by
Diff: LPC1768/services/mysql/sha1.h
- Revision:
- 5:91c24a06d12c
- Parent:
- 0:403b85869e53
--- a/LPC1768/services/mysql/sha1.h Mon Jul 19 16:22:25 2010 +0000 +++ b/LPC1768/services/mysql/sha1.h Thu Aug 05 15:16:36 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