Home
last modified time | relevance | path

Searched refs:boot_addr (Results 1 - 2 of 2) sorted by relevance

/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/
H A Dupg_check_boot_bin.c283 /* boot_addr:flashboot bin addr without ota head. boot_len: total len. */
284 hi_u32 upg_check_encrpt_boot_code(hi_u32 boot_addr, hi_u32 boot_len, hi_u8 *key_part1, hi_u8 *key_part2) in upg_check_encrpt_boot_code() argument
286 upg_print("[upg check encrpt boot]addr-len:0x%x-0x%x \r\n", boot_addr, boot_len); in upg_check_encrpt_boot_code()
293 hi_u32 ret = hi_flash_read(boot_addr, boot_len, boot); in upg_check_encrpt_boot_code()
414 /* boot_addr:flashboot bin addr without ota head. verify_len: from head to sign(not include). */
415 hi_u32 upg_check_non_secure_boot_bin(hi_u32 boot_addr, hi_u32 verify_len, hi_u32 sign_addr) in upg_check_non_secure_boot_bin() argument
426 upg_print("[upg_non_secure_boot_bin]addr-verifylen-signaddr:0x%x-0x%x-0x%x \r\n", boot_addr, verify_len, in upg_check_non_secure_boot_bin()
428 ret = upg_hash_one_content(boot_addr, verify_len, cal_hash, SHA_256_LENGTH); in upg_check_non_secure_boot_bin()
H A Dupg_common.c900 hi_u32 boot_addr = partiton->table[HI_FLASH_PARTITON_BOOT].addr; in upg_refresh_boot() local
918 ret = hi_flash_erase(boot_addr, boot_size); in upg_refresh_boot()
919 upg_print("[upg erase]ret-addr-size-end:0x%x-0x%x-0x%x-%d\r\n", ret, boot_addr, boot_size, hi_get_milli_seconds()); in upg_refresh_boot()
932 ret = hi_flash_write(boot_addr + offset, this_size, buf, HI_FALSE); in upg_refresh_boot()
946 hi_u32 boot_addr = partiton->table[HI_FLASH_PARTITON_BOOT].addr; in upg_get_boot_encrypt_flag() local
960 ret = hi_flash_read((boot_addr + head->sub_key_offset), sizeof(sub_key_common), (hi_u8 *)comk); in upg_get_boot_encrypt_flag()
975 hi_u32 boot_addr = partiton->table[HI_FLASH_PARTITON_BOOT].addr; in upg_get_aes_info() local
988 ret = hi_flash_read((boot_addr + head->sub_key_offset), sizeof(sub_key_common), (hi_u8 *)comk); in upg_get_aes_info()
1110 hi_u32 boot_addr = partiton->table[HI_FLASH_PARTITON_BOOT].addr; in upg_get_decrpt_rsa_key() local
1130 ret = hi_flash_read(boot_addr in upg_get_decrpt_rsa_key()
1160 hi_u32 boot_addr = partiton->table[HI_FLASH_PARTITON_BOOT].addr; upg_get_decrpt_ecc_key() local
1209 hi_u32 boot_addr = partiton->table[HI_FLASH_PARTITON_BOOT].addr; upg_get_rsa_key_from_boot() local
1255 hi_u32 boot_addr = partiton->table[HI_FLASH_PARTITON_BOOT].addr; upg_get_ecc_key_from_boot() local
[all...]

Completed in 4 milliseconds