From 27caa8a17e083435d206c27753c98bff55147919 Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Sun, 21 Mar 2010 15:43:59 +0000 Subject: [PATCH] - Changed text for return 0 lines --- include/polarssl/aes.h | 4 ++-- include/polarssl/arc4.h | 2 +- include/polarssl/camellia.h | 2 +- include/polarssl/des.h | 4 ++-- include/polarssl/xtea.h | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/polarssl/aes.h b/include/polarssl/aes.h index 61ad45732..8268390ea 100644 --- a/include/polarssl/aes.h +++ b/include/polarssl/aes.h @@ -74,7 +74,7 @@ int aes_setkey_dec( aes_context *ctx, const unsigned char *key, int keysize ); * \param input 16-byte input block * \param output 16-byte output block * - * \return 0 + * \return 0 if successful */ int aes_crypt_ecb( aes_context *ctx, int mode, @@ -113,7 +113,7 @@ int aes_crypt_cbc( aes_context *ctx, * \param input buffer holding the input data * \param output buffer holding the output data * - * \return 0 + * \return 0 if successful */ int aes_crypt_cfb128( aes_context *ctx, int mode, diff --git a/include/polarssl/arc4.h b/include/polarssl/arc4.h index f6b9f138d..14abe39e5 100644 --- a/include/polarssl/arc4.h +++ b/include/polarssl/arc4.h @@ -55,7 +55,7 @@ void arc4_setup( arc4_context *ctx, const unsigned char *key, int keylen ); * \param input buffer holding the input data * \param output buffer for the output data * - * \return 0 + * \return 0 if successful */ int arc4_crypt( arc4_context *ctx, int length, const unsigned char *input, unsigned char *output ); diff --git a/include/polarssl/camellia.h b/include/polarssl/camellia.h index e9ded1518..ed05990b1 100644 --- a/include/polarssl/camellia.h +++ b/include/polarssl/camellia.h @@ -78,7 +78,7 @@ int camellia_setkey_dec( camellia_context *ctx, const unsigned char *key, int ke * \param input 16-byte input block * \param output 16-byte output block * - * \return 0 + * \return 0 if successful */ int camellia_crypt_ecb( camellia_context *ctx, int mode, diff --git a/include/polarssl/des.h b/include/polarssl/des.h index a655a15d2..04fdf6715 100644 --- a/include/polarssl/des.h +++ b/include/polarssl/des.h @@ -107,7 +107,7 @@ void des3_set3key_dec( des3_context *ctx, const unsigned char key[24] ); * \param input 64-bit input block * \param output 64-bit output block * - * \return 0 + * \return 0 if successful */ int des_crypt_ecb( des_context *ctx, const unsigned char input[8], @@ -137,7 +137,7 @@ int des_crypt_cbc( des_context *ctx, * \param input 64-bit input block * \param output 64-bit output block * - * \return 0 + * \return 0 if successful */ int des3_crypt_ecb( des3_context *ctx, const unsigned char input[8], diff --git a/include/polarssl/xtea.h b/include/polarssl/xtea.h index 12a945592..21f0edfa0 100644 --- a/include/polarssl/xtea.h +++ b/include/polarssl/xtea.h @@ -61,7 +61,7 @@ void xtea_setup( xtea_context *ctx, unsigned char key[16] ); * \param input 8-byte input block * \param output 8-byte output block * - * \return 0 + * \return 0 if successful */ int xtea_crypt_ecb( xtea_context *ctx, int mode,