-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupdate_default_resources.c
91 lines (78 loc) · 4.71 KB
/
update_default_resources.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
//----------------------------------------------------------------------------
// The confidential and proprietary information contained in this file may
// only be used by a person authorised under and to the extent permitted
// by a subsisting licensing agreement from ARM Limited or its affiliates.
//
// (C) COPYRIGHT 2013-2017 ARM Limited or its affiliates.
// ALL RIGHTS RESERVED
//
// This entire notice must be reproduced on all copies of this file
// and copies of this file may only be made by a person if such person is
// permitted to do so under the terms of a subsisting license agreement
// from ARM Limited or its affiliates.
//----------------------------------------------------------------------------
#ifdef MBED_CLOUD_CLIENT_USER_CONFIG_FILE
#include MBED_CLOUD_CLIENT_USER_CONFIG_FILE
#endif
#include <stdint.h>
#ifdef MBED_CLOUD_DEV_UPDATE_ID
const uint8_t arm_uc_vendor_id[] = {
0x5d, 0x64, 0x5e, 0xae, 0xc2, 0x31, 0x5a, 0x89, 0x97, 0x64, 0x2e, 0x65, 0x5c, 0xd9, 0x4f, 0xa8
};
const uint16_t arm_uc_vendor_id_size = sizeof(arm_uc_vendor_id);
const uint8_t arm_uc_class_id[] = {
0x49, 0x45, 0x8a, 0xdb, 0x41, 0x71, 0x58, 0xcb, 0x98, 0x11, 0x8d, 0x57, 0x28, 0x59, 0x46, 0x7
};
const uint16_t arm_uc_class_id_size = sizeof(arm_uc_class_id);
#endif
#ifdef MBED_CLOUD_DEV_UPDATE_CERT
const uint8_t arm_uc_default_fingerprint[] = {
0x25, 0x84, 0x95, 0x81, 0xe2, 0xf6, 0x6a, 0xc5, 0x97, 0xc5, 0xab, 0x14, 0xe2, 0x5c, 0xe, 0x2f,
0x2b, 0x6b, 0xc7, 0x2, 0xb0, 0xea, 0xa8, 0xd9, 0xf8, 0x5c, 0xed, 0x24, 0x4a, 0xc8, 0xe0, 0x17
};
const uint16_t arm_uc_default_fingerprint_size =
sizeof(arm_uc_default_fingerprint);
const uint8_t arm_uc_default_subject_key_identifier[] = {
0xdf, 0xf, 0x7a, 0x9b, 0x61, 0x59, 0x8c, 0xa3, 0xfc, 0x71, 0x66, 0xe, 0x92, 0x3, 0xbc, 0xeb,
0xf0, 0x9c, 0x36, 0xee
};
const uint16_t arm_uc_default_subject_key_identifier_size =
sizeof(arm_uc_default_subject_key_identifier);
const uint8_t arm_uc_default_certificate[] = {
0x30, 0x82, 0x1, 0x81, 0x30, 0x82, 0x1, 0x27, 0xa0, 0x3, 0x2, 0x1, 0x2, 0x2, 0x14, 0x7c,
0x4f, 0xf3, 0x38, 0xb1, 0xf2, 0x45, 0x50, 0x89, 0xc2, 0x21, 0x42, 0x36, 0x9e, 0xa4, 0xc5, 0xe6,
0x52, 0x4c, 0x91, 0x30, 0xa, 0x6, 0x8, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x4, 0x3, 0x2, 0x30,
0x13, 0x31, 0x11, 0x30, 0xf, 0x6, 0x3, 0x55, 0x4, 0x3, 0xc, 0x8, 0x6d, 0x62, 0x65, 0x64,
0x2e, 0x63, 0x6f, 0x6d, 0x30, 0x1e, 0x17, 0xd, 0x31, 0x39, 0x30, 0x34, 0x32, 0x30, 0x30, 0x33,
0x31, 0x34, 0x31, 0x33, 0x5a, 0x17, 0xd, 0x31, 0x39, 0x30, 0x37, 0x31, 0x39, 0x30, 0x33, 0x31,
0x34, 0x31, 0x33, 0x5a, 0x30, 0x13, 0x31, 0x11, 0x30, 0xf, 0x6, 0x3, 0x55, 0x4, 0x3, 0xc,
0x8, 0x6d, 0x62, 0x65, 0x64, 0x2e, 0x63, 0x6f, 0x6d, 0x30, 0x59, 0x30, 0x13, 0x6, 0x7, 0x2a,
0x86, 0x48, 0xce, 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, 0xe, 0xa3, 0x97, 0x42, 0x98, 0xea, 0xba, 0x31, 0x5e, 0xa2, 0xff, 0x62,
0x7c, 0x4b, 0xf2, 0x57, 0xf, 0x80, 0x2f, 0x2f, 0x1f, 0xb4, 0x4c, 0x5d, 0x8d, 0x72, 0xc2, 0xfc,
0xe5, 0x89, 0x2, 0x21, 0x0, 0xf1, 0xf3, 0x16, 0x35, 0x7f, 0x86, 0xe2, 0x30, 0xbf, 0x8f, 0x2,
0x52, 0x14, 0xed, 0x8e, 0x1d, 0xb0, 0xa1, 0x16, 0x36, 0x4c, 0xd7, 0xd1, 0x68, 0xb2, 0xd9, 0x30,
0x65, 0xa7, 0x22, 0xb6, 0x7f
};
const uint16_t arm_uc_default_certificate_size = sizeof(arm_uc_default_certificate);
#endif
#ifdef MBED_CLOUD_DEV_UPDATE_PSK
const uint8_t arm_uc_default_psk[] = {
};
const uint8_t arm_uc_default_psk_size = sizeof(arm_uc_default_psk);
const uint16_t arm_uc_default_psk_bits = sizeof(arm_uc_default_psk)*8;
const uint8_t arm_uc_default_psk_id[] = {
};
const uint8_t arm_uc_default_psk_id_size = sizeof(arm_uc_default_psk_id);
#endif