Skip to content

Commit

Permalink
update: fetching binary from removed S1 to S0
Browse files Browse the repository at this point in the history
  • Loading branch information
kentakayama committed Sep 16, 2024
1 parent aac7699 commit 7bdab67
Showing 1 changed file with 20 additions and 38 deletions.
58 changes: 20 additions & 38 deletions examples/suit_manifest_process_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,43 +111,26 @@ const uint8_t dependency_uri[] = {
0x75, 0x69, 0x74
}; // "http://example.com/dependent.suit
const uint8_t dependency_data[] = {
0xD8, 0x6B, 0xA3, 0x01, 0x58, 0x9E, 0x81, 0x81, 0x58, 0x9A,
0xD2, 0x84, 0x43, 0xA1, 0x01, 0x26, 0xA0, 0x58, 0x4F, 0xA1,
0x08, 0xA1, 0x01, 0xA4, 0x01, 0x02, 0x20, 0x01, 0x21, 0x58,
0x20, 0x0E, 0x90, 0x8A, 0xA8, 0xF0, 0x66, 0xDB, 0x1F, 0x08,
0x4E, 0x0C, 0x36, 0x52, 0xC6, 0x39, 0x52, 0xBD, 0x99, 0xF2,
0xA5, 0xBD, 0xB2, 0x2F, 0x9E, 0x01, 0x36, 0x7A, 0xAD, 0x03,
0xAB, 0xA6, 0x8B, 0x22, 0x58, 0x20, 0x77, 0xDA, 0x1B, 0xD8,
0xAC, 0x4F, 0x0C, 0xB4, 0x90, 0xBA, 0x21, 0x06, 0x48, 0xBF,
0x79, 0xAB, 0x16, 0x4D, 0x49, 0xAD, 0x35, 0x51, 0xD7, 0x1D,
0x31, 0x4B, 0x27, 0x49, 0xEE, 0x42, 0xD2, 0x9A, 0x58, 0x40,
0xFB, 0x2D, 0x5A, 0xCF, 0x66, 0xB9, 0xC8, 0x57, 0x3C, 0xE9,
0x2E, 0x13, 0xBF, 0xB8, 0xD1, 0x13, 0xF7, 0x98, 0x71, 0x5C,
0xC1, 0x0B, 0x5A, 0x00, 0x10, 0xB1, 0x19, 0x25, 0xC1, 0x55,
0xE7, 0x24, 0x5A, 0x64, 0xE1, 0x31, 0x07, 0x3B, 0x87, 0xAC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 0x20, 0x30, 0x30,
0x17, 0x0F, 0x14, 0x52, 0x84, 0x14, 0xA1, 0x12, 0x4B, 0x68,
0x65, 0x6C, 0x6C, 0x6F, 0x20, 0x77, 0x6F, 0x72, 0x6C, 0x64,
0x12, 0x0F
}; // suit_manifest_expS1.suit
0xD8, 0x6B, 0xA2, 0x02, 0x58, 0x73, 0x82, 0x58, 0x24, 0x82,
0x2F, 0x58, 0x20, 0x0F, 0x02, 0xCA, 0xF6, 0xD3, 0xE6, 0x19,
0x20, 0xD3, 0x6B, 0xF3, 0xCE, 0xA7, 0xF8, 0x62, 0xA1, 0x3B,
0xB8, 0xFB, 0x1F, 0x09, 0xC3, 0xF4, 0xC2, 0x9B, 0x12, 0x1F,
0xEA, 0xB7, 0x8E, 0xF3, 0xD8, 0x58, 0x4A, 0xD2, 0x84, 0x43,
0xA1, 0x01, 0x26, 0xA0, 0xF6, 0x58, 0x40, 0xD0, 0x70, 0x3E,
0xA1, 0x93, 0xE1, 0x23, 0x81, 0xA6, 0x6F, 0xFA, 0xDE, 0xF2,
0xF0, 0x94, 0x97, 0x11, 0xCF, 0xE0, 0x5E, 0xD2, 0x32, 0x28,
0x18, 0xD7, 0x3D, 0x19, 0xF2, 0xBB, 0xD9, 0x1B, 0xE5, 0xC5,
0x2F, 0x16, 0x04, 0xB4, 0x5C, 0x40, 0x5E, 0x96, 0xB0, 0x64,
0x2F, 0x3D, 0x49, 0xB2, 0xD7, 0xC6, 0xE3, 0xB2, 0xC0, 0xB4,
0x00, 0x30, 0xBD, 0xDF, 0xBD, 0x27, 0xAF, 0x93, 0x0B, 0x1F,
0x8B, 0x03, 0x58, 0x42, 0xA6, 0x01, 0x01, 0x02, 0x00, 0x03,
0x47, 0xA1, 0x02, 0x81, 0x81, 0x42, 0x30, 0x30, 0x05, 0x81,
0x4E, 0x64, 0x65, 0x70, 0x65, 0x6E, 0x64, 0x65, 0x6E, 0x74,
0x2E, 0x73, 0x75, 0x69, 0x74, 0x09, 0x4D, 0x84, 0x14, 0xA1,
0x17, 0x46, 0x63, 0x61, 0x74, 0x20, 0x30, 0x30, 0x17, 0x0F,
0x14, 0x52, 0x84, 0x14, 0xA1, 0x12, 0x4B, 0x68, 0x65, 0x6C,
0x6C, 0x6F, 0x20, 0x77, 0x6F, 0x72, 0x6C, 0x64, 0x12, 0x0F
}; // suit_manifest_expS0.suit
const uint8_t encrypted_firmware_uri[] = {
0x68, 0x74, 0x74, 0x70, 0x73, 0x3A, 0x2F, 0x2F, 0x65, 0x78,
0x61, 0x6D, 0x70, 0x6C, 0x65, 0x2E, 0x63, 0x6F, 0x6D, 0x2F,
Expand Down Expand Up @@ -616,4 +599,3 @@ int main(int argc, char *argv[])

return EXIT_SUCCESS;
}

0 comments on commit 7bdab67

Please sign in to comment.