Topic: Why is CyaSSL on TIRTOS dependant on NDK but not supported by MSP430

Hi

I'm trying to use CyaSSL to sign and verify data payload on MSP430 and have got small example (sort of!) working on TivaC evaluation board but porting to MSP430F6779 I have found a dependency on the TI NDK which is only supported on a limited number of TI boards e.g. TMS320C6000 family and ARM processors.

Code from "C:/cyassl/cyassl/ctaocrypt/settings.h" below:

#ifdef CYASSL_TIRTOS
    #define SIZEOF_LONG_LONG 8
    #define NO_WRITEV
    #define NO_CYASSL_DIR
    #define USE_FAST_MATH
    #define TFM_TIMING_RESISTANT
    #define NO_DEV_RANDOM
    #define NO_FILESYSTEM
    #define USE_CERT_BUFFERS_2048
    #define NO_ERROR_STRINGS
    #define USER_TIME

    #ifdef __IAR_SYSTEMS_ICC__
        #pragma diag_suppress=Pa089
    #elif !defined(__GNUC__)
        /* Suppress the sslpro warning */
        #pragma diag_suppress=11
    #endif

    #include <ti/ndk/nettools/mytime/mytime.h>
#endif

This seems to suggest that CyaSSL can only be used on TMS320C6000 and TivaC devices???

Isn't this a little limiting?

What's the alternative to users of MSP430 devices?? PolarSSL ??

Regards

Jeff White

Share

Re: Why is CyaSSL on TIRTOS dependant on NDK but not supported by MSP430

Can I just build the wolfcrypt/ctaocrypt subset of the WolfSSL library on TIRTOS?

Thereby avoiding the NDK dependency. If so how?

Share

Re: Why is CyaSSL on TIRTOS dependant on NDK but not supported by MSP430

Hi Jeff,

I will do all I can to assist in this. Could you help me to better realize the full scope and detail of your project? I have reviewed your question and reached out to one of our contacts over at TI. He said

The MSP430 devices can be used with SimpleLink CC3100 WiFi devices which have different network and TLS stack. I am guessing the customer is using a WiFi device. If that’s true, then I wonder why the customer would need WolfSSL as there is support for TLS on the WiFi devices.

I suggest that you redirect the customer to http://e2e.ti.com/support/embedded/tirtos/ forum.  We  can help answering the question.

Other sources that may be helpful:

Porting to new environments
http://wolfssl.com/wolfSSL/Docs-wolfssl … guide.html

wolfSSL Texas Instruments Support
http://wolfssl.com/wolfSSL/wolfssl-ti.html

http://processors.wiki.ti.com/index.php … th_TI-RTOS

I hope this helps and look forward to assisting you in any way I can. Please do not hesitate to reach out if you have further questions.

Kind Regards,

Kaleb