Topic: WolfSSL 4.7.0 on VxWorks 6.9

Hi all,

I am trying to build WolfSSL using Workbench 3.3 for VxWorks 6.9.

I followed the instructions at wolfssl/IDE/WORKBENCH/ to pull in the appropriate files into my project. I am able to build everything with one exception:

In the file random.c, in the WOLFSSL_VXWORKS section, the randomNumGen.h file is included, and the randBytes function is used within the body of wc_GenerateSeed.

From what I can see, randomNumGenLib is only available under VxWorks 7. Is there a different random number generation function that can be used under VxWorks 6.x?

For the time being I've commented out this code in order to build my project, while I look for a solution.

Any suggestions would be appreciated.

Thank you.


Re: WolfSSL 4.7.0 on VxWorks 6.9

Hi n_jusic,

I'm not finding much. Here is a mystery post on the openssl forum: … 78233.html

You can also implement your own random function and use it to seed wolfSSL. … main.c#L71

Eric @ wolfSSL Support