Skip to content

Commit

Permalink
update: encrypted binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
kentakayama committed Sep 15, 2024
1 parent 3872144 commit a6e9fe6
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 111 deletions.
2 changes: 1 addition & 1 deletion Makefile.process
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ define test-one

endef

TEST_NUM := 0 1 2A 2B 3 4 5 U I D S0 S1 S2 S3 S4 U0 U1
TEST_NUM := 0 1 2A 2B 3 4 5 U I D AF AW ED EW S0 S1 S2 S3 S4 U0 U1
.PHONY: test
test: all
$(foreach num,$(TEST_NUM),$(call test-one,$(num)))
Expand Down
10 changes: 5 additions & 5 deletions examples/suit_manifest_process_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,11 @@ const uint8_t encrypted_firmware_uri[] = {
0x66, 0x69, 0x72, 0x6D, 0x77, 0x61, 0x72, 0x65
}; // "https://example.com/encrypted-firmware"
const uint8_t encrypted_firmware_data[] = {
0x98, 0x90, 0xD8, 0xDC, 0x74, 0x0A, 0x2E, 0x82, 0xC2, 0xBE,
0xA9, 0xBA, 0xB1, 0x3E, 0x0B, 0xFA, 0x0F, 0xB4, 0xEB, 0x2B,
0xA3, 0xC0, 0xBC, 0xA4, 0xB2, 0x3A, 0x0D, 0x66, 0x0C, 0x5B,
0x30, 0x38, 0xF8, 0x63, 0x49, 0x33, 0x92, 0x1B, 0x3C, 0x2D,
0x1A, 0x84, 0xEE, 0x6C, 0x27, 0x79,
0x2F, 0x59, 0xC3, 0xA3, 0x4D, 0x95, 0x70, 0xFB, 0x99, 0xA5,
0x38, 0x2E, 0x66, 0x46, 0x6A, 0x32, 0x21, 0xA8, 0xAD, 0x85,
0xCE, 0x50, 0x8B, 0xA3, 0x06, 0xFB, 0x43, 0x1A, 0x60, 0xEF,
0xA5, 0xAA, 0xAA, 0x07, 0x83, 0x55, 0x07, 0x02, 0x05, 0xA4,
0xB1, 0x96, 0x83, 0x2D, 0xF1, 0x7F
};

struct name_data {
Expand Down
2 changes: 1 addition & 1 deletion testfiles/encrypted_image_esdh.bin
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4O�խ/C��c�o��7�i�>=cqM#�[�$���#E�x$]�a �
/YãM�p���8.fFj2!����P���C`索��U����-�
Binary file removed testfiles/suit_manifest_expEF.cbor
Binary file not shown.
104 changes: 0 additions & 104 deletions testfiles/suit_manifest_expEF.md

This file was deleted.

0 comments on commit a6e9fe6

Please sign in to comment.