forked from wolfSSL/wolfssl
Merge pull request #286 from dgarske/DisableBench
Added optional define "NO_CRYPT_BENCHMARK" to allow disabling benchmark
This commit is contained in:
@ -28,6 +28,9 @@
|
|||||||
|
|
||||||
#include <wolfssl/wolfcrypt/settings.h>
|
#include <wolfssl/wolfcrypt/settings.h>
|
||||||
|
|
||||||
|
/* Macro to disable benchmark */
|
||||||
|
#ifndef NO_CRYPT_BENCHMARK
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#ifdef FREESCALE_MQX
|
#ifdef FREESCALE_MQX
|
||||||
@ -2012,3 +2015,4 @@ static INLINE word64 get_intel_cycles(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endif /* HAVE_GET_CYCLES */
|
#endif /* HAVE_GET_CYCLES */
|
||||||
|
#endif /* !NO_CRYPT_BENCHMARK */
|
||||||
|
Reference in New Issue
Block a user