forked from wolfSSL/wolfssl
settings.h: GenSeed for test only option
This commit is contained in:
@@ -102,7 +102,7 @@ int wc_RNG_GenerateByte(WC_RNG* rng, byte* b)
|
|||||||
#include <wincrypt.h>
|
#include <wincrypt.h>
|
||||||
#else
|
#else
|
||||||
#if !defined(NO_DEV_RANDOM) && !defined(CUSTOM_RAND_GENERATE) && \
|
#if !defined(NO_DEV_RANDOM) && !defined(CUSTOM_RAND_GENERATE) && \
|
||||||
!defined(WOLFSSL_MDK_ARM) && !defined(WOLFSSL_IAR_ARM)
|
!defined(WOLFSSL_GENSEED_FORTEST) && !defined(WOLFSSL_MDK_ARM) && !defined(WOLFSSL_IAR_ARM)
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#ifndef EBSNET
|
#ifndef EBSNET
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
@@ -57,7 +57,7 @@
|
|||||||
/* Uncomment next line if using FreeRTOS */
|
/* Uncomment next line if using FreeRTOS */
|
||||||
/* #define FREERTOS */
|
/* #define FREERTOS */
|
||||||
|
|
||||||
/* Uncomment next line if using FreeRTOS-Plus TCP */
|
/* Uncomment next line if using FreeRTOS+ TCP */
|
||||||
/* #define FREERTOS_TCP */
|
/* #define FREERTOS_TCP */
|
||||||
|
|
||||||
/* Uncomment next line if using FreeRTOS Windows Simulator */
|
/* Uncomment next line if using FreeRTOS Windows Simulator */
|
||||||
@@ -416,10 +416,7 @@ static char *fgets(char *buff, int sz, FILE *fp)
|
|||||||
#define XFREE(p, h, type) vPortFree((p))
|
#define XFREE(p, h, type) vPortFree((p))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define CUSTOM_RAND_GENERATE testRandGen /* for test use only */
|
#define WOLFSSL_GENSEED_FORTEST
|
||||||
static int testRandGen(void) {
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define NO_WOLFSSL_DIR
|
#define NO_WOLFSSL_DIR
|
||||||
#define NO_WRITEV
|
#define NO_WRITEV
|
||||||
|
Reference in New Issue
Block a user