
|
My Project
|
You can enable the wolfSSL support for Micrium μC/OS-III RTOS available here using the define MICRIUM.
You can start with your IDE-based example project for Micrium uC/OS-III and uC/TCPIP stack. You must include the uC-Clk module into your project because wolfSSL uses Micrium’s Clk_GetTS_Unix () function from <clk.h> in order to authenticate the start and end dates of certificates.
wolfSSL supports a compile-time user configurable options in the IDE/ECLIPSE/MICRIUM/user_settings.h file.
The wolfsslRunTests.c example application provides a simple function to run the selected examples at compile time through the following four #defines in user_settings.h.
IDE/ECLIPSE/MICRIUM/ folder into the exampleTLS folder.wolfsslRunTests() from your startup task. Here's an example: The test results below were collected from the NXP Kinetis K70 (Freescale TWR-K70F120M MCU) tower system board with the following software and tool chains:
WOLFSSL_WOLFCRYPT_TEST output of wolfcrypt_test()WOLFSSL_BENCHMARK_TEST output of benchmark_test()WOLFSSL_CLIENT_TEST wolfssl_client_test()You can modify the TCP_SERVER_IP_ADDR and TCP_SERVER_PORT macros at top of the client_wolfssl.c file to configure the host address and port. You will also need the server certificate. This example uses TLS 1.2 to connect to a remote host.
WOLFSSL_SERVER_TEST wolfssl_server_test()You can modify the TLS_SERVER_PORT at top of server_wolfssl.c to configure the port number to listen on local-host.
Once you start the TLS server and Listening for client connection displays on the serial console, the server is ready to accept client connections.
You can connect to the server using the wolfssl TLS client example from your Linux or Windows host as follows:
$ ./examples/client/client.exe -h TLS_SERVER_IP_ADDRES SSL version is TLSv1.2 SSL cipher suite is TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 SSL curve name is SECP256R1 I hear ya fa shizzle!
For more information please contact info@.nosp@m.wolf.nosp@m.ssl.c.nosp@m.om.