Update cpu.h dir.
[bertos.git] / appconfig.h
old mode 100755 (executable)
new mode 100644 (file)
index 50ca3da..9fb8afb
@@ -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 2003, 2004, 2006 Develer S.r.l. (http://www.develer.com/)
- * This file is part of DevLib - See README.devlib for information.
+ *
  * -->
  *
  * \brief DevLib configuration options
 
 /*#*
  *#* $Log$
+ *#* Revision 1.16  2007/02/12 15:29:41  asterix
+ *#* Add CONFIG_RANDPOOL_TIMER macro to swich on or off timer support in randpool.
+ *#*
+ *#* Revision 1.15  2007/02/08 14:20:35  asterix
+ *#* Add CONFIG_SIZE_ENTROPY_POOL.
+ *#*
+ *#* Revision 1.14  2007/02/06 11:37:26  asterix
+ *#* Add CONFIG_MD2_STD_PERM for use standard permutation in MD2.
+ *#*
  *#* Revision 1.13  2007/01/31 13:49:40  asterix
  *#* Add config size block for MD2
  *#*
  *#* Move cfg/config.h to appconfig.h.
  *#*/
 
-#ifndef APPCONFIG_COMMON_H
-#define APPCONFIG_COMMON_H
+#ifndef APPCONFIG_H
+#define APPCONFIG_H
 
 /** Baud-rate for the kdebug console */
 #define CONFIG_KDEBUG_BAUDRATE  19200
 /// Enable smooth scrolling in menus
 #define CONFIG_MENU_SMOOTH  1
 
-/// Size of block for MD2 algorithm 
+/// Size of block for MD2 algorithm.
 #define CONFIG_MD2_BLOCK_LEN 16
 
-#endif /* APPCONFIG_COMMON_H */
+/// Use standard permutation in MD2 algorithm.
+#define CONFIG_MD2_STD_PERM 0 
+
+/// Define a size, in byte, of entropy pool.
+#define CONFIG_SIZE_ENTROPY_POOL 64
+
+/// Turn on or off timer support in Randpool.
+#define CONFIG_RANDPOOL_TIMER 1
+
+#endif /* APPCONFIG_H */