Add debug for ARM AT91.
[bertos.git] / algos / tea.c
old mode 100755 (executable)
new mode 100644 (file)
index b355c11..f67d4c5
@@ -1,8 +1,33 @@
 /**
  * \file
  * <!--
+ * This file is part of BeRTOS.
+ *
+ * Bertos is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ *
+ * As a special exception, you may use this file as part of a free software
+ * library without restriction.  Specifically, if other files instantiate
+ * templates or use macros or inline functions from this file, or you compile
+ * this file and link it with other files to produce an executable, this
+ * file does not by itself cause the resulting executable to be covered by
+ * the GNU General Public License.  This exception does not however
+ * invalidate any other reasons why the executable file might be covered by
+ * the GNU General Public License.
+ *
  * Copyright 2006 Develer S.r.l. (http://www.develer.com/)
- * This file is part of DevLib - See README.devlib for information.
+ *
  * -->
  *
  * \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 <EM>v</EM> with <EM>k</EM> and returns the
  * encrypted data in <EM>v</EM>.
- * \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 <EM>v</EM> with <EM>k</EM> and returns the
  * decrypted data in <EM>v</EM>.
- * \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)
 {