@@ -55,26 +55,7 @@ static const unsigned char TA0_EC_Q[] = {
5555 0x42 , 0x89 , 0x89 , 0x55 , 0x22
5656};
5757
58- static const unsigned char TA1_DN [] = {
59- 0x30 , 0x50 , 0x31 , 0x0B , 0x30 , 0x09 , 0x06 , 0x03 , 0x55 , 0x04 , 0x06 , 0x13 ,
60- 0x02 , 0x55 , 0x53 , 0x31 , 0x17 , 0x30 , 0x15 , 0x06 , 0x03 , 0x55 , 0x04 , 0x0A ,
61- 0x13 , 0x0E , 0x41 , 0x72 , 0x64 , 0x75 , 0x69 , 0x6E , 0x6F , 0x20 , 0x4C , 0x4C ,
62- 0x43 , 0x20 , 0x55 , 0x53 , 0x31 , 0x0B , 0x30 , 0x09 , 0x06 , 0x03 , 0x55 , 0x04 ,
63- 0x0B , 0x13 , 0x02 , 0x49 , 0x54 , 0x31 , 0x1B , 0x30 , 0x19 , 0x06 , 0x03 , 0x55 ,
64- 0x04 , 0x03 , 0x13 , 0x12 , 0x63 , 0x65 , 0x73 , 0x2E , 0x69 , 0x6F , 0x74 , 0x2E ,
65- 0x61 , 0x72 , 0x64 , 0x75 , 0x69 , 0x6E , 0x6F , 0x2E , 0x63 , 0x63
66- };
67-
68- static const unsigned char TA1_EC_Q [] = {
69- 0x04 , 0x57 , 0x4A , 0xF7 , 0xFB , 0x20 , 0x2A , 0x1E , 0xBD , 0x98 , 0xD5 , 0xA8 ,
70- 0xFF , 0xD4 , 0xEF , 0x7B , 0x90 , 0xB9 , 0x37 , 0xA0 , 0xB7 , 0x00 , 0x16 , 0x09 ,
71- 0x57 , 0x3C , 0xD5 , 0x92 , 0x42 , 0xAA , 0x9F , 0x78 , 0xCF , 0xD5 , 0x54 , 0x21 ,
72- 0xE6 , 0x28 , 0x89 , 0x73 , 0x2A , 0x4E , 0xC3 , 0x9D , 0xBC , 0x10 , 0x57 , 0x79 ,
73- 0x91 , 0x87 , 0x93 , 0xD8 , 0xAE , 0x15 , 0xA7 , 0xDB , 0x79 , 0x56 , 0x4D , 0x5F ,
74- 0x96 , 0x8D , 0xE3 , 0xDC , 0x51
75- };
76-
77- static const br_x509_trust_anchor ArduinoIoTCloudTrustAnchor [2 ] = {
58+ static const br_x509_trust_anchor ArduinoIoTCloudTrustAnchor [1 ] = {
7859 {
7960 { (unsigned char * )TA0_DN , sizeof TA0_DN },
8061 BR_X509_TA_CA ,
@@ -87,23 +68,10 @@ static const br_x509_trust_anchor ArduinoIoTCloudTrustAnchor[2] = {
8768 }
8869 }
8970 }
90- },
91- {
92- { (unsigned char * )TA1_DN , sizeof TA1_DN },
93- 0 ,
94- {
95- BR_KEYTYPE_EC ,
96- {
97- .ec = {
98- BR_EC_secp256r1 ,
99- (unsigned char * )TA1_EC_Q , sizeof TA1_EC_Q ,
100- }
101- }
102- }
10371 }
10472};
10573
106- #define ArduinoIoTCloudTrustAnchor_NUM (2 )
74+ #define ArduinoIoTCloudTrustAnchor_NUM (1 )
10775
10876#endif /* #ifdef BOARD_HAS_ECCX08 */
10977
0 commit comments