Pfp Cybersecurity (Aka Power Fingerprinting, Inc.) / Mbed OS pfp-emon-nxp

Dependencies:   FXAS21002 FXOS8700Q

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers update_default_resources.c Source File

update_default_resources.c

00001 
00002 #ifdef MBED_CLOUD_CLIENT_USER_CONFIG_FILE
00003 #include MBED_CLOUD_CLIENT_USER_CONFIG_FILE
00004 #endif
00005 
00006 #include <stdint.h>
00007 
00008 #ifdef MBED_CLOUD_DEV_UPDATE_ID
00009 const uint8_t arm_uc_vendor_id[] = {
00010     0x8b, 0x9c, 0x29, 0x91, 0xfc, 0xf8, 0x55, 0x8a, 0xa5, 0x30, 0x1d, 0xd4, 0x05, 0xb4, 0x83, 0xb9
00011 };
00012 const uint16_t arm_uc_vendor_id_size = sizeof(arm_uc_vendor_id);
00013 
00014 const uint8_t arm_uc_class_id[]  = {
00015     0x91, 0x3a, 0x74, 0xbf, 0xb5, 0x47, 0x50, 0x3d, 0xbc, 0xb5, 0xa0, 0x44, 0xf9, 0x98, 0x5e, 0x2f
00016 };
00017 const uint16_t arm_uc_class_id_size = sizeof(arm_uc_class_id);
00018 #endif
00019 
00020 #ifdef MBED_CLOUD_DEV_UPDATE_CERT
00021 const uint8_t arm_uc_default_fingerprint[] =  {
00022     0x86, 0x82, 0x1c, 0x53, 0x9c, 0x5f, 0x96, 0x9c, 0x6a, 0xac, 0x39, 0xb3, 0xb8, 0x13, 0xd5, 0xb2,
00023     0xfe, 0x21, 0xe7, 0x66, 0xb4, 0xa4, 0xba, 0xd5, 0x92, 0x66, 0x5b, 0xb4, 0x40, 0xab, 0x1a, 0x96
00024 };
00025 const uint16_t arm_uc_default_fingerprint_size =
00026     sizeof(arm_uc_default_fingerprint);
00027 
00028 const uint8_t arm_uc_default_subject_key_identifier[] =  {
00029 };
00030 const uint16_t arm_uc_default_subject_key_identifier_size =
00031     sizeof(arm_uc_default_subject_key_identifier);
00032 
00033 const uint8_t arm_uc_default_certificate[] = {
00034     0x30, 0x82, 0x01, 0x4c, 0x30, 0x81, 0xf4, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x14, 0x93, 0x43,
00035     0x26, 0x03, 0xb0, 0x21, 0x24, 0x34, 0x98, 0xf6, 0xee, 0x68, 0xb3, 0x37, 0x72, 0xa0, 0x5c, 0x34,
00036     0xf7, 0x8e, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x14,
00037     0x31, 0x12, 0x30, 0x10, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c,
00038     0x68, 0x6f, 0x73, 0x74, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x30, 0x33, 0x32, 0x30, 0x31, 0x39,
00039     0x31, 0x33, 0x32, 0x39, 0x5a, 0x17, 0x0d, 0x32, 0x31, 0x30, 0x33, 0x32, 0x30, 0x30, 0x34, 0x30,
00040     0x30, 0x30, 0x30, 0x5a, 0x30, 0x14, 0x31, 0x12, 0x30, 0x10, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c,
00041     0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x68, 0x6f, 0x73, 0x74, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07,
00042     0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01,
00043     0x07, 0x03, 0x42, 0x00, 0x04, 0xfd, 0xe4, 0x65, 0x8f, 0xcc, 0x0d, 0x33, 0x81, 0x23, 0x60, 0xe7,
00044     0xa3, 0x93, 0xfd, 0x1e, 0x4c, 0xbb, 0x98, 0x58, 0xb6, 0x38, 0x03, 0x0a, 0x4c, 0x94, 0xd6, 0x78,
00045     0x3a, 0x98, 0xf5, 0x92, 0xa1, 0x1c, 0xc5, 0x9e, 0xb1, 0xe3, 0x67, 0x95, 0x7d, 0x98, 0xa2, 0xde,
00046     0x79, 0x9e, 0xab, 0x5c, 0xf1, 0x89, 0x9a, 0xea, 0x7c, 0x80, 0x63, 0x21, 0x74, 0xf7, 0x18, 0x02,
00047     0xb9, 0x3f, 0xba, 0x77, 0x14, 0xa3, 0x24, 0x30, 0x22, 0x30, 0x0b, 0x06, 0x03, 0x55, 0x1d, 0x0f,
00048     0x04, 0x04, 0x03, 0x02, 0x07, 0x80, 0x30, 0x13, 0x06, 0x03, 0x55, 0x1d, 0x25, 0x04, 0x0c, 0x30,
00049     0x0a, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x03, 0x30, 0x0a, 0x06, 0x08, 0x2a,
00050     0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x47, 0x00, 0x30, 0x44, 0x02, 0x20, 0xb3, 0xd9,
00051     0xa8, 0x43, 0x72, 0x4f, 0xdb, 0x82, 0x83, 0xa7, 0xa4, 0xf0, 0x45, 0x4e, 0xe4, 0x6a, 0xa4, 0xb5,
00052     0x53, 0x49, 0x6d, 0xf5, 0x26, 0xaa, 0xf1, 0xff, 0xc6, 0x0c, 0xf2, 0x26, 0xd7, 0xf3, 0x02, 0x20,
00053     0x38, 0x67, 0xcb, 0x23, 0x88, 0x08, 0xb7, 0x6e, 0x6d, 0xa7, 0x60, 0x52, 0xac, 0x15, 0xe1, 0x0e,
00054     0xba, 0x9c, 0x83, 0x93, 0x62, 0x90, 0xf8, 0xc2, 0xaa, 0x10, 0x8b, 0xfc, 0x9c, 0x24, 0x9b, 0x14
00055 };
00056 const uint16_t arm_uc_default_certificate_size = sizeof(arm_uc_default_certificate);
00057 #endif
00058 
00059 
00060 #ifdef MBED_CLOUD_DEV_UPDATE_PSK
00061 const uint8_t arm_uc_default_psk[] = {
00062 
00063 };
00064 const uint8_t arm_uc_default_psk_size = sizeof(arm_uc_default_psk);
00065 const uint16_t arm_uc_default_psk_bits = sizeof(arm_uc_default_psk)*8;
00066 
00067 const uint8_t arm_uc_default_psk_id[] = {
00068 
00069 };
00070 const uint8_t arm_uc_default_psk_id_size = sizeof(arm_uc_default_psk_id);
00071 #endif