鍵管理の統一と重複削除

- 共通鍵ファイル追加: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
This commit is contained in:
km
2026-03-26 10:13:25 +09:00
parent 163fad68a7
commit 74789be2c3
6 changed files with 127 additions and 71 deletions
+40
View File
@@ -0,0 +1,40 @@
/**
* @file se050_scp03_keys.h
* @brief SE050 Platform SCP03 Keys
*
* Platform SCP03 keys for each SE050 chip type.
* Keys should be obtained from NXP documentation or secure provisioning.
*
* License: MIT (Clean-room implementation)
*/
#ifndef SE050_SCP03_KEYS_H
#define SE050_SCP03_KEYS_H
#include <stdint.h>
/* ============================================================================
* SE050C0 Platform SCP03 Keys
* ============================================================================ */
extern const uint8_t SE050C0_ENC_KEY[16];
extern const uint8_t SE050C0_MAC_KEY[16];
extern const uint8_t SE050C0_DEK_KEY[16];
/* ============================================================================
* SE050C1 Platform SCP03 Keys
* ============================================================================ */
extern const uint8_t SE050C1_ENC_KEY[16];
extern const uint8_t SE050C1_MAC_KEY[16];
extern const uint8_t SE050C1_DEK_KEY[16];
/* ============================================================================
* SE050E2 Platform SCP03 Keys
* ============================================================================ */
extern const uint8_t SE050E2_ENC_KEY[16];
extern const uint8_t SE050E2_MAC_KEY[16];
extern const uint8_t SE050E2_DEK_KEY[16];
#endif /* SE050_SCP03_KEYS_H */