Skip to content

Commit ab86eb7

Browse files
committed
Merge branch 'unused'
2 parents 4ab3db2 + d240d72 commit ab86eb7

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

test/hardware-fakes/include/fake_memory.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ bool memory_write_chunk_fake(uint32_t chunk_num, const uint8_t* chunk);
2727
void memory_read_chunk_fake(uint32_t chunk_num, uint8_t* chunk_out);
2828
// Size: `FLASH_SHARED_DATA_LEN`.
2929
void memory_read_shared_bootdata_fake(uint8_t* chunk_out);
30-
void fake_memory_set_salt_root(const uint8_t* salt_root);
3130
const uint8_t* fake_memory_get_salt_root(void);
3231
void memory_bootloader_hash_fake(uint8_t* hash_out);
3332
void memory_set_bootloader_hash_fake(const uint8_t* fake_hash);

test/hardware-fakes/src/fake_memory.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -226,10 +226,6 @@ static uint8_t _salt_root[32] = {
226226
0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33,
227227
};
228228

229-
void fake_memory_set_salt_root(const uint8_t* salt_root)
230-
{
231-
memcpy(_salt_root, salt_root, 32);
232-
}
233229
const uint8_t* fake_memory_get_salt_root(void)
234230
{
235231
return _salt_root;

0 commit comments

Comments
 (0)