123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- #include "ZComDef.h"
- #if defined TEST_CERT_DATA
- #if ZG_BUILD_COORDINATOR_TYPE
- #pragma location="IEEE_ADDRESS_SPACE"
- const uint8 certExtendedAddress[Z_EXTADDR_LEN] = {
- 0x01, 0x00, 0x00, 0x00, 0x00, 0x4b, 0x12, 0x00
- };
- #pragma required=certExtendedAddress
- #pragma location="IMPLICIT_CERTIFICATE_ADDRESS_SPACE"
- const uint8 ImplicitCertificate[ZCL_KE_IMPLICIT_CERTIFICATE_LEN] = {
- 0x03, 0x07, 0x8c, 0x45, 0xde, 0xa5, 0x06, 0xd0,
- 0x7f, 0x1b, 0x82, 0x21, 0x22, 0xb5, 0xa3, 0x1e,
- 0xb0, 0xa0, 0xd6, 0x29, 0x55, 0xdb, 0x00, 0x12,
- 0x4b, 0x00, 0x00, 0x00, 0x00, 0x01, 0x54, 0x45,
- 0x53, 0x54, 0x53, 0x45, 0x43, 0x41, 0x01, 0x09,
- 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- };
- #pragma required=ImplicitCertificate
- #pragma location="CA_PUBLIC_KEY_ADDRESS_SPACE"
- const uint8 CA_Public_Key[ZCL_KE_CA_PUBLIC_KEY_LEN] = {
- 0x02, 0x00, 0xfd, 0xe8, 0xa7, 0xf3, 0xd1, 0x08,
- 0x42, 0x24, 0x96, 0x2a, 0x4e, 0x7c, 0x54, 0xe6,
- 0x9a, 0xc3, 0xf0, 0x4d, 0xa6, 0xb8
- };
- #pragma required=CA_Public_Key
- #pragma location="DEV_PRIVATE_KEY_ADDRESS_SPACE"
- const uint8 DevicePrivateKey[ZCL_KE_DEVICE_PRIVATE_KEY_LEN] = {
- 0x02, 0x28, 0x4a, 0x56, 0x3f, 0x02, 0xf2, 0xc8,
- 0xbd, 0xa7, 0x57, 0xf9, 0x61, 0xbb, 0x8c, 0xb4,
- 0xfb, 0x6e, 0x90, 0xed, 0x42
- };
- #pragma required=DevicePrivateKey
- #elif ZG_BUILD_RTR_TYPE
- #pragma location="IEEE_ADDRESS_SPACE"
- const uint8 certExtendedAddress[Z_EXTADDR_LEN] = {
- 0x02, 0x00, 0x00, 0x00, 0x00, 0x4b, 0x12, 0x00
- };
- #pragma required=certExtendedAddress
- #pragma location="IMPLICIT_CERTIFICATE_ADDRESS_SPACE"
- const uint8 ImplicitCertificate[ZCL_KE_IMPLICIT_CERTIFICATE_LEN] = {
- 0x03, 0x06, 0x9b, 0xc9, 0x8f, 0x75, 0x1f, 0xba,
- 0x22, 0xdb, 0xca, 0xd6, 0x4a, 0x7d, 0x46, 0x2c,
- 0x20, 0x9c, 0x2e, 0xd9, 0x01, 0x5f, 0x00, 0x12,
- 0x4b, 0x00, 0x00, 0x00, 0x00, 0x02, 0x54, 0x45,
- 0x53, 0x54, 0x53, 0x45, 0x43, 0x41, 0x01, 0x09,
- 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
- };
- #pragma required=ImplicitCertificate
- #pragma location="CA_PUBLIC_KEY_ADDRESS_SPACE"
- const uint8 CA_Public_Key[ZCL_KE_CA_PUBLIC_KEY_LEN] = {
- 0x02, 0x00, 0xfd, 0xe8, 0xa7, 0xf3, 0xd1, 0x08,
- 0x42, 0x24, 0x96, 0x2a, 0x4e, 0x7c, 0x54, 0xe6,
- 0x9a, 0xc3, 0xf0, 0x4d, 0xa6, 0xb8
- };
- #pragma required=CA_Public_Key
- #pragma location="DEV_PRIVATE_KEY_ADDRESS_SPACE"
- const uint8 DevicePrivateKey[ZCL_KE_DEVICE_PRIVATE_KEY_LEN] = {
- 0x03, 0x7a, 0xd5, 0x45, 0xab, 0xa5, 0xf7, 0x47,
- 0xe4, 0x0a, 0x24, 0xea, 0x85, 0x50, 0x4c, 0x47,
- 0x39, 0x8c, 0x97, 0xf4, 0x96
- };
- #pragma required=DevicePrivateKey
- #else
- #pragma location="IEEE_ADDRESS_SPACE"
- const uint8 certExtendedAddress[Z_EXTADDR_LEN] = {
- 0x03, 0x00, 0x00, 0x00, 0x00, 0x4b, 0x12, 0x00
- };
- #pragma required=certExtendedAddress
- #pragma location="IMPLICIT_CERTIFICATE_ADDRESS_SPACE"
- const uint8 ImplicitCertificate[ZCL_KE_IMPLICIT_CERTIFICATE_LEN] = {
- 0x02, 0x04, 0xac, 0x2c, 0x26, 0x56, 0xf1, 0xee,
- 0xa4, 0xff, 0x5d, 0xac, 0x4e, 0xdd, 0xa1, 0x76,
- 0xbf, 0xe4, 0xfa, 0x70, 0xd9, 0x56, 0x00, 0x12,
- 0x4b, 0x00, 0x00, 0x00, 0x00, 0x03, 0x54, 0x45,
- 0x53, 0x54, 0x53, 0x45, 0x43, 0x41, 0x01, 0x09,
- 0x00, 0x01, 0x00, 0x00, 0x01, 0x09, 0x10, 0x03
- };
- #pragma required=ImplicitCertificate
- #pragma location="CA_PUBLIC_KEY_ADDRESS_SPACE"
- const uint8 CA_Public_Key[ZCL_KE_CA_PUBLIC_KEY_LEN] = {
- 0x02, 0x00, 0xfd, 0xe8, 0xa7, 0xf3, 0xd1, 0x08,
- 0x42, 0x24, 0x96, 0x2a, 0x4e, 0x7c, 0x54, 0xe6,
- 0x9a, 0xc3, 0xf0, 0x4d, 0xa6, 0xb8
- };
- #pragma required=CA_Public_Key
- #pragma location="DEV_PRIVATE_KEY_ADDRESS_SPACE"
- const uint8 DevicePrivateKey[ZCL_KE_DEVICE_PRIVATE_KEY_LEN] = {
- 0x03, 0x4b, 0xc3, 0x7a, 0x72, 0x10, 0xb7, 0x40,
- 0x7a, 0x51, 0xdc, 0x11, 0xe5, 0xae, 0xba, 0xf2,
- 0xe1, 0x50, 0x3f, 0x69, 0x55
- };
- #pragma required=DevicePrivateKey
- #endif
- #endif
|