forked from wolfSSL/wolfssl
@@ -1638,7 +1638,7 @@ int wc_GenerateSeed(OS_Seed* os, byte* output, word32 sz)
|
|||||||
defined(WOLFSSL_uITRON4) || defined(WOLFSSL_uTKERNEL2) || \
|
defined(WOLFSSL_uITRON4) || defined(WOLFSSL_uTKERNEL2) || \
|
||||||
defined(WOLFSSL_LPC43xx) || defined(WOLFSSL_STM32F2xx) || \
|
defined(WOLFSSL_LPC43xx) || defined(WOLFSSL_STM32F2xx) || \
|
||||||
defined(MBED) || defined(WOLFSSL_EMBOS) || \
|
defined(MBED) || defined(WOLFSSL_EMBOS) || \
|
||||||
defined(WOLFSSL_GENSEED_FORTEST)
|
defined(WOLFSSL_GENSEED_FORTEST) || defined(WOLFSSL_CHIBIOS)
|
||||||
|
|
||||||
/* these platforms do not have a default random seed and
|
/* these platforms do not have a default random seed and
|
||||||
you'll need to implement your own wc_GenerateSeed or define via
|
you'll need to implement your own wc_GenerateSeed or define via
|
||||||
|
@@ -1448,7 +1448,8 @@ WOLFSSL_API int wolfSSL_make_eap_keys(WOLFSSL*, void* key, unsigned int len,
|
|||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#elif !defined(WOLFSSL_MDK_ARM) && !defined(WOLFSSL_IAR_ARM) && \
|
#elif !defined(WOLFSSL_MDK_ARM) && !defined(WOLFSSL_IAR_ARM) && \
|
||||||
!defined(WOLFSSL_PICOTCP) && !defined(WOLFSSL_ROWLEY_ARM) && \
|
!defined(WOLFSSL_PICOTCP) && !defined(WOLFSSL_ROWLEY_ARM) && \
|
||||||
!defined(WOLFSSL_EMBOS) && !defined(WOLFSSL_FROSTED)
|
!defined(WOLFSSL_EMBOS) && !defined(WOLFSSL_FROSTED) && \
|
||||||
|
!defined(WOLFSSL_CHIBIOS)
|
||||||
#include <sys/uio.h>
|
#include <sys/uio.h>
|
||||||
#endif
|
#endif
|
||||||
/* allow writev style writing */
|
/* allow writev style writing */
|
||||||
|
@@ -1111,7 +1111,7 @@ static INLINE unsigned int my_psk_server_cb(WOLFSSL* ssl, const char* identity,
|
|||||||
extern double current_time();
|
extern double current_time();
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#if !defined(WOLFSSL_MDK_ARM) && !defined(WOLFSSL_KEIL_TCP_NET)
|
#if !defined(WOLFSSL_MDK_ARM) && !defined(WOLFSSL_KEIL_TCP_NET) && !defined(WOLFSSL_CHIBIOS)
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
|
||||||
static INLINE double current_time(int reset)
|
static INLINE double current_time(int reset)
|
||||||
|
@@ -442,6 +442,11 @@
|
|||||||
#define USE_CERT_BUFFERS_2048
|
#define USE_CERT_BUFFERS_2048
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef WOLFSSL_CHIBIOS
|
||||||
|
/* ChibiOS definitions. This file is distributed with chibiOS. */
|
||||||
|
#include "wolfssl_chibios.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef WOLFSSL_NRF5x
|
#ifdef WOLFSSL_NRF5x
|
||||||
#define SIZEOF_LONG 4
|
#define SIZEOF_LONG 4
|
||||||
#define SIZEOF_LONG_LONG 8
|
#define SIZEOF_LONG_LONG 8
|
||||||
|
Reference in New Issue
Block a user