SPRACM5 April   2019 AM3351 , AM3351 , AM3352 , AM3352 , AM3354 , AM3354 , AM3356 , AM3356 , AM3357 , AM3357 , AM3358 , AM3358 , AM3359 , AM3359

 

  1.   How to Port WOLFSSL Onto TI Sitara AM335 Starterkit
    1.     Trademarks
    2. Introduction
    3. Hardware and Software Required Stuffs
    4. Step-by-Step Porting
    5. Merging the WolfSSL Code and Building Regarding the NIMP FTP Example
    6. How to Verify?
    7. Testing environment
    8. Demo Movie
    9. Function API
    10. Test Pass Logs
    11. 10 References

Function API

You can reference this article:

  • wolfSSL-Porting-Guide.pdf

The four API are the basic soul for the entire demo. All of the important API are listed as shown below.

  • wolfSSL_CTX_new
  • wolfSSL_CTX_load_verify_buffer
  • wolfSSL_CTX_use_certificate_buffer
  • wolfSSL_CTX_use_PrivateKey_buffer

The two calls are user configured for your own code; you can refer to the wolSSL porting guide.

  • wolfSSL_SetIORecv
  • wolfSSL_SetIOSend

The following are the APIs used after the TCP socket is configured and connected. The wolfSSL data transmission on the TCP socket will rely on those APIs.

  • wolfSSL_new
  • wolfSSL_set_fd
  • wolfSSL_connect
  • wolfSSL_get_fd
  • wolfSSL_write
  • wolfSSL_read
  • wolfSSL_free