Merge pull request #286 from dgarske/DisableBench

Added optional define "NO_CRYPT_BENCHMARK" to allow disabling benchmark
This commit is contained in:
Kaleb Joseph Himes
2016-02-04 10:59:55 -08:00

View File

@ -28,6 +28,9 @@
#include <wolfssl/wolfcrypt/settings.h>
/* Macro to disable benchmark */
#ifndef NO_CRYPT_BENCHMARK
#include <string.h>
#ifdef FREESCALE_MQX
@ -2012,3 +2015,4 @@ static INLINE word64 get_intel_cycles(void)
}
#endif /* HAVE_GET_CYCLES */
#endif /* !NO_CRYPT_BENCHMARK */