diff --git a/src/se050_scp03_keys.c b/src/se050_scp03_keys.c index 03d436d..237b434 100644 --- a/src/se050_scp03_keys.c +++ b/src/se050_scp03_keys.c @@ -22,65 +22,75 @@ /* ============================================================================ * SE050C0 Platform SCP03 Keys * - * TODO: Replace with actual keys from AN12436 or secure provisioning - * Reference: NXP AN12436 "SE050 configurations" - Section on PlatformSCP03 + * Note: Official NXP source (ex_sss_tp_scp03_keys.h) does not list SE050C0. + * Using SE050_DEVKIT (OEF ID: 0xA1F4) values as reference. + * For production: Use actual keys from your chip documentation or secure provisioning. + * + * Source: NXP plug-and-trust repository + * File: sss/ex/inc/ex_sss_tp_scp03_keys.h + * Reference: SSS_PFSCP_ENABLE_SE050_DEVKIT (OEF ID: 0xA1F4) + * See: https://github.com/NXP/plug-and-trust/blob/master/sss/ex/inc/ex_sss_tp_scp03_keys.h * ============================================================================ */ const uint8_t SE050C0_ENC_KEY[16] = { - 0x01, 0x23, 0x45, 0x67, 0x89, 0xAB, 0xCD, 0xEF, - 0x01, 0x23, 0x45, 0x67, 0x89, 0xAB, 0xCD, 0xEF + 0x35, 0xC2, 0x56, 0x45, 0x89, 0x58, 0xA3, 0x4F, + 0x61, 0x36, 0x15, 0x5F, 0x82, 0x09, 0xD6, 0xCD }; const uint8_t SE050C0_MAC_KEY[16] = { - 0xFE, 0xDC, 0xBA, 0x98, 0x76, 0x54, 0x32, 0x10, - 0xFE, 0xDC, 0xBA, 0x98, 0x76, 0x54, 0x32, 0x10 + 0xAF, 0x17, 0x7D, 0x5D, 0xBD, 0xF7, 0xC0, 0xD5, + 0xC1, 0x0A, 0x05, 0xB9, 0xF1, 0x60, 0x7F, 0x78 }; const uint8_t SE050C0_DEK_KEY[16] = { - 0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, - 0x88, 0x99, 0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF + 0xA1, 0xBC, 0x84, 0x38, 0xBF, 0x77, 0x93, 0x5B, + 0x36, 0x1A, 0x44, 0x25, 0xFE, 0x79, 0xFA, 0x29 }; /* ============================================================================ * SE050C1 Platform SCP03 Keys * - * TODO: Replace with actual keys from AN12436 or secure provisioning - * Reference: NXP AN12436 "SE050 configurations" - Section on PlatformSCP03 + * Source: NXP plug-and-trust repository + * File: sss/ex/inc/ex_sss_tp_scp03_keys.h + * Reference: SSS_PFSCP_ENABLE_SE050C1 (OEF ID: 0xA200) + * See: https://github.com/NXP/plug-and-trust/blob/master/sss/ex/inc/ex_sss_tp_scp03_keys.h * ============================================================================ */ const uint8_t SE050C1_ENC_KEY[16] = { - 0xA1, 0xB2, 0xC3, 0xD4, 0xE5, 0xF6, 0x07, 0x18, - 0x29, 0x3A, 0x4B, 0x5C, 0x6D, 0x7E, 0x8F, 0x90 + 0x85, 0x2B, 0x59, 0x62, 0xE9, 0xCC, 0xE5, 0xD0, + 0xBE, 0x74, 0x6B, 0x83, 0x3B, 0xCC, 0x62, 0x87 }; const uint8_t SE050C1_MAC_KEY[16] = { - 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, - 0x99, 0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF, 0x00 + 0xDB, 0x0A, 0xA3, 0x19, 0xA4, 0x08, 0x69, 0x6C, + 0x8E, 0x10, 0x7A, 0xB4, 0xE3, 0xC2, 0x6B, 0x47 }; const uint8_t SE050C1_DEK_KEY[16] = { - 0x98, 0x76, 0x54, 0x32, 0x10, 0xFE, 0xDC, 0xBA, - 0x98, 0x76, 0x54, 0x32, 0x10, 0xFE, 0xDC, 0xBA + 0x4C, 0x2F, 0x75, 0xC6, 0xA2, 0x78, 0xA4, 0xAE, + 0xE5, 0xC9, 0xAF, 0x7C, 0x50, 0xEE, 0xA8, 0x0C }; /* ============================================================================ * SE050E2 Platform SCP03 Keys * - * TODO: Replace with actual keys from AN12436 or secure provisioning - * Reference: NXP AN12436 "SE050 configurations" - Section on PlatformSCP03 + * Source: NXP plug-and-trust repository + * File: sss/ex/inc/ex_sss_tp_scp03_keys.h + * Reference: SSS_PFSCP_ENABLE_SE050E_0001A921 (OEF ID: 0xA921) + * See: https://github.com/NXP/plug-and-trust/blob/master/sss/ex/inc/ex_sss_tp_scp03_keys.h * ============================================================================ */ const uint8_t SE050E2_ENC_KEY[16] = { - 0x55, 0x66, 0x77, 0x88, 0x99, 0xAA, 0xBB, 0xCC, - 0xDD, 0xEE, 0xFF, 0x00, 0x11, 0x22, 0x33, 0x44 + 0xD2, 0xDB, 0x63, 0xE7, 0xA0, 0xA5, 0xAE, 0xD7, + 0x2A, 0x64, 0x60, 0xC4, 0xDF, 0xDC, 0xAF, 0x64 }; const uint8_t SE050E2_MAC_KEY[16] = { - 0x44, 0x33, 0x22, 0x11, 0x00, 0xFF, 0xEE, 0xDD, - 0xCC, 0xBB, 0xAA, 0x99, 0x88, 0x77, 0x66, 0x55 + 0x73, 0x8D, 0x5B, 0x79, 0x8E, 0xD2, 0x41, 0xB0, + 0xB2, 0x47, 0x68, 0x51, 0x4B, 0xFB, 0xA9, 0x5B }; const uint8_t SE050E2_DEK_KEY[16] = { - 0x77, 0x88, 0x99, 0xAA, 0xBB, 0xCC, 0xDD, 0xEE, - 0xFF, 0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66 + 0x67, 0x02, 0xDA, 0xC3, 0x09, 0x42, 0xB2, 0xC8, + 0x5E, 0x7F, 0x47, 0xB4, 0x2C, 0xED, 0x4E, 0x7F };