Topic: [SOLVED] how to enable WOLFSSL_SHA384 in wolfSSL

I have defined WOLFSSL_SHA384 in the setting.h file to enable the WOLFSSL_SHA384 encryption. However, I get following errors

SHA384 not define
Sha384_BLOCK_SIZE not defined

how to fix these issues.

Share

Re: [SOLVED] how to enable WOLFSSL_SHA384 in wolfSSL

Hi milikfehan123,

Please define WOLFSSL_SHA512 as well. SHA384 depends on SHA512.


Warm Regards,

Kaleb

Re: [SOLVED] how to enable WOLFSSL_SHA384 in wolfSSL

Thanks Kaleb,

I have included both of them in the settings.h file. All other errors have been removed. However I now get error for this #include <sys/socket.h>.

I am building this for Ti-RTOS. File "socket.h" is  in "C:\ti\tirtos_tivac_2_16_01_14\products\ndk_2_25_00_09\packages\ti\ndk\inc\bsd\sys" but wolfSSL does not find it.

Can you please help me?

Share

Re: [SOLVED] how to enable WOLFSSL_SHA384 in wolfSSL

Kaleb

I have been able to build the wolfSSL but I have to use few files from the TI-RTOS NDK folder.

I wonder if this is a correct way to build WolfSSL? What is the surety that files I included are the one needed to be included and I am not including wrong files.

Share

Re: [SOLVED] how to enable WOLFSSL_SHA384 in wolfSSL

Hi malikfehan123,

Have you seen our guide for building with TIRTOS found here: https://github.com/wolfSSL/wolfssl-exam … /README.md

Other resources found here: http://processors.wiki.ti.com/index.php … th_TI-RTOS


Warm Regards,

Kaleb