Move cypto debug definitions to debug.h with other susbsystem-level debug

This commit is contained in:
Gregory Nutt
2014-07-03 07:58:43 -06:00
parent bb3dcccd98
commit edb5f312ca
5 changed files with 151 additions and 152 deletions
+2 -14
View File
@@ -60,24 +60,12 @@
#define CYPHER_ENCRYPT 1
#define CYPHER_DECRYPT 0
#ifdef CONFIG_DEBUG_CRYPTO
# define cryptdbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# define cryptvdbg lldbg
# else
# define cryptvdbg(x...)
# endif
#else
# define cryptdbg(x...)
# define cryptvdbg(x...)
#endif
#ifndef __ASSEMBLY__
/************************************************************************************
* Public Data
************************************************************************************/
#ifndef __ASSEMBLY__
#undef EXTERN
#if defined(__cplusplus)
#define EXTERN extern "C"