Skip to content

Commit 52030f1

Browse files
authored
Merge pull request #7972 from miyazakh/renesas_tsip_update_
Renesas TSIP version update
2 parents 990d38a + c49f1e2 commit 52030f1

20 files changed

Lines changed: 1079 additions & 823 deletions

File tree

IDE/Renesas/e2studio/RX65N/GR-ROSE/README_EN.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ This sample program uses the following hardware and software libraries. If a new
2929
|:--|:--|
3030
|Board|GR-ROSE|
3131
|Device|R5F565NEHxFP|
32-
|IDE| Renesas e2Studio Version:2022-01 |
32+
|IDE| Renesas e2Studio Version:2024-04 (24.4.0) |
3333
|Emulator| E1, E2 Emulator Lite |
34-
|Toolchain|CCRX v3.04.00|
35-
|TSIP| TSIP v1.17|
34+
|Toolchain|CCRX v3.06.00|
35+
|TSIP| TSIP v1.21|
3636
<br>
3737

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

53-
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.
5453
<br><br>
5554

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

249248
```
250-
$ examples / server / server -b -v4 -i
249+
$ examples / server / server -b -v 4 -i
251250
```
252251

253252
<br>
@@ -338,7 +337,7 @@ Define “WOLF_PRIVATE_KEY_ID” in your user_settings.h.
338337
## 11. Limitations
339338
----
340339
<br>
341-
wolfSSL, which supports TSIPv1.17, has the following functional restrictions.
340+
wolfSSL, which supports TSIPv1.21, has the following functional restrictions.
342341
<br><br>
343342

344343
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.

IDE/Renesas/e2studio/RX65N/GR-ROSE/README_JP.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ Renesas社製MCU RX65Nを搭載した評価ボードGR-ROSEをターゲットと
3030
|:--|:--|
3131
|評価ボード|GR-ROSE|
3232
|Device|R5F565NEHxFP|
33-
|IDE| Renesas e2Studio Version:2022-01 |
33+
|IDE| Renesas e2Studio Version:2024-04 (24.4.0) |
3434
|エミュレーター| E1, E2エミュレーターLite |
35-
|Toolchain|CCRX v3.04.00|
36-
|TSIP| TSIP v1.17|
35+
|Toolchain|CCRX v3.06.00|
36+
|TSIP| TSIP v1.21|
3737
<br>
3838

3939
本サンプルプログラムのプロジェクトには以下のFITコンポーネントを使用する設定ファイルが用意されています。
@@ -50,10 +50,7 @@ Renesas社製MCU RX65Nを搭載した評価ボードGR-ROSEをターゲットと
5050
|Generic system timer for RX MCUs|1.01|r_sys_time_rx|
5151
|TCP/IP protocol stack[M3S-T4-Tiny] - RX Ethernet Driver Interface|1.09|r_t4_driver_rx|
5252
|TCP/IP protocol stack[M3S-T4-Tiny] for Renesas MCUs|2.10|r_t4_rx|
53-
|TSIP(Trusted Secure IP) driver|1.17.l|r_tsip_rx|
54-
55-
(注意)2022年4月現在、TIPSv1.15はFITコンポーネントとしてスマートコンフィギュレータパースペクティブのコンポーネントの追加操作では追加できないようです。後ほど説明する手動での追加方法を使って追加してください。<br>
56-
53+
|TSIP(Trusted Secure IP) driver|1.21|r_tsip_rx|
5754

5855
<br><br>
5956

@@ -246,7 +243,7 @@ $ make
246243
<br><br>
247244

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

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

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

IDE/Renesas/e2studio/RX65N/GR-ROSE/common/user_settings.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,11 @@
3838
* 113: TSIPv1.13
3939
* 114: TSIPv1.14
4040
* 115: TSIPv1.15
41+
* 117: TSIPv1.17
42+
* 121: TSIPv1.21
4143
*----------------------------------------------------------------------------*/
4244
#define WOLFSSL_RENESAS_TSIP
43-
#define WOLFSSL_RENESAS_TSIP_VER 117
45+
#define WOLFSSL_RENESAS_TSIP_VER 121
4446

4547

4648
/*-- TLS version definitions --------------------------------------------------

IDE/Renesas/e2studio/RX65N/GR-ROSE/include.am

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,7 @@ EXTRA_DIST+= IDE/Renesas/e2studio/RX65N/GR-ROSE/common/user_settings.h
2424
EXTRA_DIST+= IDE/Renesas/e2studio/RX65N/GR-ROSE/smc/.cproject
2525
EXTRA_DIST+= IDE/Renesas/e2studio/RX65N/GR-ROSE/smc/.project
2626
EXTRA_DIST+= IDE/Renesas/e2studio/RX65N/GR-ROSE/smc/smc.scfg
27+
EXTRA_DIST+= IDE/Renesas/e2studio/RX65N/GR-ROSE/tools/README.md
28+
EXTRA_DIST+= IDE/Renesas/e2studio/RX65N/GR-ROSE/tools/example_keys/generate_SignedCA.sh
29+
EXTRA_DIST+= IDE/Renesas/e2studio/RX65N/GR-ROSE/tools/example_keys/rsa_private.pem
30+
EXTRA_DIST+= IDE/Renesas/e2studio/RX65N/GR-ROSE/tools/example_keys/rsa_public.pem

0 commit comments

Comments
 (0)