Skip to content

Commit

Permalink
Merge pull request #7972 from miyazakh/renesas_tsip_update_
Browse files Browse the repository at this point in the history
Renesas TSIP version update
  • Loading branch information
douzzer authored Sep 14, 2024
2 parents 990d38a + c49f1e2 commit 52030f1
Show file tree
Hide file tree
Showing 20 changed files with 1,079 additions and 823 deletions.
13 changes: 6 additions & 7 deletions IDE/Renesas/e2studio/RX65N/GR-ROSE/README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ This sample program uses the following hardware and software libraries. If a new
|:--|:--|
|Board|GR-ROSE|
|Device|R5F565NEHxFP|
|IDE| Renesas e2Studio Version:2022-01 |
|IDE| Renesas e2Studio Version:2024-04 (24.4.0) |
|Emulator| E1, E2 Emulator Lite |
|Toolchain|CCRX v3.04.00|
|TSIP| TSIP v1.17|
|Toolchain|CCRX v3.06.00|
|TSIP| TSIP v1.21|
<br>

The project of this sample program has a configuration file that uses the following FIT components.
Expand All @@ -47,10 +47,9 @@ However, the FIT components themselves are not included in the distribution of t
|Generic system timer for RX MCUs|1.01|r_sys_time_rx|
|TCP/IP protocol stack[M3S-T4-Tiny] - RX Ethernet Driver Interface|1.09|r_t4_driver_rx|
|TCP/IP protocol stack[M3S-T4-Tiny] for Renesas MCUs|2.10|r_t4_rx|
|TSIP(Trusted Secure IP) driver|1.17.l|r_tsip_rx|
|TSIP(Trusted Secure IP) driver|1.21|r_tsip_rx|
<br>

Note) As of April 2022, TIPS v1.15 does not seem to be able to be added as a FIT component by adding a component in the Smart Configurator Perspective. Add it manually along the method described later.
<br><br>

## 3. Importing sample application project into e2Studio
Expand Down Expand Up @@ -247,7 +246,7 @@ is generated. This executable program acts as a server application. If you execu
<br> <br>

```
$ examples / server / server -b -v4 -i
$ examples / server / server -b -v 4 -i
```

<br>
Expand Down Expand Up @@ -338,7 +337,7 @@ Define “WOLF_PRIVATE_KEY_ID” in your user_settings.h.
## 11. Limitations
----
<br>
wolfSSL, which supports TSIPv1.17, has the following functional restrictions.
wolfSSL, which supports TSIPv1.21, has the following functional restrictions.
<br><br>

1. Handshake message packets exchanged with the server during the TLS handshake are stored in plaintext in memory. This is used to calculate the hash of handshake messages. The content will be deleted at the end of the session.
Expand Down
15 changes: 6 additions & 9 deletions IDE/Renesas/e2studio/RX65N/GR-ROSE/README_JP.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ Renesas社製MCU RX65Nを搭載した評価ボードGR-ROSEをターゲットと
|:--|:--|
|評価ボード|GR-ROSE|
|Device|R5F565NEHxFP|
|IDE| Renesas e2Studio Version:2022-01 |
|IDE| Renesas e2Studio Version:2024-04 (24.4.0) |
|エミュレーター| E1, E2エミュレーターLite |
|Toolchain|CCRX v3.04.00|
|TSIP| TSIP v1.17|
|Toolchain|CCRX v3.06.00|
|TSIP| TSIP v1.21|
<br>

本サンプルプログラムのプロジェクトには以下のFITコンポーネントを使用する設定ファイルが用意されています。
Expand All @@ -50,10 +50,7 @@ Renesas社製MCU RX65Nを搭載した評価ボードGR-ROSEをターゲットと
|Generic system timer for RX MCUs|1.01|r_sys_time_rx|
|TCP/IP protocol stack[M3S-T4-Tiny] - RX Ethernet Driver Interface|1.09|r_t4_driver_rx|
|TCP/IP protocol stack[M3S-T4-Tiny] for Renesas MCUs|2.10|r_t4_rx|
|TSIP(Trusted Secure IP) driver|1.17.l|r_tsip_rx|

(注意)2022年4月現在、TIPSv1.15はFITコンポーネントとしてスマートコンフィギュレータパースペクティブのコンポーネントの追加操作では追加できないようです。後ほど説明する手動での追加方法を使って追加してください。<br>

|TSIP(Trusted Secure IP) driver|1.21|r_tsip_rx|

<br><br>

Expand Down Expand Up @@ -246,7 +243,7 @@ $ make
<br><br>

```
$ examples/server/server -b -v4 -i
$ examples/server/server -b -v 4 -i
```
<br>
testアプリケーションには、サーバーアプリケーションに割り当てられたIPアドレスを指定します。
Expand Down Expand Up @@ -336,7 +333,7 @@ user_settings.hにWOLF_PRIVATE_KEY_IDの定義を行ってください。

## 11. 制限事項
-----
TSIPv1.17をサポートしたwolfSSLでは以下の機能制限があります
TSIPv1.21をサポートしたwolfSSLでは以下の機能制限があります

1. TLSハンドシェーク中にサーバーと交換したメッセージパケットが平文でメモリ上に蓄積されています。これはハンドシェークメッセージのハッシュ計算に使用されます。内容はセッション終了時に削除されます。

Expand Down
4 changes: 3 additions & 1 deletion IDE/Renesas/e2studio/RX65N/GR-ROSE/common/user_settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@
* 113: TSIPv1.13
* 114: TSIPv1.14
* 115: TSIPv1.15
* 117: TSIPv1.17
* 121: TSIPv1.21
*----------------------------------------------------------------------------*/
#define WOLFSSL_RENESAS_TSIP
#define WOLFSSL_RENESAS_TSIP_VER 117
#define WOLFSSL_RENESAS_TSIP_VER 121


/*-- TLS version definitions --------------------------------------------------
Expand Down
4 changes: 4 additions & 0 deletions IDE/Renesas/e2studio/RX65N/GR-ROSE/include.am
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,7 @@ EXTRA_DIST+= IDE/Renesas/e2studio/RX65N/GR-ROSE/common/user_settings.h
EXTRA_DIST+= IDE/Renesas/e2studio/RX65N/GR-ROSE/smc/.cproject
EXTRA_DIST+= IDE/Renesas/e2studio/RX65N/GR-ROSE/smc/.project
EXTRA_DIST+= IDE/Renesas/e2studio/RX65N/GR-ROSE/smc/smc.scfg
EXTRA_DIST+= IDE/Renesas/e2studio/RX65N/GR-ROSE/tools/README.md
EXTRA_DIST+= IDE/Renesas/e2studio/RX65N/GR-ROSE/tools/example_keys/generate_SignedCA.sh
EXTRA_DIST+= IDE/Renesas/e2studio/RX65N/GR-ROSE/tools/example_keys/rsa_private.pem
EXTRA_DIST+= IDE/Renesas/e2studio/RX65N/GR-ROSE/tools/example_keys/rsa_public.pem
Loading

0 comments on commit 52030f1

Please sign in to comment.