Home
last modified time | relevance | path

Searched refs:HI_BLOCK_SIZE (Results 1 - 4 of 4) sorted by relevance

/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/upg/
H A Dboot_upg_tool.c22 hi_u8 g_upg_tool_block[HI_BLOCK_SIZE];
137 uintptr_t this_size = (total_size - offset > HI_BLOCK_SIZE) ? HI_BLOCK_SIZE : (total_size - offset); in boot_upg_hash_one_content()
168 uintptr_t this_size = ((size - offset) > HI_BLOCK_SIZE) ? HI_BLOCK_SIZE : (size - offset); in boot_upg_hash_more_content()
172 cs = (uintptr_t)block ^ HI_BLOCK_SIZE ^ (uintptr_t)(param->flash_addr[i] + offset) ^ this_size; in boot_upg_hash_more_content()
173 ret = (hi_u32)memcpy_s(block, HI_BLOCK_SIZE, (hi_u8 *)(param->flash_addr[i] + offset), this_size, cs); in boot_upg_hash_more_content()
238 if (key_length > HI_BLOCK_SIZE) { in boot_upg_lzma_secure_verify_code()
242 cs = (uintptr_t)key_e ^ HI_BLOCK_SIZE ^ 0 ^ HI_BLOCK_SIZE; in boot_upg_lzma_secure_verify_code()
[all...]
H A Dboot_upg_tool.h22 #define HI_BLOCK_SIZE 0x100 macro
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/
H A Dupg_check_secure.c25 hi_u8 g_upg_tool_block[HI_BLOCK_SIZE];
60 this_size = ((total_size - offset) > HI_BLOCK_SIZE) ? HI_BLOCK_SIZE : (total_size - offset); in upg_hash_one_content()
97 this_size = ((size - offset) > HI_BLOCK_SIZE) ? HI_BLOCK_SIZE : (size - offset); in upg_hash_more_content()
102 ret = (hi_u32)memcpy_s(block, HI_BLOCK_SIZE, (hi_u8 *)(param->flash_addr[i] + offset), this_size); in upg_hash_more_content()
H A Dupg_check_secure.h25 #define HI_BLOCK_SIZE 0x100 macro

Completed in 2 milliseconds