mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-03-06 18:24:04 +01:00
Merge pull request #4250 from danielinux/iotsafe
IoT-Safe with TLS demo
This commit is contained in:
@@ -156,6 +156,11 @@ if BUILD_CRYPTOAUTHLIB
|
||||
src_libwolfssl_la_SOURCES += wolfcrypt/src/port/atmel/atmel.c
|
||||
endif
|
||||
|
||||
if BUILD_IOTSAFE
|
||||
src_libwolfssl_la_SOURCES += wolfcrypt/src/port/iotsafe/iotsafe.c
|
||||
endif
|
||||
|
||||
|
||||
if BUILD_CAAM
|
||||
src_libwolfssl_la_SOURCES += wolfcrypt/src/port/caam/wolfcaam_init.c
|
||||
src_libwolfssl_la_SOURCES += wolfcrypt/src/port/caam/wolfcaam_qnx.c
|
||||
|
||||
1264
wolfcrypt/src/port/iotsafe/iotsafe.c
Normal file
1264
wolfcrypt/src/port/iotsafe/iotsafe.c
Normal file
File diff suppressed because it is too large
Load Diff
@@ -173,6 +173,9 @@ int wc_RNG_GenerateByte(WC_RNG* rng, byte* b)
|
||||
#include <wolfssl/wolfcrypt/port/silabs/silabs_random.h>
|
||||
#endif
|
||||
|
||||
#if defined(WOLFSSL_IOTSAFE) && defined(HAVE_IOTSAFE_HWRNG)
|
||||
#include <wolfssl/wolfcrypt/port/iotsafe/iotsafe.h>
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_INTEL_RDRAND) || defined(HAVE_INTEL_RDSEED)
|
||||
static word32 intel_flags = 0;
|
||||
|
||||
Reference in New Issue
Block a user