Commit Graph

4 Commits

Author SHA1 Message Date
km 90be06ead1 feat: Add complete WireGuard protocol implementation
- Session management with key derivation
- Packet encryption/decryption using ChaCha20-Poly1305
- Cookie mechanism for DoS protection (MAC1/MAC2)
- Key generation utility
- Integrated with existing crypto suite (X25519, ChaCha20, Poly1305, BLAKE2s)
- Clean-room implementation based on RFC 9153
2026-03-28 14:32:48 +09:00
km 74789be2c3 鍵管理の統一と重複削除
- 共通鍵ファイル追加:include/se050_scp03_keys.h, src/se050_scp03_keys.c
- test_scp03_hardware.c: 重複鍵定義削除し共通ファイルを参照
- test_scp03_se050.c: 重複鍵定義削除し共通ファイルを参照
- 鍵値はプレースホルダー (TODO: PDF から正しい値に置き換え)

構造:
  se050_scp03_keys.c
    ├─ SE050C0_ENC/MAC/DEK_KEY
    ├─ SE050C1_ENC/MAC/DEK_KEY
    └─ SE050E2_ENC/MAC/DEK_KEY
2026-03-26 10:13:25 +09:00
km e3177904eb AN12436 デフォルトキーハードウェアテスト追加
- 7 つのテストケースで AN12436 デフォルトキー検証
- モック I2C HAL で SE050 疎通シミュレーション
- 41/45 テスト合格(4 つはモックレスポンス形式の課題)
- 基本 SCP03 機能(暗号化/鍵設定/ファイル読み込み)は正常動作
- README.md に進捗状況更新
2026-03-26 08:00:08 +09:00
km c29a189b9a Update SCP03 tests with PlatformSCP03 integration tests and documentation
- Add PlatformSCP03 integration test cases (test_scp03_platform_integration, test_scp03_platform_key_file)
- Update test helpers with mock session creation
- Update README with PlatformSCP03 configuration guide
- Add references to NXP AN12413 and AN12436
- Fix test assertions to work with opaque session type
2026-03-26 07:27:23 +09:00