SE050 ハードウェア接続テスト追加

- test_scp03_se050.c: 実機 SE050 接続テスト
- 対応チップ:SE050C0, SE050C1, SE050E0, SE050E1
- ifdef でチップ選択 (make SE050_CHIP=xxx)
- AN12436 デフォルト PlatformSCP03 キー使用
- 実 I2C HAL による接続/認証フローテスト

使用例:
  make SE050_CHIP=SE050C0 test_se050
  make SE050_CHIP=SE050E1 test_se050
This commit is contained in:
km
2026-03-26 09:29:39 +09:00
parent 2ad959bde9
commit 0a97209e8c
3 changed files with 597 additions and 3 deletions
+18
View File
@@ -20,6 +20,24 @@ MIT ライセンスで実装された NXP SE050 用 WireGuard クリーンルー
- ✅ AN12436 デフォルトキー実装
- ✅ キー管理 API (`se050_scp03_load_keys_from_file`)
- ✅ 安全なメモリ操作 (`memzero_explicit`, `crypto_memneq`, `secure_memcpy`)
-**SE050 ハードウェア接続テスト** (chip 選択可能)
### 対応チップ
- SE050C0, SE050C1, SE050E0, SE050E1 (すべて X25519 サポート)
### ハードウェアテスト
```bash
# SE050C0 でテスト
make SE050_CHIP=SE050C0 test_se050
# SE050E1 でテスト
make SE050_CHIP=SE050E1 test_se050
# 別の I2C バス指定
make SE050_CHIP=SE050C0 test_se050 I2C_OPTS="-b /dev/i2c-2"
```
### 対応チップ