Topic: Define custom seed function

Hi, I'm compiling on linux with

./configure --enable-debug

Based on https://www.wolfssl.com/docs/wolfssl-manual/ch2

I see these defines "NO_DEV_RANDOM", "CUSTOM_RAND_GENERATE", "CUSTOM_RAND_GENERATE_BLOCK", "CUSTOM_RAND_GENERATE_SEED",


How to correctly compile the library with the right constants and where so I can have a custom entropy for all the encryption happening after that ?

Share

Re: Define custom seed function

For a reference see: wolfssl-3.15.7/IDE/GCC-ARM/Header/user_settings.h.

Look for the section:

/* ------------------------------------------------------------------------- */
/* RNG */
/* ------------------------------------------------------------------------- */

- K