Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
/* Don't move this include ahead of the INLINE_FUNCTIONS definition. */
#include "CompilerDependencies.h"
/* This definition is required for the re-factored code */
-#define USE_BN_ECC_DATA
+#if (!defined USE_BN_ECC_DATA) || ((USE_BN_ECC_DATA != NO) && (USE_BN_ECC_DATA != YES))
+# undef USE_BN_ECC_DATA
+# define USE_BN_ECC_DATA YES // Default: Either YES or NO
+#endif
+
/* Comment these out as needed */
#ifndef SIMULATION
//# define SIMULATION
#include "Tpm.h"
#ifdef TPM_ALG_ECC
/* This version requires that the new format for ECC data be used */
-#ifndef USE_BN_ECC_DATA
+#if !USE_BN_ECC_DATA
#error "Need to define USE_BN_ECC_DATA in Implementaion.h"
#endif
/* 10.2.12.2 Functions */