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 1c0054114e
commit 7f5ea07329
+2 -16
View File
@@ -44,11 +44,11 @@
#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>
#include <semaphore.h>
#include <errno.h>
#include <debug.h>
#include <semaphore.h>
#include <crypto/crypto.h>
#include <crypto/crypto.h>
#include <arch/board/board.h>
#include <nuttx/arch.h>
@@ -63,20 +63,6 @@
* Pre-processor Definitions
****************************************************************************/
#define CONFIG_DEBUG_CRYPTO
#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
#define AES_BLOCK_SIZE 16
/****************************************************************************