X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=algos%2Ftea.c;h=f67d4c5e7ffd9df6e0e1c3f57d13d2237910b156;hb=4be63e9bf292129a3d9771025528d254646180fe;hp=b355c1168d2b487815cab84ab41fcff66ab96dc2;hpb=6a563a4c21419a505cefe4cb07de3fbf66d2c775;p=bertos.git diff --git a/algos/tea.c b/algos/tea.c old mode 100755 new mode 100644 index b355c116..f67d4c5e --- a/algos/tea.c +++ b/algos/tea.c @@ -1,8 +1,33 @@ /** * \file * * * \brief TEA Tiny Encription Algorith functions (implementation). @@ -41,6 +66,9 @@ /*#* *#* $Log$ + *#* Revision 1.2 2007/09/19 16:23:27 batt + *#* Fix doxygen warnings. + *#* *#* Revision 1.1 2007/06/07 09:13:40 batt *#* Add TEA enc/decryption algorithm. *#* @@ -61,8 +89,8 @@ static uint32_t tea_func(uint32_t *in, uint32_t *sum, uint32_t *k) * \brief TEA encryption function. * This function encrypts v with k and returns the * encrypted data in v. - * \param v Array of two long values containing the data block. - * \param k Array of four long values containing the key. + * \param _v Array of two long values containing the data block. + * \param _k Array of four long values containing the key. */ void tea_enc(void *_v, void *_k) { @@ -90,8 +118,8 @@ void tea_enc(void *_v, void *_k) * \brief TEA decryption function. * This function decrypts v with k and returns the * decrypted data in v. - * \param v Array of two long values containing the data block. - *\param k Array of four long values containing the key. + * \param _v Array of two long values containing the data block. + * \param _k Array of four long values containing the key. */ void tea_dec(void *_v, void *_k) {