diff --git a/IDE/Renesas/e2studio/RA6M3/README.md b/IDE/Renesas/e2studio/RA6M3/README.md new file mode 100644 index 000000000..4e0aa7cc9 --- /dev/null +++ b/IDE/Renesas/e2studio/RA6M3/README.md @@ -0,0 +1,175 @@ +wolfSSL for Renesas RA Evaluation Kit (EK-RA6M3G) +================================================= + +## Description + +This directory contains e2studio projects targeted at the Renesas RA 32-bit MCUs.\ +The example projects include a wolfSSL TLS 1.2 client and server.\ +They also include benchmark and cryptography tests for the wolfCrypt library. + +The wolfssl project contains both the wolfSSL and wolfCrypt libraries.\ +It is built as a `Renesas RA C Library Project` and contains the Renesas RA\ +configuration. + +The other projects (benchmark, client, server and test) are built as a\ +`Renesas RA C Project Using RA Library`, where the RA library is the wolfssl project.\ +The wolfssl Project Summary is listed below and is relevant for every project. + +#### Project Summary + +`Board: EK-RA6M3G`\ +`Device: R7FA6M3AH3CFC`\ +`Toolchain: GCC ARM Embedded`\ +`FSP Version: 0.8.0` + +##### Selected software components + +`Board Support Package Common Files v0.8.0`\ +`Arm CMSIS Version 5 - Core (M) v5.5.1`\ +`Amazon FreeRTOS v0.8.0`\ +`RA6M3G-EK Board Support Files v0.8.0`\ +`Board support package for R7FA6M3AH3CFC v0.8.0`\ +`Board support package for RA6M3 v0.8.0`\ +`Board support package for RA6M3 v0.8.0`\ +`Amazon FreeRTOS - Memory Management - Heap 4 v0.8.0`\ +`r_ether to FreeRTOS+TCP Wrapper v0.8.0`\ +`Ethernet v0.8.0`\ +`Ethernet PHY v0.8.0`\ +`FreeRTOS+TCP v0.8.0`\ +`Amazon FreeRTOS - Buffer Allocation 2 v0.8.0` + + +## Setup Steps + +The project directories are missing files necessary to build the project.\ +These files can be generated when creating a new Renesas RA Project.\ +The following steps explain how to generate the missing files and where to place them. + +1.) Create a 'dummy' Renesas RA C Library Project. + + Click File->New->`RA C/C++ Project` + + Click `Renesas RA C Library Project`. Click Next + + Enter `dummy_library` as the project name. Click Next. + + Under `Board: Custom User Board`, select `EK-RA6M3G`. + + Under `RTOS: No RTOS`, select `Amazon FreeRTOS`. + + Click Next. Select `Amazon FreeRTOS - Minimal - Static Allocation` + + Click Finish. + +2.) Create a 'dummy' Renesas RA C Project Using RA Library. + + Click File->New->`RA C/C++ Project` + + Click `Renesas RA C Project Using RA Library`. Click Next + + Enter `dummy_app` as the project name. Click Next. + + Under `RA library project`, select `dummy_library`. + + Click Finish. + +3.) Import all the wolfSSL Projects into e2studio workspace. + + Click File->`Open Projects from File System` + + Click `Directory...` to the right of Import source + + Select the RA6M3G folder location that contains the projects\ + example path: wolfssl/IDE/Renesas/e2studio/RA6M3 + + Deselect the Non-Eclipse project, RA6M3G, by clicking the checkbox\ + Only the folders with 'Eclipse project' under 'Import as' need to be selected. + + Click Finish. + +4.) Copy files from `dummy_library` into `wolfSSL_RA6M3G` + + Expand the dummy_library and wolfSSL_RA6M3G projects\ + (Click the drop-down arrow to the left of the project name.) + + Select and Copy the following folders/files inside dummy_library\ +` ra/`\ +` ra_gen/`\ +` ra_cfg/`\ +` script/`\ +` R7FA6M3AH3CFC.pincfg`\ +` RA6M3G-EK.pingcfg` + + Paste the copied folders/files into wolfSSL_RA6M3G + + The `dummy_library` project can now be deleted. + + Generate Project Content. + + Click `Open RA Configuration` in the top bar (Grey Settings Cog) + + Click `Generate Project Content` at top right (Green Icon) + + Build wolfSSL_RA6M3G. + +5.) Copy files from `dummy_app` into `./IDE/Renesas/e2studio/RA6M3/common/ra6m3g/`\ + **NOTE:** This may need to be done outside of the e2studio environment (e.g. File Explorer). + + Select and Copy the followng folder inside dummy_app\ +` src/`\ +` script/` + + Paste the copied folders into `./IDE/Renesas/e2studio/RA6M3/common/ra6m3g/`\ +` (The test, benchmark, client and server projects link to this folder.)` + + The `dummy_app` project can now be deleted. + +6.) Setup Network Environment + + The client and server projects have defines inside their wolfssl_thread_entry.h. + These defines (ucIPAddress ... ucDNSServerAddress) may need to be changed + based on your internal network environment. The g_ether0_mac_address is the default + mac address found inside the RA configuration inside the wolfssl project. + The client wolfssl_thread_entry.h has defines (SERVER_IP and DEFAULT_PORT) that + will need to be changed based on the server you're trying to connect to over + the ethernet connection. + +## Build and Run + +### Build Each Project +Right-Click each Project and select Build. + +### Run wolfCrypt Test and Benchmark +1.) Right-Click the Project name.\ +2.) Select `Debug As` -> `Renesas GDB Hardware Debugging`\ +3.) Select J-Link ARM. Click OK.\ +4.) Select R7Fa6M3AH. Click OK. + +### Run the wolfSSL TLS Server Example. +1.) Right-Click the Project name.\ +2.) Select `Debug As` -> `Renesas GDB Hardware Debugging`\ +3.) Select J-Link ARM. Click OK.\ +4.) Select R7Fa6M3AH. Click OK.\ +5.) Run the following wolfSSL example client command inside the base of the wolfssl directory. + +``` +./examples/client/client -h "ucIPAddress" -p 11111 -A ./certs/1024/ca-cert.pem +``` +**NOTE:** "ucIPAddress" is "192.168.1.241" by default. (See wolfssl_thread_entry.h) + +### Run the wolfSSL TLS Client Example. + 1.) Run the following wolfSSL example server command inside the base of the wolfssl directory. + +``` +./examples/server/server -b -d -p 11111 -c ./certs/1024/server-cert.pem -k ./certs/1024/server-key.pem +``` +**NOTE:** The port 11111 is the DEFAULT_PORT inside wolfssl_thread_entry.h.\ +If DEFAULT_PORT was changed then the above command will need to match it. + + 2.) Right-Click the Project name.\ + 3.) Select `Debug As` -> `Renesas GDB Hardware Debugging`\ + 4.) Select J-Link ARM. Click OK.\ + 5.) Select R7Fa6M3AH. Click OK. + + +## Troubleshooting + +* The commands for the example client/server assumes it is being run from the + base directory of wolfssl. + +* Enter "#define DEBUG_WOLFSSL" inside user_settings.h or wolfssl_thread_entry.c\ + to enable wolfssl debug messages to the Renesas Virtual Debug Console. + +* Some linking errors can be caused by the e2studio project files needing to be rebuilt and freshened. +Right-Click a project, select Index, click Rebuild and then click Freshen Files. Repeat for each project. + +[Support Forum](https://www.wolfssl.com/forums/) + +Support Email: support@wolfssl.com + + +## Resources + +[wolfSSL Website](https://www.wolfssl.com/) + +[wolfSSL Wiki](https://github.com/wolfSSL/wolfssl/wiki) + +[wolfSSL Manual](https://wolfssl.com/wolfSSL/Docs-wolfssl-manual-toc.html) + +[wolfSSL API Reference](https://wolfssl.com/wolfSSL/Docs-wolfssl-manual-17-wolfssl-api-reference.html) + +[wolfCrypt API Reference](https://wolfssl.com/wolfSSL/Docs-wolfssl-manual-18-wolfcrypt-api-reference.html) + +[TLS 1.3](https://www.wolfssl.com/docs/tls13/) diff --git a/IDE/Renesas/e2studio/RA6M3G/benchmark-wolfcrypt/.cproject b/IDE/Renesas/e2studio/RA6M3/benchmark-wolfcrypt/.cproject similarity index 99% rename from IDE/Renesas/e2studio/RA6M3G/benchmark-wolfcrypt/.cproject rename to IDE/Renesas/e2studio/RA6M3/benchmark-wolfcrypt/.cproject index f8e135a28..b7f446987 100644 --- a/IDE/Renesas/e2studio/RA6M3G/benchmark-wolfcrypt/.cproject +++ b/IDE/Renesas/e2studio/RA6M3/benchmark-wolfcrypt/.cproject @@ -1,309 +1,309 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/IDE/Renesas/e2studio/RA6M3G/benchmark-wolfcrypt/.project b/IDE/Renesas/e2studio/RA6M3/benchmark-wolfcrypt/.project similarity index 96% rename from IDE/Renesas/e2studio/RA6M3G/benchmark-wolfcrypt/.project rename to IDE/Renesas/e2studio/RA6M3/benchmark-wolfcrypt/.project index 9b1353df6..c8a4418e5 100644 --- a/IDE/Renesas/e2studio/RA6M3G/benchmark-wolfcrypt/.project +++ b/IDE/Renesas/e2studio/RA6M3/benchmark-wolfcrypt/.project @@ -1,59 +1,59 @@ - - - benchmark_wolfCrypt_RA6M3G - - - - - - org.eclipse.cdt.managedbuilder.core.genmakebuilder - clean,full,incremental, - - - - - org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder - full,incremental, - - - - - - org.eclipse.cdt.core.cnature - com.renesas.cdt.ra.contentgen.raExecutableNature - org.eclipse.cdt.managedbuilder.core.managedBuildNature - org.eclipse.cdt.managedbuilder.core.ScannerConfigNature - - - - common/src - 2 - virtual:/virtual - - - common/user_settings.h - 1 - PARENT-1-PROJECT_LOC/common/user_settings.h - - - common/util.h - 1 - PARENT-1-PROJECT_LOC/common/util.h - - - script/ra6m3.ld - 1 - PARENT-1-PROJECT_LOC/common/ra6m3g/script/ra6m3.ld - - - src/benchmark.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/benchmark/benchmark.c - - - common/src/freertos_tcp_port.c - 1 - PARENT-1-PROJECT_LOC/common/src/freertos_tcp_port.c - - - + + + benchmark_wolfCrypt_RA6M3G + + + + + + org.eclipse.cdt.managedbuilder.core.genmakebuilder + clean,full,incremental, + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + org.eclipse.cdt.core.cnature + com.renesas.cdt.ra.contentgen.raExecutableNature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + + + + common/src + 2 + virtual:/virtual + + + common/user_settings.h + 1 + PARENT-1-PROJECT_LOC/common/user_settings.h + + + common/util.h + 1 + PARENT-1-PROJECT_LOC/common/util.h + + + script/ra6m3.ld + 1 + PARENT-1-PROJECT_LOC/common/ra6m3g/script/ra6m3.ld + + + src/benchmark.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/benchmark/benchmark.c + + + common/src/freertos_tcp_port.c + 1 + PARENT-1-PROJECT_LOC/common/src/freertos_tcp_port.c + + + diff --git a/IDE/Renesas/e2studio/RA6M3G/benchmark-wolfcrypt/common/.gitkeep b/IDE/Renesas/e2studio/RA6M3/benchmark-wolfcrypt/common/.gitkeep similarity index 100% rename from IDE/Renesas/e2studio/RA6M3G/benchmark-wolfcrypt/common/.gitkeep rename to IDE/Renesas/e2studio/RA6M3/benchmark-wolfcrypt/common/.gitkeep diff --git a/IDE/Renesas/e2studio/RA6M3G/benchmark-wolfcrypt/script/.gitkeep b/IDE/Renesas/e2studio/RA6M3/benchmark-wolfcrypt/script/.gitkeep similarity index 100% rename from IDE/Renesas/e2studio/RA6M3G/benchmark-wolfcrypt/script/.gitkeep rename to IDE/Renesas/e2studio/RA6M3/benchmark-wolfcrypt/script/.gitkeep diff --git a/IDE/Renesas/e2studio/RA6M3G/benchmark-wolfcrypt/src/wolfssl_thread_entry.c b/IDE/Renesas/e2studio/RA6M3/benchmark-wolfcrypt/src/wolfssl_thread_entry.c similarity index 100% rename from IDE/Renesas/e2studio/RA6M3G/benchmark-wolfcrypt/src/wolfssl_thread_entry.c rename to IDE/Renesas/e2studio/RA6M3/benchmark-wolfcrypt/src/wolfssl_thread_entry.c diff --git a/IDE/Renesas/e2studio/RA6M3G/client-wolfssl/.cproject b/IDE/Renesas/e2studio/RA6M3/client-wolfssl/.cproject similarity index 99% rename from IDE/Renesas/e2studio/RA6M3G/client-wolfssl/.cproject rename to IDE/Renesas/e2studio/RA6M3/client-wolfssl/.cproject index b4d519106..26ffe07df 100644 --- a/IDE/Renesas/e2studio/RA6M3G/client-wolfssl/.cproject +++ b/IDE/Renesas/e2studio/RA6M3/client-wolfssl/.cproject @@ -1,325 +1,325 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/IDE/Renesas/e2studio/RA6M3G/client-wolfssl/.project b/IDE/Renesas/e2studio/RA6M3/client-wolfssl/.project similarity index 96% rename from IDE/Renesas/e2studio/RA6M3G/client-wolfssl/.project rename to IDE/Renesas/e2studio/RA6M3/client-wolfssl/.project index 0f84e0838..d23b77045 100644 --- a/IDE/Renesas/e2studio/RA6M3G/client-wolfssl/.project +++ b/IDE/Renesas/e2studio/RA6M3/client-wolfssl/.project @@ -1,54 +1,54 @@ - - - client_wolfSSL_RA6M3G - - - - - - org.eclipse.cdt.managedbuilder.core.genmakebuilder - clean,full,incremental, - - - - - org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder - full,incremental, - - - - - - org.eclipse.cdt.core.cnature - com.renesas.cdt.ra.contentgen.raExecutableNature - org.eclipse.cdt.managedbuilder.core.managedBuildNature - org.eclipse.cdt.managedbuilder.core.ScannerConfigNature - - - - common/user_settings.h - 1 - PARENT-1-PROJECT_LOC/common/user_settings.h - - - common/util.h - 1 - PARENT-1-PROJECT_LOC/common/util.h - - - script/ra6m3.ld - 1 - PARENT-1-PROJECT_LOC/common/ra6m3g/script/ra6m3.ld - - - src/hal_entry.c - 1 - PARENT-1-PROJECT_LOC/common/ra6m3g/src/hal_entry.c - - - common/src/freertos_tcp_port.c - 1 - PARENT-1-PROJECT_LOC/common/src/freertos_tcp_port.c - - - + + + client_wolfSSL_RA6M3G + + + + + + org.eclipse.cdt.managedbuilder.core.genmakebuilder + clean,full,incremental, + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + org.eclipse.cdt.core.cnature + com.renesas.cdt.ra.contentgen.raExecutableNature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + + + + common/user_settings.h + 1 + PARENT-1-PROJECT_LOC/common/user_settings.h + + + common/util.h + 1 + PARENT-1-PROJECT_LOC/common/util.h + + + script/ra6m3.ld + 1 + PARENT-1-PROJECT_LOC/common/ra6m3g/script/ra6m3.ld + + + src/hal_entry.c + 1 + PARENT-1-PROJECT_LOC/common/ra6m3g/src/hal_entry.c + + + common/src/freertos_tcp_port.c + 1 + PARENT-1-PROJECT_LOC/common/src/freertos_tcp_port.c + + + diff --git a/IDE/Renesas/e2studio/RA6M3G/client-wolfssl/common/src/.gitkeep b/IDE/Renesas/e2studio/RA6M3/client-wolfssl/common/src/.gitkeep similarity index 100% rename from IDE/Renesas/e2studio/RA6M3G/client-wolfssl/common/src/.gitkeep rename to IDE/Renesas/e2studio/RA6M3/client-wolfssl/common/src/.gitkeep diff --git a/IDE/Renesas/e2studio/RA6M3G/client-wolfssl/script/.gitkeep b/IDE/Renesas/e2studio/RA6M3/client-wolfssl/script/.gitkeep similarity index 100% rename from IDE/Renesas/e2studio/RA6M3G/client-wolfssl/script/.gitkeep rename to IDE/Renesas/e2studio/RA6M3/client-wolfssl/script/.gitkeep diff --git a/IDE/Renesas/e2studio/RA6M3G/client-wolfssl/src/wolfssl_thread_entry.c b/IDE/Renesas/e2studio/RA6M3/client-wolfssl/src/wolfssl_thread_entry.c similarity index 100% rename from IDE/Renesas/e2studio/RA6M3G/client-wolfssl/src/wolfssl_thread_entry.c rename to IDE/Renesas/e2studio/RA6M3/client-wolfssl/src/wolfssl_thread_entry.c diff --git a/IDE/Renesas/e2studio/RA6M3G/client-wolfssl/wolfssl_thread_entry.h b/IDE/Renesas/e2studio/RA6M3/client-wolfssl/wolfssl_thread_entry.h similarity index 100% rename from IDE/Renesas/e2studio/RA6M3G/client-wolfssl/wolfssl_thread_entry.h rename to IDE/Renesas/e2studio/RA6M3/client-wolfssl/wolfssl_thread_entry.h diff --git a/IDE/Renesas/e2studio/RA6M3G/common/ra6m3g/README.md b/IDE/Renesas/e2studio/RA6M3/common/ra6m3g/README.md similarity index 100% rename from IDE/Renesas/e2studio/RA6M3G/common/ra6m3g/README.md rename to IDE/Renesas/e2studio/RA6M3/common/ra6m3g/README.md diff --git a/IDE/Renesas/e2studio/RA6M3G/common/src/freertos_tcp_port.c b/IDE/Renesas/e2studio/RA6M3/common/src/freertos_tcp_port.c similarity index 100% rename from IDE/Renesas/e2studio/RA6M3G/common/src/freertos_tcp_port.c rename to IDE/Renesas/e2studio/RA6M3/common/src/freertos_tcp_port.c diff --git a/IDE/Renesas/e2studio/RA6M3G/common/user_settings.h b/IDE/Renesas/e2studio/RA6M3/common/user_settings.h similarity index 100% rename from IDE/Renesas/e2studio/RA6M3G/common/user_settings.h rename to IDE/Renesas/e2studio/RA6M3/common/user_settings.h diff --git a/IDE/Renesas/e2studio/RA6M3G/common/util.h b/IDE/Renesas/e2studio/RA6M3/common/util.h similarity index 100% rename from IDE/Renesas/e2studio/RA6M3G/common/util.h rename to IDE/Renesas/e2studio/RA6M3/common/util.h diff --git a/IDE/Renesas/e2studio/RA6M3/include.am b/IDE/Renesas/e2studio/RA6M3/include.am new file mode 100644 index 000000000..fde3c0464 --- /dev/null +++ b/IDE/Renesas/e2studio/RA6M3/include.am @@ -0,0 +1,33 @@ +# vim:ft=automake +# included from Top Level Makefile.am +# All paths should be given relative to the root + +EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3/benchmark-wolfcrypt/src/wolfssl_thread_entry.c +EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3/benchmark-wolfcrypt/.cproject +EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3/benchmark-wolfcrypt/.project + +EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3/client-wolfssl/src/wolfssl_thread_entry.c +EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3/client-wolfssl/.cproject +EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3/client-wolfssl/.project +EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3/client-wolfssl/wolfssl_thread_entry.h + +EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3/common/ra6m3g/README.md +EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3/common/src/freertos_tcp_port.c +EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3/common/user_settings.h +EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3/common/util.h + +EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3/server-wolfssl/src/wolfssl_thread_entry.c +EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3/server-wolfssl/.cproject +EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3/server-wolfssl/.project +EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3/server-wolfssl/wolfssl_thread_entry.h + +EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3/test-wolfcrypt/src/wolfssl_thread_entry.c +EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3/test-wolfcrypt/.cproject +EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3/test-wolfcrypt/.project + +EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3/wolfssl/.cproject +EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3/wolfssl/.project +EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3/wolfssl/configuration.xml + +EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3/README.md +EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3G/README.md diff --git a/IDE/Renesas/e2studio/RA6M3G/server-wolfssl/.cproject b/IDE/Renesas/e2studio/RA6M3/server-wolfssl/.cproject similarity index 99% rename from IDE/Renesas/e2studio/RA6M3G/server-wolfssl/.cproject rename to IDE/Renesas/e2studio/RA6M3/server-wolfssl/.cproject index 402e450b8..d3facb3e4 100644 --- a/IDE/Renesas/e2studio/RA6M3G/server-wolfssl/.cproject +++ b/IDE/Renesas/e2studio/RA6M3/server-wolfssl/.cproject @@ -1,320 +1,320 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/IDE/Renesas/e2studio/RA6M3G/server-wolfssl/.project b/IDE/Renesas/e2studio/RA6M3/server-wolfssl/.project similarity index 96% rename from IDE/Renesas/e2studio/RA6M3G/server-wolfssl/.project rename to IDE/Renesas/e2studio/RA6M3/server-wolfssl/.project index 70c1bd5f9..6f46aaf5a 100644 --- a/IDE/Renesas/e2studio/RA6M3G/server-wolfssl/.project +++ b/IDE/Renesas/e2studio/RA6M3/server-wolfssl/.project @@ -1,60 +1,60 @@ - - - server_wolfSSL_RA6M3G - - - - - - org.eclipse.xtext.ui.shared.xtextBuilder - - - - - org.eclipse.cdt.managedbuilder.core.genmakebuilder - clean,full,incremental, - - - - - org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder - full,incremental, - - - - - - org.eclipse.cdt.core.cnature - com.renesas.cdt.ra.contentgen.raExecutableNature - org.eclipse.cdt.managedbuilder.core.managedBuildNature - org.eclipse.cdt.managedbuilder.core.ScannerConfigNature - org.eclipse.xtext.ui.shared.xtextNature - - - - common/user_settings.h - 1 - PARENT-1-PROJECT_LOC/common/user_settings.h - - - common/util.h - 1 - PARENT-1-PROJECT_LOC/common/util.h - - - script/ra6m3.ld - 1 - PARENT-1-PROJECT_LOC/common/ra6m3g/script/ra6m3.ld - - - src/hal_entry.c - 1 - PARENT-1-PROJECT_LOC/common/ra6m3g/src/hal_entry.c - - - common/src/freertos_tcp_port.c - 1 - PARENT-1-PROJECT_LOC/common/src/freertos_tcp_port.c - - - + + + server_wolfSSL_RA6M3G + + + + + + org.eclipse.xtext.ui.shared.xtextBuilder + + + + + org.eclipse.cdt.managedbuilder.core.genmakebuilder + clean,full,incremental, + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + org.eclipse.cdt.core.cnature + com.renesas.cdt.ra.contentgen.raExecutableNature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + org.eclipse.xtext.ui.shared.xtextNature + + + + common/user_settings.h + 1 + PARENT-1-PROJECT_LOC/common/user_settings.h + + + common/util.h + 1 + PARENT-1-PROJECT_LOC/common/util.h + + + script/ra6m3.ld + 1 + PARENT-1-PROJECT_LOC/common/ra6m3g/script/ra6m3.ld + + + src/hal_entry.c + 1 + PARENT-1-PROJECT_LOC/common/ra6m3g/src/hal_entry.c + + + common/src/freertos_tcp_port.c + 1 + PARENT-1-PROJECT_LOC/common/src/freertos_tcp_port.c + + + diff --git a/IDE/Renesas/e2studio/RA6M3G/server-wolfssl/common/src/.gitkeep b/IDE/Renesas/e2studio/RA6M3/server-wolfssl/common/src/.gitkeep similarity index 100% rename from IDE/Renesas/e2studio/RA6M3G/server-wolfssl/common/src/.gitkeep rename to IDE/Renesas/e2studio/RA6M3/server-wolfssl/common/src/.gitkeep diff --git a/IDE/Renesas/e2studio/RA6M3G/server-wolfssl/script/.gitkeep b/IDE/Renesas/e2studio/RA6M3/server-wolfssl/script/.gitkeep similarity index 100% rename from IDE/Renesas/e2studio/RA6M3G/server-wolfssl/script/.gitkeep rename to IDE/Renesas/e2studio/RA6M3/server-wolfssl/script/.gitkeep diff --git a/IDE/Renesas/e2studio/RA6M3G/server-wolfssl/src/wolfssl_thread_entry.c b/IDE/Renesas/e2studio/RA6M3/server-wolfssl/src/wolfssl_thread_entry.c similarity index 100% rename from IDE/Renesas/e2studio/RA6M3G/server-wolfssl/src/wolfssl_thread_entry.c rename to IDE/Renesas/e2studio/RA6M3/server-wolfssl/src/wolfssl_thread_entry.c diff --git a/IDE/Renesas/e2studio/RA6M3G/server-wolfssl/wolfssl_thread_entry.h b/IDE/Renesas/e2studio/RA6M3/server-wolfssl/wolfssl_thread_entry.h similarity index 100% rename from IDE/Renesas/e2studio/RA6M3G/server-wolfssl/wolfssl_thread_entry.h rename to IDE/Renesas/e2studio/RA6M3/server-wolfssl/wolfssl_thread_entry.h diff --git a/IDE/Renesas/e2studio/RA6M3G/test-wolfcrypt/.cproject b/IDE/Renesas/e2studio/RA6M3/test-wolfcrypt/.cproject similarity index 99% rename from IDE/Renesas/e2studio/RA6M3G/test-wolfcrypt/.cproject rename to IDE/Renesas/e2studio/RA6M3/test-wolfcrypt/.cproject index bfcbafd28..a9a4031bb 100644 --- a/IDE/Renesas/e2studio/RA6M3G/test-wolfcrypt/.cproject +++ b/IDE/Renesas/e2studio/RA6M3/test-wolfcrypt/.cproject @@ -1,305 +1,305 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/IDE/Renesas/e2studio/RA6M3G/test-wolfcrypt/.project b/IDE/Renesas/e2studio/RA6M3/test-wolfcrypt/.project similarity index 96% rename from IDE/Renesas/e2studio/RA6M3G/test-wolfcrypt/.project rename to IDE/Renesas/e2studio/RA6M3/test-wolfcrypt/.project index 507e93cab..b584e42ee 100644 --- a/IDE/Renesas/e2studio/RA6M3G/test-wolfcrypt/.project +++ b/IDE/Renesas/e2studio/RA6M3/test-wolfcrypt/.project @@ -1,54 +1,54 @@ - - - test_wolfCrypt_RA6M3G - - - - - - org.eclipse.cdt.managedbuilder.core.genmakebuilder - clean,full,incremental, - - - - - org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder - full,incremental, - - - - - - org.eclipse.cdt.core.cnature - com.renesas.cdt.ra.contentgen.raExecutableNature - org.eclipse.cdt.managedbuilder.core.managedBuildNature - org.eclipse.cdt.managedbuilder.core.ScannerConfigNature - - - - common/user_settings.h - 1 - PARENT-1-PROJECT_LOC/common/user_settings.h - - - common/util.h - 1 - PARENT-1-PROJECT_LOC/common/util.h - - - script/ra6m3.ld - 1 - PARENT-1-PROJECT_LOC/common/ra6m3g/script/ra6m3.ld - - - src/hal_entry.c - 1 - PARENT-1-PROJECT_LOC/common/ra6m3g/src/hal_entry.c - - - src/test.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/test/test.c - - - + + + test_wolfCrypt_RA6M3G + + + + + + org.eclipse.cdt.managedbuilder.core.genmakebuilder + clean,full,incremental, + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + org.eclipse.cdt.core.cnature + com.renesas.cdt.ra.contentgen.raExecutableNature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + + + + common/user_settings.h + 1 + PARENT-1-PROJECT_LOC/common/user_settings.h + + + common/util.h + 1 + PARENT-1-PROJECT_LOC/common/util.h + + + script/ra6m3.ld + 1 + PARENT-1-PROJECT_LOC/common/ra6m3g/script/ra6m3.ld + + + src/hal_entry.c + 1 + PARENT-1-PROJECT_LOC/common/ra6m3g/src/hal_entry.c + + + src/test.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/test/test.c + + + diff --git a/IDE/Renesas/e2studio/RA6M3G/test-wolfcrypt/common/.gitkeep b/IDE/Renesas/e2studio/RA6M3/test-wolfcrypt/common/.gitkeep similarity index 100% rename from IDE/Renesas/e2studio/RA6M3G/test-wolfcrypt/common/.gitkeep rename to IDE/Renesas/e2studio/RA6M3/test-wolfcrypt/common/.gitkeep diff --git a/IDE/Renesas/e2studio/RA6M3G/test-wolfcrypt/script/.gitkeep b/IDE/Renesas/e2studio/RA6M3/test-wolfcrypt/script/.gitkeep similarity index 100% rename from IDE/Renesas/e2studio/RA6M3G/test-wolfcrypt/script/.gitkeep rename to IDE/Renesas/e2studio/RA6M3/test-wolfcrypt/script/.gitkeep diff --git a/IDE/Renesas/e2studio/RA6M3G/test-wolfcrypt/src/wolfssl_thread_entry.c b/IDE/Renesas/e2studio/RA6M3/test-wolfcrypt/src/wolfssl_thread_entry.c similarity index 97% rename from IDE/Renesas/e2studio/RA6M3G/test-wolfcrypt/src/wolfssl_thread_entry.c rename to IDE/Renesas/e2studio/RA6M3/test-wolfcrypt/src/wolfssl_thread_entry.c index 257a1d479..96629a8ba 100644 --- a/IDE/Renesas/e2studio/RA6M3G/test-wolfcrypt/src/wolfssl_thread_entry.c +++ b/IDE/Renesas/e2studio/RA6M3/test-wolfcrypt/src/wolfssl_thread_entry.c @@ -1,32 +1,32 @@ -/* wolfssl_thread_entry.c - * - * Copyright (C) 2006-2020 wolfSSL Inc. - * - * This file is part of wolfSSL. - * - * wolfSSL is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * wolfSSL is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA - */ - -#include -#include "wolfcrypt/test/test.h" - -void wolfssl_thread_entry(void* pvParameters) -{ - FSP_PARAMETER_NOT_USED (pvParameters); - /* Benchmark output is displayed to Renesas Debug Virtual Console */ - initialise_monitor_handles(); - wolfcrypt_test(0); - while(1); -} +/* wolfssl_thread_entry.c + * + * Copyright (C) 2006-2020 wolfSSL Inc. + * + * This file is part of wolfSSL. + * + * wolfSSL is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * wolfSSL is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA + */ + +#include +#include "wolfcrypt/test/test.h" + +void wolfssl_thread_entry(void* pvParameters) +{ + FSP_PARAMETER_NOT_USED (pvParameters); + /* Benchmark output is displayed to Renesas Debug Virtual Console */ + initialise_monitor_handles(); + wolfcrypt_test(0); + while(1); +} diff --git a/IDE/Renesas/e2studio/RA6M3G/wolfssl/.cproject b/IDE/Renesas/e2studio/RA6M3/wolfssl/.cproject similarity index 99% rename from IDE/Renesas/e2studio/RA6M3G/wolfssl/.cproject rename to IDE/Renesas/e2studio/RA6M3/wolfssl/.cproject index a28b9e11d..742c3af04 100644 --- a/IDE/Renesas/e2studio/RA6M3G/wolfssl/.cproject +++ b/IDE/Renesas/e2studio/RA6M3/wolfssl/.cproject @@ -1,334 +1,334 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/IDE/Renesas/e2studio/RA6M3G/wolfssl/.project b/IDE/Renesas/e2studio/RA6M3/wolfssl/.project similarity index 96% rename from IDE/Renesas/e2studio/RA6M3G/wolfssl/.project rename to IDE/Renesas/e2studio/RA6M3/wolfssl/.project index c3fda822f..a72156181 100644 --- a/IDE/Renesas/e2studio/RA6M3G/wolfssl/.project +++ b/IDE/Renesas/e2studio/RA6M3/wolfssl/.project @@ -1,554 +1,554 @@ - - - wolfSSL_RA6M3G - - - - - - com.renesas.cdt.ra.contentgen.raBuilder - - - - - org.eclipse.cdt.managedbuilder.core.genmakebuilder - clean,full,incremental, - - - - - org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder - full,incremental, - - - - - - org.eclipse.cdt.core.cnature - org.eclipse.cdt.managedbuilder.core.managedBuildNature - org.eclipse.cdt.managedbuilder.core.ScannerConfigNature - com.renesas.cdt.ra.contentgen.raNature - - - - src/bio.c - 1 - PARENT-5-PROJECT_LOC/src/bio.c - - - src/crl.c - 1 - PARENT-5-PROJECT_LOC/src/crl.c - - - src/include.am - 1 - PARENT-5-PROJECT_LOC/src/include.am - - - src/internal.c - 1 - PARENT-5-PROJECT_LOC/src/internal.c - - - src/keys.c - 1 - PARENT-5-PROJECT_LOC/src/keys.c - - - src/ocsp.c - 1 - PARENT-5-PROJECT_LOC/src/ocsp.c - - - src/sniffer.c - 1 - PARENT-5-PROJECT_LOC/src/sniffer.c - - - src/ssl.c - 1 - PARENT-5-PROJECT_LOC/src/ssl.c - - - src/tls.c - 1 - PARENT-5-PROJECT_LOC/src/tls.c - - - src/tls13.c - 1 - PARENT-5-PROJECT_LOC/src/tls13.c - - - src/wolfio.c - 1 - PARENT-5-PROJECT_LOC/src/wolfio.c - - - wolfcrypt/aes.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/aes.c - - - wolfcrypt/arc4.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/arc4.c - - - wolfcrypt/asm.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/asm.c - - - wolfcrypt/asn.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/asn.c - - - wolfcrypt/blake2b.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/blake2b.c - - - wolfcrypt/blake2s.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/blake2s.c - - - wolfcrypt/camellia.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/camellia.c - - - wolfcrypt/chacha.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/chacha.c - - - wolfcrypt/chacha20_poly1305.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/chacha20_poly1305.c - - - wolfcrypt/cmac.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/cmac.c - - - wolfcrypt/coding.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/coding.c - - - wolfcrypt/compress.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/compress.c - - - wolfcrypt/cpuid.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/cpuid.c - - - wolfcrypt/cryptocb.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/cryptocb.c - - - wolfcrypt/curve25519.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/curve25519.c - - - wolfcrypt/des3.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/des3.c - - - wolfcrypt/dh.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/dh.c - - - wolfcrypt/dsa.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/dsa.c - - - wolfcrypt/ecc.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/ecc.c - - - wolfcrypt/ecc_fp.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/ecc_fp.c - - - wolfcrypt/ed25519.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/ed25519.c - - - wolfcrypt/error.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/error.c - - - wolfcrypt/evp.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/evp.c - - - wolfcrypt/fe_low_mem.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/fe_low_mem.c - - - wolfcrypt/fe_operations.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/fe_operations.c - - - wolfcrypt/ge_low_mem.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/ge_low_mem.c - - - wolfcrypt/ge_operations.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/ge_operations.c - - - wolfcrypt/hash.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/hash.c - - - wolfcrypt/hc128.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/hc128.c - - - wolfcrypt/hmac.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/hmac.c - - - wolfcrypt/idea.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/idea.c - - - wolfcrypt/include.am - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/include.am - - - wolfcrypt/integer.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/integer.c - - - wolfcrypt/logging.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/logging.c - - - wolfcrypt/md2.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/md2.c - - - wolfcrypt/md4.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/md4.c - - - wolfcrypt/md5.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/md5.c - - - wolfcrypt/memory.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/memory.c - - - wolfcrypt/misc.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/misc.c - - - wolfcrypt/pkcs12.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/pkcs12.c - - - wolfcrypt/pkcs7.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/pkcs7.c - - - wolfcrypt/poly1305.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/poly1305.c - - - wolfcrypt/port - 2 - virtual:/virtual - - - wolfcrypt/pwdbased.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/pwdbased.c - - - wolfcrypt/rabbit.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/rabbit.c - - - wolfcrypt/random.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/random.c - - - wolfcrypt/ripemd.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/ripemd.c - - - wolfcrypt/rsa.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/rsa.c - - - wolfcrypt/sha.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/sha.c - - - wolfcrypt/sha256.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/sha256.c - - - wolfcrypt/sha3.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/sha3.c - - - wolfcrypt/sha512.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/sha512.c - - - wolfcrypt/signature.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/signature.c - - - wolfcrypt/sp_arm32.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/sp_arm32.c - - - wolfcrypt/sp_arm64.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/sp_arm64.c - - - wolfcrypt/sp_armthumb.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/sp_armthumb.c - - - wolfcrypt/sp_c32.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/sp_c32.c - - - wolfcrypt/sp_c64.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/sp_c64.c - - - wolfcrypt/sp_cortexm.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/sp_cortexm.c - - - wolfcrypt/sp_int.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/sp_int.c - - - wolfcrypt/sp_x86_64.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/sp_x86_64.c - - - wolfcrypt/srp.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/srp.c - - - wolfcrypt/tfm.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/tfm.c - - - wolfcrypt/wc_encrypt.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/wc_encrypt.c - - - wolfcrypt/wc_pkcs11.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/wc_pkcs11.c - - - wolfcrypt/wc_port.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/wc_port.c - - - wolfcrypt/wolfevent.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/wolfevent.c - - - wolfcrypt/wolfmath.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/wolfmath.c - - - wolfcrypt/port/Renesas - 2 - virtual:/virtual - - - wolfcrypt/port/af_alg - 2 - virtual:/virtual - - - wolfcrypt/port/arm - 2 - virtual:/virtual - - - wolfcrypt/port/Renesas/README.md - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/port/Renesas/README.md - - - wolfcrypt/port/Renesas/renesas_tsip_aes.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/port/Renesas/renesas_tsip_aes.c - - - wolfcrypt/port/Renesas/renesas_tsip_sha.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/port/Renesas/renesas_tsip_sha.c - - - wolfcrypt/port/Renesas/renesas_tsip_util.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/port/Renesas/renesas_tsip_util.c - - - wolfcrypt/port/af_alg/afalg_aes.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/port/af_alg/afalg_aes.c - - - wolfcrypt/port/af_alg/afalg_hash.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/port/af_alg/afalg_hash.c - - - wolfcrypt/port/af_alg/wc_afalg.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/port/af_alg/wc_afalg.c - - - wolfcrypt/port/arm/armv8-32-curve25519.S - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/port/arm/armv8-32-curve25519.S - - - wolfcrypt/port/arm/armv8-32-curve25519.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/port/arm/armv8-32-curve25519.c - - - wolfcrypt/port/arm/armv8-32-sha512-asm.S - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/port/arm/armv8-32-sha512-asm.S - - - wolfcrypt/port/arm/armv8-32-sha512-asm.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/port/arm/armv8-32-sha512-asm.c - - - wolfcrypt/port/arm/armv8-aes.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/port/arm/armv8-aes.c - - - wolfcrypt/port/arm/armv8-chacha.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/port/arm/armv8-chacha.c - - - wolfcrypt/port/arm/armv8-curve25519.S - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/port/arm/armv8-curve25519.S - - - wolfcrypt/port/arm/armv8-curve25519.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/port/arm/armv8-curve25519.c - - - wolfcrypt/port/arm/armv8-poly1305.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/port/arm/armv8-poly1305.c - - - wolfcrypt/port/arm/armv8-sha256.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/port/arm/armv8-sha256.c - - - wolfcrypt/port/arm/armv8-sha512-asm.S - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/port/arm/armv8-sha512-asm.S - - - wolfcrypt/port/arm/armv8-sha512-asm.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/port/arm/armv8-sha512-asm.c - - - wolfcrypt/port/arm/armv8-sha512.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/port/arm/armv8-sha512.c - - - wolfcrypt/port/arm/cryptoCell.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/port/arm/cryptoCell.c - - - wolfcrypt/port/arm/cryptoCellHash.c - 1 - PARENT-5-PROJECT_LOC/wolfcrypt/src/port/arm/cryptoCellHash.c - - - + + + wolfSSL_RA6M3G + + + + + + com.renesas.cdt.ra.contentgen.raBuilder + + + + + org.eclipse.cdt.managedbuilder.core.genmakebuilder + clean,full,incremental, + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + org.eclipse.cdt.core.cnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + com.renesas.cdt.ra.contentgen.raNature + + + + src/bio.c + 1 + PARENT-5-PROJECT_LOC/src/bio.c + + + src/crl.c + 1 + PARENT-5-PROJECT_LOC/src/crl.c + + + src/include.am + 1 + PARENT-5-PROJECT_LOC/src/include.am + + + src/internal.c + 1 + PARENT-5-PROJECT_LOC/src/internal.c + + + src/keys.c + 1 + PARENT-5-PROJECT_LOC/src/keys.c + + + src/ocsp.c + 1 + PARENT-5-PROJECT_LOC/src/ocsp.c + + + src/sniffer.c + 1 + PARENT-5-PROJECT_LOC/src/sniffer.c + + + src/ssl.c + 1 + PARENT-5-PROJECT_LOC/src/ssl.c + + + src/tls.c + 1 + PARENT-5-PROJECT_LOC/src/tls.c + + + src/tls13.c + 1 + PARENT-5-PROJECT_LOC/src/tls13.c + + + src/wolfio.c + 1 + PARENT-5-PROJECT_LOC/src/wolfio.c + + + wolfcrypt/aes.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/aes.c + + + wolfcrypt/arc4.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/arc4.c + + + wolfcrypt/asm.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/asm.c + + + wolfcrypt/asn.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/asn.c + + + wolfcrypt/blake2b.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/blake2b.c + + + wolfcrypt/blake2s.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/blake2s.c + + + wolfcrypt/camellia.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/camellia.c + + + wolfcrypt/chacha.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/chacha.c + + + wolfcrypt/chacha20_poly1305.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/chacha20_poly1305.c + + + wolfcrypt/cmac.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/cmac.c + + + wolfcrypt/coding.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/coding.c + + + wolfcrypt/compress.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/compress.c + + + wolfcrypt/cpuid.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/cpuid.c + + + wolfcrypt/cryptocb.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/cryptocb.c + + + wolfcrypt/curve25519.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/curve25519.c + + + wolfcrypt/des3.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/des3.c + + + wolfcrypt/dh.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/dh.c + + + wolfcrypt/dsa.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/dsa.c + + + wolfcrypt/ecc.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/ecc.c + + + wolfcrypt/ecc_fp.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/ecc_fp.c + + + wolfcrypt/ed25519.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/ed25519.c + + + wolfcrypt/error.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/error.c + + + wolfcrypt/evp.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/evp.c + + + wolfcrypt/fe_low_mem.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/fe_low_mem.c + + + wolfcrypt/fe_operations.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/fe_operations.c + + + wolfcrypt/ge_low_mem.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/ge_low_mem.c + + + wolfcrypt/ge_operations.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/ge_operations.c + + + wolfcrypt/hash.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/hash.c + + + wolfcrypt/hc128.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/hc128.c + + + wolfcrypt/hmac.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/hmac.c + + + wolfcrypt/idea.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/idea.c + + + wolfcrypt/include.am + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/include.am + + + wolfcrypt/integer.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/integer.c + + + wolfcrypt/logging.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/logging.c + + + wolfcrypt/md2.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/md2.c + + + wolfcrypt/md4.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/md4.c + + + wolfcrypt/md5.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/md5.c + + + wolfcrypt/memory.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/memory.c + + + wolfcrypt/misc.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/misc.c + + + wolfcrypt/pkcs12.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/pkcs12.c + + + wolfcrypt/pkcs7.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/pkcs7.c + + + wolfcrypt/poly1305.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/poly1305.c + + + wolfcrypt/port + 2 + virtual:/virtual + + + wolfcrypt/pwdbased.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/pwdbased.c + + + wolfcrypt/rabbit.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/rabbit.c + + + wolfcrypt/random.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/random.c + + + wolfcrypt/ripemd.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/ripemd.c + + + wolfcrypt/rsa.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/rsa.c + + + wolfcrypt/sha.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/sha.c + + + wolfcrypt/sha256.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/sha256.c + + + wolfcrypt/sha3.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/sha3.c + + + wolfcrypt/sha512.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/sha512.c + + + wolfcrypt/signature.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/signature.c + + + wolfcrypt/sp_arm32.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/sp_arm32.c + + + wolfcrypt/sp_arm64.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/sp_arm64.c + + + wolfcrypt/sp_armthumb.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/sp_armthumb.c + + + wolfcrypt/sp_c32.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/sp_c32.c + + + wolfcrypt/sp_c64.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/sp_c64.c + + + wolfcrypt/sp_cortexm.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/sp_cortexm.c + + + wolfcrypt/sp_int.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/sp_int.c + + + wolfcrypt/sp_x86_64.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/sp_x86_64.c + + + wolfcrypt/srp.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/srp.c + + + wolfcrypt/tfm.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/tfm.c + + + wolfcrypt/wc_encrypt.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/wc_encrypt.c + + + wolfcrypt/wc_pkcs11.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/wc_pkcs11.c + + + wolfcrypt/wc_port.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/wc_port.c + + + wolfcrypt/wolfevent.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/wolfevent.c + + + wolfcrypt/wolfmath.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/wolfmath.c + + + wolfcrypt/port/Renesas + 2 + virtual:/virtual + + + wolfcrypt/port/af_alg + 2 + virtual:/virtual + + + wolfcrypt/port/arm + 2 + virtual:/virtual + + + wolfcrypt/port/Renesas/README.md + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/port/Renesas/README.md + + + wolfcrypt/port/Renesas/renesas_tsip_aes.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/port/Renesas/renesas_tsip_aes.c + + + wolfcrypt/port/Renesas/renesas_tsip_sha.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/port/Renesas/renesas_tsip_sha.c + + + wolfcrypt/port/Renesas/renesas_tsip_util.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/port/Renesas/renesas_tsip_util.c + + + wolfcrypt/port/af_alg/afalg_aes.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/port/af_alg/afalg_aes.c + + + wolfcrypt/port/af_alg/afalg_hash.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/port/af_alg/afalg_hash.c + + + wolfcrypt/port/af_alg/wc_afalg.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/port/af_alg/wc_afalg.c + + + wolfcrypt/port/arm/armv8-32-curve25519.S + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/port/arm/armv8-32-curve25519.S + + + wolfcrypt/port/arm/armv8-32-curve25519.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/port/arm/armv8-32-curve25519.c + + + wolfcrypt/port/arm/armv8-32-sha512-asm.S + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/port/arm/armv8-32-sha512-asm.S + + + wolfcrypt/port/arm/armv8-32-sha512-asm.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/port/arm/armv8-32-sha512-asm.c + + + wolfcrypt/port/arm/armv8-aes.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/port/arm/armv8-aes.c + + + wolfcrypt/port/arm/armv8-chacha.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/port/arm/armv8-chacha.c + + + wolfcrypt/port/arm/armv8-curve25519.S + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/port/arm/armv8-curve25519.S + + + wolfcrypt/port/arm/armv8-curve25519.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/port/arm/armv8-curve25519.c + + + wolfcrypt/port/arm/armv8-poly1305.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/port/arm/armv8-poly1305.c + + + wolfcrypt/port/arm/armv8-sha256.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/port/arm/armv8-sha256.c + + + wolfcrypt/port/arm/armv8-sha512-asm.S + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/port/arm/armv8-sha512-asm.S + + + wolfcrypt/port/arm/armv8-sha512-asm.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/port/arm/armv8-sha512-asm.c + + + wolfcrypt/port/arm/armv8-sha512.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/port/arm/armv8-sha512.c + + + wolfcrypt/port/arm/cryptoCell.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/port/arm/cryptoCell.c + + + wolfcrypt/port/arm/cryptoCellHash.c + 1 + PARENT-5-PROJECT_LOC/wolfcrypt/src/port/arm/cryptoCellHash.c + + + diff --git a/IDE/Renesas/e2studio/RA6M3G/wolfssl/configuration.xml b/IDE/Renesas/e2studio/RA6M3/wolfssl/configuration.xml similarity index 98% rename from IDE/Renesas/e2studio/RA6M3G/wolfssl/configuration.xml rename to IDE/Renesas/e2studio/RA6M3/wolfssl/configuration.xml index 8a0c408b9..51a1efe71 100644 --- a/IDE/Renesas/e2studio/RA6M3G/wolfssl/configuration.xml +++ b/IDE/Renesas/e2studio/RA6M3/wolfssl/configuration.xml @@ -1,368 +1,368 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - I/O Port - Renesas.RA.0.8.0.pack - - - Board Support Package Common Files - Renesas.RA.0.8.0.pack - - - Arm CMSIS Version 5 - Core (M) - Arm.CMSIS5.5.5.1.pack - - - Amazon FreeRTOS - Amazon.AWS.0.8.0.pack - - - RA6M3G-EK Board Support Files - Renesas.RA_board_ra6m3g_ek.0.8.0.pack - - - Board support package for R7FA6M3AH3CFC - Renesas.RA_mcu_ra6m3.0.8.0.pack - - - Board support package for RA6M3 - Renesas.RA_mcu_ra6m3.0.8.0.pack - - - Board support package for RA6M3 - Renesas.RA_mcu_ra6m3.0.8.0.pack - - - Amazon FreeRTOS - Memory Management - Heap 4 - Amazon.AWS.0.8.0.pack - - - r_ether to FreeRTOS+TCP Wrapper - Renesas.RA.0.8.0.pack - - - Ethernet - Renesas.RA.0.8.0.pack - - - Ethernet PHY - Renesas.RA.0.8.0.pack - - - FreeRTOS+TCP - Amazon.AWS.0.8.0.pack - - - Amazon FreeRTOS - Buffer Allocation 2 - Amazon.AWS.0.8.0.pack - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + I/O Port + Renesas.RA.0.8.0.pack + + + Board Support Package Common Files + Renesas.RA.0.8.0.pack + + + Arm CMSIS Version 5 - Core (M) + Arm.CMSIS5.5.5.1.pack + + + Amazon FreeRTOS + Amazon.AWS.0.8.0.pack + + + RA6M3G-EK Board Support Files + Renesas.RA_board_ra6m3g_ek.0.8.0.pack + + + Board support package for R7FA6M3AH3CFC + Renesas.RA_mcu_ra6m3.0.8.0.pack + + + Board support package for RA6M3 + Renesas.RA_mcu_ra6m3.0.8.0.pack + + + Board support package for RA6M3 + Renesas.RA_mcu_ra6m3.0.8.0.pack + + + Amazon FreeRTOS - Memory Management - Heap 4 + Amazon.AWS.0.8.0.pack + + + r_ether to FreeRTOS+TCP Wrapper + Renesas.RA.0.8.0.pack + + + Ethernet + Renesas.RA.0.8.0.pack + + + Ethernet PHY + Renesas.RA.0.8.0.pack + + + FreeRTOS+TCP + Amazon.AWS.0.8.0.pack + + + Amazon FreeRTOS - Buffer Allocation 2 + Amazon.AWS.0.8.0.pack + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/IDE/Renesas/e2studio/RA6M3G/wolfssl/src/.gitkeep b/IDE/Renesas/e2studio/RA6M3/wolfssl/src/.gitkeep similarity index 100% rename from IDE/Renesas/e2studio/RA6M3G/wolfssl/src/.gitkeep rename to IDE/Renesas/e2studio/RA6M3/wolfssl/src/.gitkeep diff --git a/IDE/Renesas/e2studio/RA6M3G/wolfssl/wolfcrypt/.gitkeep b/IDE/Renesas/e2studio/RA6M3/wolfssl/wolfcrypt/.gitkeep similarity index 100% rename from IDE/Renesas/e2studio/RA6M3G/wolfssl/wolfcrypt/.gitkeep rename to IDE/Renesas/e2studio/RA6M3/wolfssl/wolfcrypt/.gitkeep diff --git a/IDE/Renesas/e2studio/RA6M3G/README.md b/IDE/Renesas/e2studio/RA6M3G/README.md index 03170ffb9..7aab27b8f 100644 --- a/IDE/Renesas/e2studio/RA6M3G/README.md +++ b/IDE/Renesas/e2studio/RA6M3G/README.md @@ -1,175 +1 @@ -wolfSSL for Renesas RA Evaluation Kit (EK-RA6M3G) -================================================= - -## Description - -This directory contains e2studio projects targeted at the Renesas RA 32-bit MCUs.\ -The example projects include a wolfSSL TLS 1.2 client and server.\ -They also include benchmark and cryptography tests for the wolfCrypt library. - -The wolfssl project contains both the wolfSSL and wolfCrypt libraries.\ -It is built as a `Renesas RA C Library Project` and contains the Renesas RA\ -configuration. - -The other projects (benchmark, client, server and test) are built as a\ -`Renesas RA C Project Using RA Library`, where the RA library is the wolfssl project.\ -The wolfssl Project Summary is listed below and is relevant for every project. - -#### Project Summary - -`Board: EK-RA6M3G`\ -`Device: R7FA6M3AH3CFC`\ -`Toolchain: GCC ARM Embedded`\ -`FSP Version: 0.8.0` - -##### Selected software components - -`Board Support Package Common Files v0.8.0`\ -`Arm CMSIS Version 5 - Core (M) v5.5.1`\ -`Amazon FreeRTOS v0.8.0`\ -`RA6M3G-EK Board Support Files v0.8.0`\ -`Board support package for R7FA6M3AH3CFC v0.8.0`\ -`Board support package for RA6M3 v0.8.0`\ -`Board support package for RA6M3 v0.8.0`\ -`Amazon FreeRTOS - Memory Management - Heap 4 v0.8.0`\ -`r_ether to FreeRTOS+TCP Wrapper v0.8.0`\ -`Ethernet v0.8.0`\ -`Ethernet PHY v0.8.0`\ -`FreeRTOS+TCP v0.8.0`\ -`Amazon FreeRTOS - Buffer Allocation 2 v0.8.0` - - -## Setup Steps - -The project directories are missing files necessary to build the project.\ -These files can be generated when creating a new Renesas RA Project.\ -The following steps explain how to generate the missing files and where to place them. - -1.) Create a 'dummy' Renesas RA C Library Project. - + Click File->New->`RA C/C++ Project` - + Click `Renesas RA C Library Project`. Click Next - + Enter `dummy_library` as the project name. Click Next. - + Under `Board: Custom User Board`, select `EK-RA6M3G`. - + Under `RTOS: No RTOS`, select `Amazon FreeRTOS`. - + Click Next. Select `Amazon FreeRTOS - Minimal - Static Allocation` - + Click Finish. - -2.) Create a 'dummy' Renesas RA C Project Using RA Library. - + Click File->New->`RA C/C++ Project` - + Click `Renesas RA C Project Using RA Library`. Click Next - + Enter `dummy_app` as the project name. Click Next. - + Under `RA library project`, select `dummy_library`. - + Click Finish. - -3.) Import all the wolfSSL Projects into e2studio workspace. - + Click File->`Open Projects from File System` - + Click `Directory...` to the right of Import source - + Select the RA6M3G folder location that contains the projects\ - example path: wolfssl/IDE/Renesas/e2studio/RA6M3G - + Deselect the Non-Eclipse project, RA6M3G, by clicking the checkbox\ - Only the folders with 'Eclipse project' under 'Import as' need to be selected. - + Click Finish. - -4.) Copy files from `dummy_library` into `wolfSSL_RA6M3G` - + Expand the dummy_library and wolfSSL_RA6M3G projects\ - (Click the drop-down arrow to the left of the project name.) - + Select and Copy the following folders/files inside dummy_library\ -` ra/`\ -` ra_gen/`\ -` ra_cfg/`\ -` script/`\ -` R7FA6M3AH3CFC.pincfg`\ -` RA6M3G-EK.pingcfg` - + Paste the copied folders/files into wolfSSL_RA6M3G - + The `dummy_library` project can now be deleted. - + Generate Project Content. - + Click `Open RA Configuration` in the top bar (Grey Settings Cog) - + Click `Generate Project Content` at top right (Green Icon) - + Build wolfSSL_RA6M3G. - -5.) Copy files from `dummy_app` into `./IDE/Renesas/e2studio/RA6M3G/common/ra6m3g/`\ - **NOTE:** This may need to be done outside of the e2studio environment (e.g. File Explorer). - + Select and Copy the followng folder inside dummy_app\ -` src/`\ -` script/` - + Paste the copied folders into `./IDE/Renesas/e2studio/RA6M3G/common/ra6m3g/`\ -` (The test, benchmark, client and server projects link to this folder.)` - + The `dummy_app` project can now be deleted. - -6.) Setup Network Environment - - The client and server projects have defines inside their wolfssl_thread_entry.h. - These defines (ucIPAddress ... ucDNSServerAddress) may need to be changed - based on your internal network environment. The g_ether0_mac_address is the default - mac address found inside the RA configuration inside the wolfssl project. - The client wolfssl_thread_entry.h has defines (SERVER_IP and DEFAULT_PORT) that - will need to be changed based on the server you're trying to connect to over - the ethernet connection. - -## Build and Run - -### Build Each Project -Right-Click each Project and select Build. - -### Run wolfCrypt Test and Benchmark -1.) Right-Click the Project name.\ -2.) Select `Debug As` -> `Renesas GDB Hardware Debugging`\ -3.) Select J-Link ARM. Click OK.\ -4.) Select R7Fa6M3AH. Click OK. - -### Run the wolfSSL TLS Server Example. -1.) Right-Click the Project name.\ -2.) Select `Debug As` -> `Renesas GDB Hardware Debugging`\ -3.) Select J-Link ARM. Click OK.\ -4.) Select R7Fa6M3AH. Click OK.\ -5.) Run the following wolfSSL example client command inside the base of the wolfssl directory. - -``` -./examples/client/client -h "ucIPAddress" -p 11111 -A ./certs/1024/ca-cert.pem -``` -**NOTE:** "ucIPAddress" is "192.168.1.241" by default. (See wolfssl_thread_entry.h) - -### Run the wolfSSL TLS Client Example. - 1.) Run the following wolfSSL example server command inside the base of the wolfssl directory. - -``` -./examples/server/server -b -d -p 11111 -c ./certs/1024/server-cert.pem -k ./certs/1024/server-key.pem -``` -**NOTE:** The port 11111 is the DEFAULT_PORT inside wolfssl_thread_entry.h.\ -If DEFAULT_PORT was changed then the above command will need to match it. - - 2.) Right-Click the Project name.\ - 3.) Select `Debug As` -> `Renesas GDB Hardware Debugging`\ - 4.) Select J-Link ARM. Click OK.\ - 5.) Select R7Fa6M3AH. Click OK. - - -## Troubleshooting - -* The commands for the example client/server assumes it is being run from the - base directory of wolfssl. - -* Enter "#define DEBUG_WOLFSSL" inside user_settings.h or wolfssl_thread_entry.c\ - to enable wolfssl debug messages to the Renesas Virtual Debug Console. - -* Some linking errors can be caused by the e2studio project files needing to be rebuilt and freshened. -Right-Click a project, select Index, click Rebuild and then click Freshen Files. Repeat for each project. - -[Support Forum](https://www.wolfssl.com/forums/) - -Support Email: support@wolfssl.com - - -## Resources - -[wolfSSL Website](https://www.wolfssl.com/) - -[wolfSSL Wiki](https://github.com/wolfSSL/wolfssl/wiki) - -[wolfSSL Manual](https://wolfssl.com/wolfSSL/Docs-wolfssl-manual-toc.html) - -[wolfSSL API Reference](https://wolfssl.com/wolfSSL/Docs-wolfssl-manual-17-wolfssl-api-reference.html) - -[wolfCrypt API Reference](https://wolfssl.com/wolfSSL/Docs-wolfssl-manual-18-wolfcrypt-api-reference.html) - -[TLS 1.3](https://www.wolfssl.com/docs/tls13/) +[Moved to ../RA6M3/README.md](../RA6M3/README.md) diff --git a/IDE/Renesas/e2studio/RA6M3G/include.am b/IDE/Renesas/e2studio/RA6M3G/include.am deleted file mode 100644 index c0bab82b8..000000000 --- a/IDE/Renesas/e2studio/RA6M3G/include.am +++ /dev/null @@ -1,32 +0,0 @@ -# vim:ft=automake -# included from Top Level Makefile.am -# All paths should be given relative to the root - -EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3G/benchmark-wolfcrypt/src/wolfssl_thread_entry.c -EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3G/benchmark-wolfcrypt/.cproject -EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3G/benchmark-wolfcrypt/.project - -EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3G/client-wolfssl/src/wolfssl_thread_entry.c -EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3G/client-wolfssl/.cproject -EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3G/client-wolfssl/.project -EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3G/client-wolfssl/wolfssl_thread_entry.h - -EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3G/common/ra6m3g/README.md -EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3G/common/src/freertos_tcp_port.c -EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3G/common/user_settings.h -EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3G/common/util.h - -EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3G/server-wolfssl/src/wolfssl_thread_entry.c -EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3G/server-wolfssl/.cproject -EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3G/server-wolfssl/.project -EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3G/server-wolfssl/wolfssl_thread_entry.h - -EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3G/test-wolfcrypt/src/wolfssl_thread_entry.c -EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3G/test-wolfcrypt/.cproject -EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3G/test-wolfcrypt/.project - -EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3G/wolfssl/.cproject -EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3G/wolfssl/.project -EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3G/wolfssl/configuration.xml - -EXTRA_DIST+= IDE/Renesas/e2studio/RA6M3G/README.md diff --git a/IDE/include.am b/IDE/include.am index 828b173ad..e56ef8062 100644 --- a/IDE/include.am +++ b/IDE/include.am @@ -24,7 +24,7 @@ include IDE/mynewt/include.am include IDE/Renesas/e2studio/DK-S7G2/include.am include IDE/Renesas/cs+/Projects/include.am include IDE/Renesas/e2studio/Projects/include.am -include IDE/Renesas/e2studio/RA6M3G/include.am +include IDE/Renesas/e2studio/RA6M3/include.am include IDE/WICED-STUDIO/include.am include IDE/CRYPTOCELL/include.am include IDE/M68K/include.am diff --git a/wolfssl/wolfcrypt/settings.h b/wolfssl/wolfcrypt/settings.h index f22357c29..50d445b79 100644 --- a/wolfssl/wolfcrypt/settings.h +++ b/wolfssl/wolfcrypt/settings.h @@ -298,7 +298,7 @@ #endif #endif -#if defined(WOLFSSL_RENESAS_RA6M3G) +#if defined(WOLFSSL_RENESAS_RA6M3G) || defined(WOLFSSL_RENESAS_RA6M3) /* settings in user_settings.h */ #endif diff --git a/wolfssl/wolfio.h b/wolfssl/wolfio.h index a4f892a46..ccbe6a2ad 100644 --- a/wolfssl/wolfio.h +++ b/wolfssl/wolfio.h @@ -160,7 +160,7 @@ #endif #endif - #if defined(WOLFSSL_RENESAS_RA6M3G) /* Uses FREERTOS_TCP */ + #if defined(WOLFSSL_RENESAS_RA6M3G) || defined(WOLFSSL_RENESAS_RA6M3) /* Uses FREERTOS_TCP */ #include #endif