diff --git a/.gitignore b/.gitignore index da164ee..c66d46e 100644 --- a/.gitignore +++ b/.gitignore @@ -5,12 +5,14 @@ lib/ # tools/ # mfgtool/ .vscode/ +*.o make_flags.txt # prepar_vscode.py # vscode_cpp_setting.py python_script_log.log build_log.log -*.ld +sec_cpu_cco.addrs.ld +sec_cpu_sta.addrs.ld sp_applet.txt # file_exclude.py KL3_SG_BUILD_RECORE diff --git a/dtest/dtest3/kl3_i2c_test/stm32_i2c_slave/STM32F103RETX_FLASH.ld b/dtest/dtest3/kl3_i2c_test/stm32_i2c_slave/STM32F103RETX_FLASH.ld new file mode 100644 index 0000000..e869168 --- /dev/null +++ b/dtest/dtest3/kl3_i2c_test/stm32_i2c_slave/STM32F103RETX_FLASH.ld @@ -0,0 +1,185 @@ +/* +****************************************************************************** +** +** @file : LinkerScript.ld +** +** @author : Auto-generated by STM32CubeIDE +** +** @brief : Linker script for STM32F103RETx Device from STM32F1 series +** 512Kbytes FLASH +** 64Kbytes RAM +** +** Set heap size, stack size and stack location according +** to application requirements. +** +** Set memory bank area and size if external memory is used +** +** Target : STMicroelectronics STM32 +** +** Distribution: The file is distributed as is, without any warranty +** of any kind. +** +****************************************************************************** +** @attention +** +** Copyright (c) 2021 STMicroelectronics. +** All rights reserved. +** +** This software is licensed under terms that can be found in the LICENSE file +** in the root directory of this software component. +** If no LICENSE file comes with this software, it is provided AS-IS. +** +****************************************************************************** +*/ + +/* Entry Point */ +ENTRY(Reset_Handler) + +/* Highest address of the user mode stack */ +_estack = ORIGIN(RAM) + LENGTH(RAM); /* end of "RAM" Ram type memory */ + +_Min_Heap_Size = 0x200 ; /* required amount of heap */ +_Min_Stack_Size = 0x400 ; /* required amount of stack */ + +/* Memories definition */ +MEMORY +{ + RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 64K + FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 512K +} + +/* Sections */ +SECTIONS +{ + /* The startup code into "FLASH" Rom type memory */ + .isr_vector : + { + . = ALIGN(4); + KEEP(*(.isr_vector)) /* Startup code */ + . = ALIGN(4); + } >FLASH + + /* The program code and other data into "FLASH" Rom type memory */ + .text : + { + . = ALIGN(4); + *(.text) /* .text sections (code) */ + *(.text*) /* .text* sections (code) */ + *(.glue_7) /* glue arm to thumb code */ + *(.glue_7t) /* glue thumb to arm code */ + *(.eh_frame) + + KEEP (*(.init)) + KEEP (*(.fini)) + + . = ALIGN(4); + _etext = .; /* define a global symbols at end of code */ + } >FLASH + + /* Constant data into "FLASH" Rom type memory */ + .rodata : + { + . = ALIGN(4); + *(.rodata) /* .rodata sections (constants, strings, etc.) */ + *(.rodata*) /* .rodata* sections (constants, strings, etc.) */ + . = ALIGN(4); + } >FLASH + + .ARM.extab : { + . = ALIGN(4); + *(.ARM.extab* .gnu.linkonce.armextab.*) + . = ALIGN(4); + } >FLASH + + .ARM : { + . = ALIGN(4); + __exidx_start = .; + *(.ARM.exidx*) + __exidx_end = .; + . = ALIGN(4); + } >FLASH + + .preinit_array : + { + . = ALIGN(4); + PROVIDE_HIDDEN (__preinit_array_start = .); + KEEP (*(.preinit_array*)) + PROVIDE_HIDDEN (__preinit_array_end = .); + . = ALIGN(4); + } >FLASH + + .init_array : + { + . = ALIGN(4); + PROVIDE_HIDDEN (__init_array_start = .); + KEEP (*(SORT(.init_array.*))) + KEEP (*(.init_array*)) + PROVIDE_HIDDEN (__init_array_end = .); + . = ALIGN(4); + } >FLASH + + .fini_array : + { + . = ALIGN(4); + PROVIDE_HIDDEN (__fini_array_start = .); + KEEP (*(SORT(.fini_array.*))) + KEEP (*(.fini_array*)) + PROVIDE_HIDDEN (__fini_array_end = .); + . = ALIGN(4); + } >FLASH + + /* Used by the startup to initialize data */ + _sidata = LOADADDR(.data); + + /* Initialized data sections into "RAM" Ram type memory */ + .data : + { + . = ALIGN(4); + _sdata = .; /* create a global symbol at data start */ + *(.data) /* .data sections */ + *(.data*) /* .data* sections */ + *(.RamFunc) /* .RamFunc sections */ + *(.RamFunc*) /* .RamFunc* sections */ + + . = ALIGN(4); + _edata = .; /* define a global symbol at data end */ + + } >RAM AT> FLASH + + /* Uninitialized data section into "RAM" Ram type memory */ + . = ALIGN(4); + .bss : + { + /* This is used by the startup in order to initialize the .bss section */ + _sbss = .; /* define a global symbol at bss start */ + __bss_start__ = _sbss; + *(.bss) + *(.bss*) + *(COMMON) + + . = ALIGN(4); + _ebss = .; /* define a global symbol at bss end */ + __bss_end__ = _ebss; + } >RAM + + /* User_heap_stack section, used to check that there is enough "RAM" Ram type memory left */ + ._user_heap_stack : + { + . = ALIGN(8); + PROVIDE ( end = . ); + PROVIDE ( _end = . ); + . = . + _Min_Heap_Size; + . = . + _Min_Stack_Size; + . = ALIGN(8); + } >RAM + + /* Remove information from the compiler libraries */ + /DISCARD/ : + { + libc.a ( * ) + libm.a ( * ) + libgcc.a ( * ) + } + + .ARM.attributes 0 : { *(.ARM.attributes) } +} diff --git a/inc/config/iot_mem_config.h b/inc/config/iot_mem_config.h new file mode 100644 index 0000000..2b64f5e --- /dev/null +++ b/inc/config/iot_mem_config.h @@ -0,0 +1,146 @@ +#ifndef __MEM_CONFIG_H__ +#define __MEM_CONFIG_H__ +#include "iot_mem_org.h" +//FLASH SIZE && PSRAM SIZE +#define MEM_CFG_FLASH_SIZE (0x400000) +#define MEM_CFG_PSRAM_SIZE (0x0) + +//FLASH LAYOUT +//0x000000 ~ 0x020000 +#define MEM_CFG_LAYOUT_SBL_OFFSET (0x00000000) +#define MEM_CFG_LAYOUT_SBL_LENGTH (0xc000) //48k +#define MEM_CFG_LAYOUT_DD1_OFFSET (0x0000c000) +#define MEM_CFG_LAYOUT_DD1_LENGTH (0x2000) //8k +#define MEM_CFG_LAYOUT_DD2_OFFSET (0x0000e000) +#define MEM_CFG_LAYOUT_DD2_LENGTH (0x2000) //8k +#define MEM_CFG_LAYOUT_PARAM_OFFSET (0x00010000) +#define MEM_CFG_LAYOUT_PARAM_LENGTH (0x1000) //4k +#define MEM_CFG_LAYOUT_OEM_OFFSET (0x00011000) +#define MEM_CFG_LAYOUT_OEM_LENGTH (0x1000) //4k +#define MEM_CFG_LAYOUT_PIB1_OFFSET (0x00012000) +#define MEM_CFG_LAYOUT_PIB1_LENGTH (0x7000) //28k +#define MEM_CFG_LAYOUT_PIB2_OFFSET (0x00019000) +#define MEM_CFG_LAYOUT_PIB2_LENGTH (0x7000) //28k + +//0x300000 ~ 0x400000 +#define MEM_CFG_LAYOUT_CUST_CUS_OFFSET (0x00300000) +#define MEM_CFG_LAYOUT_CUST_CUS_LENGTH (0xdf000) //892k +#define MEM_CFG_LAYOUT_CUST_PLC_OFFSET (0x003df000) +#define MEM_CFG_LAYOUT_CUST_PLC_LENGTH (0x1f000) //124k +#define MEM_CFG_LAYOUT_CALI_CUS_OFFSET (0x003fe000) +#define MEM_CFG_LAYOUT_CALI_CUS_LENGTH (0x1000) //4k +#define MEM_CFG_LAYOUT_CALI_PLC_OFFSET (0x003ff000) +#define MEM_CFG_LAYOUT_CALI_PLC_LENGTH (0x1000) //4k + +//without psram +#define MEM_CFG_LAYOUT_RUN_CUS_OFFSET (0x00020000) +#define MEM_CFG_LAYOUT_RUN_CUS_LENGTH (0x40000) //256k +#define MEM_CFG_LAYOUT_RUN_PLC_OFFSET (0x00060000) +#define MEM_CFG_LAYOUT_RUN_PLC_LENGTH (0x120000) //1152k +#define MEM_CFG_LAYOUT_FW1_CUS_OFFSET (0x00180000) +#define MEM_CFG_LAYOUT_FW1_CUS_LENGTH (0x20000) //128k +#define MEM_CFG_LAYOUT_FW1_PLC_OFFSET (0x001a0000) +#define MEM_CFG_LAYOUT_FW1_PLC_LENGTH (0xa0000) //640k +#define MEM_CFG_LAYOUT_FW2_CUS_OFFSET (0x00240000) +#define MEM_CFG_LAYOUT_FW2_CUS_LENGTH (0x20000) //128k +#define MEM_CFG_LAYOUT_FW2_PLC_OFFSET (0x00260000) +#define MEM_CFG_LAYOUT_FW2_PLC_LENGTH (0xa0000) //640k +#define MEM_CFG_LAYOUT_LOG1_OFFSET (0x00000000) +#define MEM_CFG_LAYOUT_LOG1_LENGTH (0x0) //0k +#define MEM_CFG_LAYOUT_LOG2_OFFSET (0x00000000) +#define MEM_CFG_LAYOUT_LOG2_LENGTH (0x0) //0k + +#define MEM_CFG_CUS_FLASH_ADDRS (MEM_CFG_CHIP_ICACHE0_SFC_BASE + MEM_CFG_LAYOUT_RUN_CUS_OFFSET) +#define MEM_CFG_CUS_FLASH_SIZE (MEM_CFG_LAYOUT_RUN_CUS_LENGTH) //256k +#define MEM_CFG_CUS_DRAM_ADDRS (MEM_CFG_CHIP_DCACHE0_SMC_BASE) +#define MEM_CFG_CUS_DRAM_SIZE (0x10000) //64k +#define MEM_CFG_CUS_IRAM_ADDRS (MEM_CFG_CHIP_DCACHE1_SMC_BASE) +#define MEM_CFG_CUS_IRAM_SIZE (0x8000) //32k + +#define MEM_CFG_PLC_FLASH_ADDRS (MEM_CFG_CHIP_ICACHE1_SFC_BASE + MEM_CFG_LAYOUT_RUN_PLC_OFFSET) +#define MEM_CFG_PLC_FLASH_SIZE (MEM_CFG_LAYOUT_RUN_PLC_LENGTH) +#define MEM_CFG_PLC_DRAM_ADDRS (MEM_CFG_CHIP_RAM_BASE + 0x800) +#define MEM_CFG_PLC_DRAM_SIZE (0x5F800) //382k +#define MEM_CFG_PLC_IRAM_ADDRS (MEM_CFG_CHIP_ICACHE2_SMC_BASE) +#define MEM_CFG_PLC_IRAM_SIZE (0x80000) //32k + +//bbcpu fw +//run addrs +#define MEM_CFG_BBCPU_RUN_ADDRS (MEM_CFG_CHIP_RAM_BASE + 0x60000) +#define MEM_CFG_BBCPU_RUN_SIZE (0xD000) //52k +#define MEM_CFG_BBCPU_DRAM_ADDRS (MEM_CFG_CHIP_RAM_BASE + 0x6D000) +#define MEM_CFG_BBCPU_DRAM_SIZE (0x3000) //12k + +//DCACHE used as heap +#define MEM_CFG_HEAP1_ADDRS (MEM_CFG_CHIP_DCACHE0_SMC_BASE) +#define MEM_CFG_HEAP1_SIZE (0x10000) //64k +#define MEM_CFG_HEAP2_ADDRS (MEM_CFG_CHIP_DCACHE1_SMC_BASE) +#define MEM_CFG_HEAP2_SIZE (0x10000) //64k + +#define MEM_CFG_HEAP_COUNT 2 +#define MEM_CFG_HEAP_GROUP MEM_CFG_HEAP1_ADDRS, MEM_CFG_HEAP1_SIZE, \ + MEM_CFG_HEAP2_ADDRS, MEM_CFG_HEAP2_SIZE + +//AUTHORITY FOR PARTITIONS +#define MEM_CFG_AUTH_FOR_SBL (MEM_CFG_NONE(0) | MEM_CFG_NONE(1) | MEM_CFG_NONE(2)) +#define MEM_CFG_AUTH_FOR_DD1 (MEM_CFG_NONE(0) | MEM_CFG_NONE(1) | MEM_CFG_NONE(2)) +#define MEM_CFG_AUTH_FOR_DD2 (MEM_CFG_NONE(0) | MEM_CFG_NONE(1) | MEM_CFG_NONE(2)) +#define MEM_CFG_AUTH_FOR_PARAM (MEM_CFG_RW(0) | MEM_CFG_RW(1) | MEM_CFG_RW(2)) +#define MEM_CFG_AUTH_FOR_OEM (MEM_CFG_R_ONLY(0) | MEM_CFG_R_ONLY(1) | MEM_CFG_R_ONLY(2)) +#define MEM_CFG_AUTH_FOR_PIB1 (MEM_CFG_RW(0) | MEM_CFG_RW(1) | MEM_CFG_RW(2)) +#define MEM_CFG_AUTH_FOR_PIB2 (MEM_CFG_RW(0) | MEM_CFG_RW(1) | MEM_CFG_RW(2)) +#define MEM_CFG_AUTH_FOR_RUN_CUS (MEM_CFG_NONE(0) | MEM_CFG_NONE(1) | MEM_CFG_NONE(2)) +#define MEM_CFG_AUTH_FOR_RUN_PLC (MEM_CFG_RW(0) | MEM_CFG_NONE(1) | MEM_CFG_NONE(2)) +#define MEM_CFG_AUTH_FOR_FW1_CUS (MEM_CFG_RW(0) | MEM_CFG_RW(1) | MEM_CFG_RW(2)) +#define MEM_CFG_AUTH_FOR_FW1_PLC (MEM_CFG_RW(0) | MEM_CFG_RW(1) | MEM_CFG_RW(2)) +#define MEM_CFG_AUTH_FOR_FW2_CUS (MEM_CFG_RW(0) | MEM_CFG_RW(1) | MEM_CFG_RW(2)) +#define MEM_CFG_AUTH_FOR_FW2_PLC (MEM_CFG_RW(0) | MEM_CFG_RW(1) | MEM_CFG_RW(2)) +#define MEM_CFG_AUTH_FOR_CUS (MEM_CFG_RW(0) | MEM_CFG_R_ONLY(1) | MEM_CFG_R_ONLY(2)) +#define MEM_CFG_AUTH_FOR_PLC (MEM_CFG_NONE(0) | MEM_CFG_RW(1) | MEM_CFG_RW(2)) +#define MEM_CFG_AUTH_FOR_CALI_CUS (MEM_CFG_RW(0) | MEM_CFG_R_ONLY(1) | MEM_CFG_R_ONLY(2)) +#define MEM_CFG_AUTH_FOR_CALI_PLC (MEM_CFG_NONE(0) | MEM_CFG_RW(1) | MEM_CFG_RW(2)) +#define MEM_CFG_AUTH_FOR_LOG1 (MEM_CFG_RW(0) | MEM_CFG_RW(1) | MEM_CFG_RW(2)) +#define MEM_CFG_AUTH_FOR_LOG2 (MEM_CFG_RW(0) | MEM_CFG_RW(1) | MEM_CFG_RW(2)) + +//PARTITIONS TABLE +#define MEM_CFG_PARTITIONS {\ + {MEM_CFG_PART_NUM_SBL, MEM_CFG_LAYOUT_SBL_OFFSET, MEM_CFG_LAYOUT_SBL_LENGTH,\ + MEM_CFG_AUTH_FOR_SBL},\ + {MEM_CFG_PART_NUM_DD1, MEM_CFG_LAYOUT_DD1_OFFSET, MEM_CFG_LAYOUT_DD1_LENGTH,\ + MEM_CFG_AUTH_FOR_DD1},\ + {MEM_CFG_PART_NUM_DD2, MEM_CFG_LAYOUT_DD2_OFFSET, MEM_CFG_LAYOUT_DD2_LENGTH,\ + MEM_CFG_AUTH_FOR_DD2},\ + {MEM_CFG_PART_NUM_PARAM, MEM_CFG_LAYOUT_PARAM_OFFSET, MEM_CFG_LAYOUT_PARAM_LENGTH,\ + MEM_CFG_AUTH_FOR_PARAM},\ + {MEM_CFG_PART_NUM_OEM, MEM_CFG_LAYOUT_OEM_OFFSET, MEM_CFG_LAYOUT_OEM_LENGTH,\ + MEM_CFG_AUTH_FOR_OEM},\ + {MEM_CFG_PART_NUM_PIB1, MEM_CFG_LAYOUT_PIB1_OFFSET, MEM_CFG_LAYOUT_PIB1_LENGTH,\ + MEM_CFG_AUTH_FOR_PIB1},\ + {MEM_CFG_PART_NUM_PIB2, MEM_CFG_LAYOUT_PIB2_OFFSET, MEM_CFG_LAYOUT_PIB2_LENGTH,\ + MEM_CFG_AUTH_FOR_PIB2},\ + {MEM_CFG_PART_NUM_CUS, MEM_CFG_LAYOUT_CUST_CUS_OFFSET, MEM_CFG_LAYOUT_CUST_CUS_LENGTH,\ + MEM_CFG_AUTH_FOR_CUS},\ + {MEM_CFG_PART_NUM_PLC, MEM_CFG_LAYOUT_CUST_PLC_OFFSET, MEM_CFG_LAYOUT_CUST_PLC_LENGTH,\ + MEM_CFG_AUTH_FOR_PLC},\ + {MEM_CFG_PART_NUM_CALI_CUS, MEM_CFG_LAYOUT_CALI_CUS_OFFSET, MEM_CFG_LAYOUT_CALI_CUS_LENGTH,\ + MEM_CFG_AUTH_FOR_CALI_CUS},\ + {MEM_CFG_PART_NUM_CALI_PLC, MEM_CFG_LAYOUT_CALI_PLC_OFFSET, MEM_CFG_LAYOUT_CALI_PLC_OFFSET,\ + MEM_CFG_AUTH_FOR_CALI_PLC},\ + {MEM_CFG_PART_NUM_RUN_CUS, MEM_CFG_LAYOUT_RUN_CUS_OFFSET, MEM_CFG_LAYOUT_RUN_CUS_LENGTH,\ + MEM_CFG_AUTH_FOR_RUN_CUS},\ + {MEM_CFG_PART_NUM_RUN_PLC, MEM_CFG_LAYOUT_RUN_PLC_OFFSET, MEM_CFG_LAYOUT_RUN_PLC_LENGTH,\ + MEM_CFG_AUTH_FOR_RUN_PLC},\ + {MEM_CFG_PART_NUM_FW1_CUS, MEM_CFG_LAYOUT_FW1_CUS_OFFSET, MEM_CFG_LAYOUT_FW1_CUS_LENGTH,\ + MEM_CFG_AUTH_FOR_FW1_CUS},\ + {MEM_CFG_PART_NUM_FW1_PLC, MEM_CFG_LAYOUT_FW1_PLC_OFFSET, MEM_CFG_LAYOUT_FW1_PLC_LENGTH,\ + MEM_CFG_AUTH_FOR_FW1_PLC},\ + {MEM_CFG_PART_NUM_FW2_CUS, MEM_CFG_LAYOUT_FW2_CUS_OFFSET, MEM_CFG_LAYOUT_FW2_CUS_LENGTH,\ + MEM_CFG_AUTH_FOR_FW2_CUS},\ + {MEM_CFG_PART_NUM_FW2_PLC, MEM_CFG_LAYOUT_FW2_PLC_OFFSET, MEM_CFG_LAYOUT_FW2_PLC_LENGTH,\ + MEM_CFG_AUTH_FOR_FW2_PLC},\ + {MEM_CFG_PART_NUM_LOG1, MEM_CFG_LAYOUT_LOG1_OFFSET, MEM_CFG_LAYOUT_LOG1_LENGTH,\ + MEM_CFG_AUTH_FOR_LOG1},\ + {MEM_CFG_PART_NUM_LOG2, MEM_CFG_LAYOUT_LOG2_OFFSET, MEM_CFG_LAYOUT_LOG2_LENGTH,\ + MEM_CFG_AUTH_FOR_LOG2}\ +} +#endif \ No newline at end of file diff --git a/mfgtool/ah/add_header_v1.o b/mfgtool/ah/add_header_v1.o deleted file mode 100644 index 113117b..0000000 Binary files a/mfgtool/ah/add_header_v1.o and /dev/null differ diff --git a/mfgtool/ah/ah b/mfgtool/ah/ah deleted file mode 100755 index 4f8cc20..0000000 Binary files a/mfgtool/ah/ah and /dev/null differ diff --git a/mfgtool/ah/crc.o b/mfgtool/ah/crc.o deleted file mode 100644 index a2d0c54..0000000 Binary files a/mfgtool/ah/crc.o and /dev/null differ diff --git a/mfgtool/ah/sha256.o b/mfgtool/ah/sha256.o deleted file mode 100644 index 0b1125b..0000000 Binary files a/mfgtool/ah/sha256.o and /dev/null differ diff --git a/mfgtool/lzma/7zFile.o b/mfgtool/lzma/7zFile.o deleted file mode 100644 index f61a5c9..0000000 Binary files a/mfgtool/lzma/7zFile.o and /dev/null differ diff --git a/mfgtool/lzma/7zStream.o b/mfgtool/lzma/7zStream.o deleted file mode 100644 index 29a8a5a..0000000 Binary files a/mfgtool/lzma/7zStream.o and /dev/null differ diff --git a/mfgtool/lzma/Alloc.o b/mfgtool/lzma/Alloc.o deleted file mode 100644 index 5c94c87..0000000 Binary files a/mfgtool/lzma/Alloc.o and /dev/null differ diff --git a/mfgtool/lzma/LzFind.o b/mfgtool/lzma/LzFind.o deleted file mode 100644 index af906d7..0000000 Binary files a/mfgtool/lzma/LzFind.o and /dev/null differ diff --git a/mfgtool/lzma/LzmaDec.o b/mfgtool/lzma/LzmaDec.o deleted file mode 100644 index dc860b8..0000000 Binary files a/mfgtool/lzma/LzmaDec.o and /dev/null differ diff --git a/mfgtool/lzma/LzmaEnc.o b/mfgtool/lzma/LzmaEnc.o deleted file mode 100644 index c3edddb..0000000 Binary files a/mfgtool/lzma/LzmaEnc.o and /dev/null differ diff --git a/mfgtool/lzma/LzmaUtil.o b/mfgtool/lzma/LzmaUtil.o deleted file mode 100644 index 077b981..0000000 Binary files a/mfgtool/lzma/LzmaUtil.o and /dev/null differ diff --git a/mfgtool/lzma/elzma b/mfgtool/lzma/elzma deleted file mode 100755 index 7704c5f..0000000 Binary files a/mfgtool/lzma/elzma and /dev/null differ diff --git a/mfgtool/oem_tool/hw3/oem_tool_hw.o b/mfgtool/oem_tool/hw3/oem_tool_hw.o deleted file mode 100644 index db1dfbe..0000000 Binary files a/mfgtool/oem_tool/hw3/oem_tool_hw.o and /dev/null differ diff --git a/mfgtool/oem_tool/oem_common.o b/mfgtool/oem_tool/oem_common.o deleted file mode 100644 index b56c788..0000000 Binary files a/mfgtool/oem_tool/oem_common.o and /dev/null differ diff --git a/mfgtool/oem_tool/oem_tool b/mfgtool/oem_tool/oem_tool deleted file mode 100755 index ab8c960..0000000 Binary files a/mfgtool/oem_tool/oem_tool and /dev/null differ diff --git a/mfgtool/oem_tool/oem_tool.o b/mfgtool/oem_tool/oem_tool.o deleted file mode 100644 index 88a1770..0000000 Binary files a/mfgtool/oem_tool/oem_tool.o and /dev/null differ diff --git a/startup/ldscripts/riscv/rom.addrs.ld b/startup/ldscripts/riscv/rom.addrs.ld new file mode 100644 index 0000000..ad6c0bf --- /dev/null +++ b/startup/ldscripts/riscv/rom.addrs.ld @@ -0,0 +1,669 @@ +PROVIDE ( _gp = 0x00fc0d20 ); +PROVIDE ( _end = 0x00fc0c08 ); +PROVIDE ( iot_indir_tbl = 0x00fc0bac ); +PROVIDE ( crypto_stream_chacha20_ref_implementation = 0x00fc0510 ); +PROVIDE ( log_ctxt = 0x00fc0528 ); +PROVIDE ( rom_log_ctxt = 0x00fc0528 ); +PROVIDE ( memset = 0x00031892 ); +PROVIDE ( memcpy = 0x000317b0 ); +PROVIDE ( memcmp = 0x00050954 ); +PROVIDE ( iot_sprintf = 0x0003230e ); +PROVIDE ( iot_printf = 0x000323ee ); +PROVIDE ( rom_format_str_v = 0x00031abe ); +PROVIDE ( gcm_mult = 0x0003b1b2 ); +PROVIDE ( dhm_read_bignum = 0x0003c086 ); +PROVIDE ( dhm_check_range = 0x0003c0f6 ); +PROVIDE ( ecp_key_get_shared_len_wrap = 0x0003ccae ); +PROVIDE ( ecp_key_read_pub_asn1_wrap = 0x0003ccb6 ); +PROVIDE ( ecp_key_write_pub_asn1_wrap = 0x0003cd72 ); +PROVIDE ( ecp_key_compute_shared_wrap = 0x0003cdac ); +PROVIDE ( ecp_key_gen_ephemeral_wrap = 0x0003ce22 ); +PROVIDE ( ecp_key_free_wrap = 0x0003ce28 ); +PROVIDE ( ecp_key_alloc_wrap = 0x0003ce2c ); +PROVIDE ( fast_ec_key_write_pub_asn1_wrap = 0x0003ce50 ); +PROVIDE ( fast_ec_key_get_shared_len_wrap = 0x0003ceae ); +PROVIDE ( fast_ec_key_compute_shared_wrap = 0x0003ceb4 ); +PROVIDE ( fast_ec_key_gen_ephemeral_wrap = 0x0003cf0c ); +PROVIDE ( fast_ec_key_free_wrap = 0x0003cf48 ); +PROVIDE ( fast_ec_key_alloc_wrap = 0x0003cf4c ); +PROVIDE ( fast_ec_key_read_pub_asn1_wrap = 0x0003cf6e ); +PROVIDE ( entropy_update = 0x0003d020 ); +PROVIDE ( entropy_gather_internal = 0x0003d084 ); +PROVIDE ( mbedtls_mpi_mod_int.part.3 = 0x0003e06e ); +PROVIDE ( mpi_write_hlp = 0x0003f540 ); +PROVIDE ( mpi_check_small_factors = 0x0003f74e ); +PROVIDE ( mpi_miller_rabin = 0x000400d0 ); +PROVIDE ( block_cipher_df = 0x00040a78 ); +PROVIDE ( ctr_drbg_update_internal = 0x00040c20 ); +PROVIDE ( verify_header = 0x00040fc4 ); +PROVIDE ( verify_chain = 0x0004100c ); +PROVIDE ( buffer_alloc_calloc = 0x0004104a ); +PROVIDE ( buffer_alloc_free = 0x0004117e ); +PROVIDE ( pk_write_ec_pubkey = 0x0004192c ); +PROVIDE ( mbedtls_sha1_update.part.0 = 0x00043a5e ); +PROVIDE ( rsa_can_do = 0x00043cca ); +PROVIDE ( rsa_get_bitlen = 0x00043cd8 ); +PROVIDE ( rsa_debug = 0x00043cde ); +PROVIDE ( eckey_can_do = 0x00043d04 ); +PROVIDE ( eckey_get_bitlen = 0x00043d0c ); +PROVIDE ( eckey_debug = 0x00043d10 ); +PROVIDE ( eckeydh_can_do = 0x00043d26 ); +PROVIDE ( ecdsa_can_do = 0x00043d2e ); +PROVIDE ( rsa_alt_can_do = 0x00043d36 ); +PROVIDE ( rsa_alt_get_bitlen = 0x00043d3e ); +PROVIDE ( rsa_alt_sign_wrap = 0x00043d50 ); +PROVIDE ( rsa_alt_decrypt_wrap = 0x00043daa ); +PROVIDE ( fast_ec_x25519_can_do = 0x00043e22 ); +PROVIDE ( fast_ec_ed25519_can_do = 0x00043e2a ); +PROVIDE ( rsa_free_wrap = 0x00043e32 ); +PROVIDE ( rsa_alloc_wrap = 0x00043e4c ); +PROVIDE ( rsa_check_pair_wrap = 0x00043e74 ); +PROVIDE ( rsa_encrypt_wrap = 0x00043e78 ); +PROVIDE ( rsa_decrypt_wrap = 0x00043e9e ); +PROVIDE ( rsa_sign_wrap = 0x00043ec2 ); +PROVIDE ( rsa_verify_wrap = 0x00043ee0 ); +PROVIDE ( eckey_free_wrap = 0x00043f28 ); +PROVIDE ( eckey_alloc_wrap = 0x00043f42 ); +PROVIDE ( eckey_check_pair = 0x00043f66 ); +PROVIDE ( eckey_encrypt_wrap = 0x00043f6a ); +PROVIDE ( fast_ec_encrypt_wrap = 0x00043fc0 ); +PROVIDE ( eckey_decrypt_wrap = 0x00044016 ); +PROVIDE ( fast_ec_decrypt_wrap = 0x0004406c ); +PROVIDE ( ecdsa_alloc_wrap = 0x000440c2 ); +PROVIDE ( ecdsa_free_wrap = 0x000440e6 ); +PROVIDE ( ecdsa_sign_wrap = 0x00044100 ); +PROVIDE ( eckey_sign_wrap = 0x00044104 ); +PROVIDE ( ecdsa_verify_wrap = 0x0004416e ); +PROVIDE ( eckey_verify_wrap = 0x00044196 ); +PROVIDE ( rsa_alt_alloc_wrap = 0x000441fa ); +PROVIDE ( rsa_alt_check_pair = 0x00044220 ); +PROVIDE ( fast_ec_free_wrap = 0x000442c8 ); +PROVIDE ( fast_ec_alloc_wrap = 0x000442e2 ); +PROVIDE ( fast_ec_check_pair = 0x00044304 ); +PROVIDE ( fast_ec_get_bitlen = 0x00044308 ); +PROVIDE ( fast_ec_sign_wrap = 0x0004430e ); +PROVIDE ( fast_ec_verify_wrap = 0x0004431a ); +PROVIDE ( rsa_alt_free_wrap = 0x00043e0c ); +PROVIDE ( x25519_compute_shared_func = 0x00044340 ); +PROVIDE ( x25519_get_pub_wrap = 0x00044374 ); +PROVIDE ( x25519_gen_key_wrap = 0x00044390 ); +PROVIDE ( ed25519_compute_shared_func = 0x000443d0 ); +PROVIDE ( ed25519_verify_wrap = 0x0004441e ); +PROVIDE ( ed25519_sign_wrap = 0x00044444 ); +PROVIDE ( ed25519_get_pub_wrap = 0x00044462 ); +PROVIDE ( ed25519_gen_key_wrap = 0x0004447e ); +PROVIDE ( pk_use_ecparams = 0x00044646 ); +PROVIDE ( pk_parse_key_pkcs1_der = 0x000444be ); +PROVIDE ( pk_get_pk_alg = 0x000445e4 ); +PROVIDE ( pk_parse_key_sec1_der = 0x0004494a ); +PROVIDE ( pk_parse_key_pkcs8_unencrypted_der = 0x00044b04 ); +PROVIDE ( oid_sig_alg_from_asn1 = 0x00045560 ); +PROVIDE ( get_no_padding = 0x00045c74 ); +PROVIDE ( mgf_mask = 0x0004643a ); +PROVIDE ( ecp_mod_p255 = 0x000489ca ); +PROVIDE ( ecp_mod_p192k1 = 0x00048bf4 ); +PROVIDE ( ecp_mod_p224k1 = 0x00048d70 ); +PROVIDE ( ecp_mod_p256k1 = 0x00048a74 ); +PROVIDE ( mbedtls_md5_update.part.0 = 0x0004a280 ); +PROVIDE ( derive_mpi = 0x0004b016 ); +PROVIDE ( md5_process_wrap = 0x0004b5b4 ); +PROVIDE ( md5_clone_wrap = 0x0004b5b8 ); +PROVIDE ( md5_ctx_free = 0x0004b5bc ); +PROVIDE ( md5_ctx_alloc = 0x0004b5d6 ); +PROVIDE ( md5_finish_wrap = 0x0004b5fa ); +PROVIDE ( md5_update_wrap = 0x0004b5fe ); +PROVIDE ( md5_starts_wrap = 0x0004b602 ); +PROVIDE ( sha1_process_wrap = 0x0004b606 ); +PROVIDE ( sha1_clone_wrap = 0x0004b60a ); +PROVIDE ( sha1_ctx_free = 0x0004b60e ); +PROVIDE ( sha1_ctx_alloc = 0x0004b628 ); +PROVIDE ( sha1_finish_wrap = 0x0004b64c ); +PROVIDE ( sha1_update_wrap = 0x0004b650 ); +PROVIDE ( sha1_starts_wrap = 0x0004b654 ); +PROVIDE ( sha224_process_wrap = 0x0004b658 ); +PROVIDE ( sha224_clone_wrap = 0x0004b65c ); +PROVIDE ( sha224_ctx_free = 0x0004b660 ); +PROVIDE ( sha224_ctx_alloc = 0x0004b67a ); +PROVIDE ( sha224_wrap = 0x0004b69e ); +PROVIDE ( sha256_wrap = 0x0004b6a4 ); +PROVIDE ( sha224_finish_wrap = 0x0004b6aa ); +PROVIDE ( sha224_update_wrap = 0x0004b6ae ); +PROVIDE ( sha224_starts_wrap = 0x0004b6b2 ); +PROVIDE ( sha256_starts_wrap = 0x0004b6b8 ); +PROVIDE ( sha384_process_wrap = 0x0004b6be ); +PROVIDE ( sha384_clone_wrap = 0x0004b6c2 ); +PROVIDE ( sha384_ctx_free = 0x0004b6c6 ); +PROVIDE ( sha384_ctx_alloc = 0x0004b6e0 ); +PROVIDE ( sha384_wrap = 0x0004b704 ); +PROVIDE ( sha512_wrap = 0x0004b70a ); +PROVIDE ( sha384_finish_wrap = 0x0004b710 ); +PROVIDE ( sha384_update_wrap = 0x0004b714 ); +PROVIDE ( sha384_starts_wrap = 0x0004b718 ); +PROVIDE ( sha512_starts_wrap = 0x0004b71e ); +PROVIDE ( ecp_modp = 0x0004b76c ); +PROVIDE ( ecp_normalize_jac = 0x0004b826 ); +PROVIDE ( ecp_safe_invert_jac = 0x0004b8fc ); +PROVIDE ( ecp_double_jac = 0x0004b952 ); +PROVIDE ( ecp_normalize_jac_many = 0x0004bd94 ); +PROVIDE ( ecp_select_comb = 0x0004bf94 ); +PROVIDE ( ecp_add_mixed = 0x0004c2b8 ); +PROVIDE ( ecp_mul_comb = 0x0004c67a ); +PROVIDE ( mbedtls_ecp_mul_shortcuts = 0x0004d672 ); +PROVIDE ( gcm_ctx_free = 0x0004d9dc ); +PROVIDE ( gcm_ctx_alloc = 0x0004d9f6 ); +PROVIDE ( gcm_aes_setkey_wrap = 0x0004da1a ); +PROVIDE ( aes_ctx_free = 0x0004da24 ); +PROVIDE ( aes_ctx_alloc = 0x0004da3c ); +PROVIDE ( aes_setkey_dec_wrap = 0x0004da5e ); +PROVIDE ( aes_setkey_enc_wrap = 0x0004da60 ); +PROVIDE ( aes_crypt_ctr_wrap = 0x0004da62 ); +PROVIDE ( aes_crypt_cbc_wrap = 0x0004da64 ); +PROVIDE ( aes_crypt_ecb_wrap = 0x0004da66 ); +PROVIDE ( platform_calloc_uninit = 0x0004da68 ); +PROVIDE ( platform_free_uninit = 0x0004da6c ); +PROVIDE ( platform_snprintf_uninit = 0x0004da6e ); +PROVIDE ( platform_printf_uninit = 0x0004da80 ); +PROVIDE ( platform_fprintf_uninit = 0x0004da96 ); +PROVIDE ( platform_exit_uninit = 0x0004daaa ); +PROVIDE ( poly1305_init = 0x0004e778 ); +PROVIDE ( poly1305_blocks = 0x0004e8d6 ); +PROVIDE ( poly1305_update = 0x0004ec92 ); +PROVIDE ( crypto_onetimeauth_poly1305_donna_init = 0x0004edac ); +PROVIDE ( crypto_onetimeauth_poly1305_donna_update = 0x0004edba ); +PROVIDE ( poly1305_finish = 0x0004edc8 ); +PROVIDE ( crypto_onetimeauth_poly1305_donna_final = 0x0004efc0 ); +PROVIDE ( crypto_onetimeauth_poly1305_donna = 0x0004efce ); +PROVIDE ( crypto_onetimeauth_poly1305_donna_verify = 0x0004f022 ); +PROVIDE ( chacha_keysetup = 0x0004f0bc ); +PROVIDE ( stream_ietf_ref_xor_ic = 0x0004fc6e ); +PROVIDE ( stream_ref_xor_ic = 0x0004fd00 ); +PROVIDE ( stream_ref = 0x0004fe58 ); +PROVIDE ( stream_ietf_ref = 0x0004fde0 ); +PROVIDE ( mbedtls_rsa_rsaes_oaep_encrypt = 0x00046b7a ); +PROVIDE ( mbedtls_cipher_reset = 0x00045e88 ); +PROVIDE ( mbedtls_fast_ec_get_name = 0x000494fe ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_sq = 0x00037466 ); +PROVIDE ( mbedtls_ctr_drbg_init = 0x00040d48 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_tobytes = 0x00038a24 ); +PROVIDE ( strcpy = 0x00031734 ); +PROVIDE ( mbedtls_pkcs12_derivation = 0x0003c7ac ); +PROVIDE ( crypto_aead_chacha20poly1305_decrypt = 0x0004e210 ); +PROVIDE ( mbedtls_ctr_drbg_set_prediction_resistance = 0x00040d7c ); +PROVIDE ( SFC_OPR_SET = 0x00030a60 ); +PROVIDE ( mbedtls_mpi_grow = 0x0003e112 ); +PROVIDE ( mbedtls_md_starts = 0x00045262 ); +PROVIDE ( mbedtls_asn1_get_bitstring_null = 0x00041644 ); +PROVIDE ( crypto_aead_xchacha20poly1305_ietf_encrypt_detached = 0x0004e4ac ); +PROVIDE ( mbedtls_ecp_point_init = 0x0004c120 ); +PROVIDE ( mbedtls_oid_get_oid_by_kdf_alg = 0x000459f2 ); +PROVIDE ( mbedtls_fast_ec_get_shared_len = 0x00049526 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_p2_dbl = 0x00037160 ); +PROVIDE ( mbedtls_rsa_free = 0x000479b8 ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_invert = 0x00038036 ); +PROVIDE ( mbedtls_hardware_poll = 0x0004dcb4 ); +PROVIDE ( crypto_onetimeauth_poly1305_update = 0x0004e73c ); +PROVIDE ( mbedtls_asn1_write_tag = 0x0004a610 ); +PROVIDE ( mbedtls_ctr_drbg_update = 0x00040d88 ); +PROVIDE ( mbedtls_ecdh_init = 0x0004ad66 ); +PROVIDE ( mbedtls_gcm_init = 0x0003b322 ); +PROVIDE ( mbedtls_asn1_get_len = 0x0004135e ); +PROVIDE ( mbedtls_ecp_point_cmp = 0x0004cc0e ); +PROVIDE ( CRC32_Update = 0x00030e60 ); +PROVIDE ( mbedtls_dhm_read_params = 0x0003c164 ); +PROVIDE ( sFlashPageRead = 0x00030dae ); +PROVIDE ( mbedtls_strerror = 0x00047d08 ); +PROVIDE ( crypto_aead_xchacha20poly1305_ietf_encrypt = 0x0004e570 ); +PROVIDE ( crypto_aead_chacha20poly1305_ietf_abytes = 0x0004e48c ); +PROVIDE ( mbedtls_mpi_write_binary = 0x0003e73a ); +PROVIDE ( mbedtls_ecp_keypair_free = 0x0004c21e ); +PROVIDE ( mbedtls_ecp_muladd = 0x0004d704 ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_1 = 0x00037136 ); +PROVIDE ( mbedtls_ed25519_pubkey_to_curve25519 = 0x00038456 ); +PROVIDE ( mbedtls_ed25519_verify = 0x00038614 ); +PROVIDE ( mbedtls_asn1_get_alg = 0x0004177e ); +PROVIDE ( mbedtls_ecdsa_sign = 0x0004b08e ); +PROVIDE ( mbedtls_mpi_sub_int = 0x0003f018 ); +PROVIDE ( mbedtls_kdf2 = 0x00045b14 ); +PROVIDE ( mbedtls_asn1_write_ia5_string = 0x0004aa5c ); +PROVIDE ( memmove = 0x000509a6 ); +PROVIDE ( mbedtls_asn1_get_bool = 0x0004145e ); +PROVIDE ( crypto_aead_xchacha20poly1305_ietf_decrypt = 0x0004e696 ); +PROVIDE ( mbedtls_ecies_write_hmac = 0x0003be90 ); +PROVIDE ( mbedtls_version_check_feature = 0x00045c2c ); +PROVIDE ( mbedtls_aes_free = 0x0004db90 ); +PROVIDE ( mbedtls_sha256_init = 0x0004dbb4 ); +PROVIDE ( crypto_aead_chacha20poly1305_ietf_decrypt_detached = 0x0004e27e ); +PROVIDE ( mbedtls_dhm_make_public = 0x0003c340 ); +PROVIDE ( mbedtls_kdf_info_from_type = 0x0004db0a ); +PROVIDE ( mbedtls_ecp_copy = 0x0004c240 ); +PROVIDE ( crypto_stream_chacha20_keygen = 0x0004f0a2 ); +PROVIDE ( mbedtls_hmac_drbg_seed_buf = 0x0003d78c ); +PROVIDE ( mbedtls_mpi_shrink = 0x0003e12e ); +PROVIDE ( crypto_verify_64 = 0x0004ff68 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_p3_to_cached = 0x00038a74 ); +PROVIDE ( mbedtls_fast_ec_info_from_type = 0x000491ba ); +PROVIDE ( mbedtls_cipher_auth_encrypt = 0x000463ae ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_p3_tobytes = 0x00037d10 ); +PROVIDE ( mbedtls_kdf_info_from_string = 0x0004dade ); +PROVIDE ( mbedtls_sha1_finish = 0x00043b2c ); +PROVIDE ( crypto_aead_xchacha20poly1305_ietf_abytes = 0x0004e712 ); +PROVIDE ( mbedtls_rsa_rsaes_oaep_decrypt = 0x00046e36 ); +PROVIDE ( mbedtls_rsa_pkcs1_decrypt = 0x00047180 ); +PROVIDE ( mbedtls_pk_can_do = 0x0003d3ea ); +PROVIDE ( mbedtls_sha256 = 0x0004229a ); +PROVIDE ( mbedtls_rsa_rsassa_pss_verify = 0x0004777a ); +PROVIDE ( FLASH_WRITE_ENABLE = 0x00030b1a ); +PROVIDE ( mbedtls_rsa_check_privkey = 0x0004659c ); +PROVIDE ( mbedtls_pk_get_type = 0x0003d6bc ); +PROVIDE ( romUartBoot = 0x000306aa ); +PROVIDE ( crypto_stream_chacha20_xor = 0x0004f07a ); +PROVIDE ( mbedtls_mpi_read_string = 0x0003edd6 ); +PROVIDE ( mbedtls_ctr_drbg_free = 0x00040d52 ); +PROVIDE ( mbedtls_ctr_drbg_random_with_add = 0x00040ec8 ); +PROVIDE ( mbedtls_asn1_write_octet_string = 0x0004ab7c ); +PROVIDE ( sha256_init = 0x00031096 ); +PROVIDE ( mbedtls_curve25519_sign = 0x00038838 ); +PROVIDE ( mbedtls_md = 0x000452c2 ); +PROVIDE ( mbedtls_ecp_group_copy = 0x0004c27e ); +PROVIDE ( iot_printf = 0x000323ee ); +PROVIDE ( mbedtls_ecdh_gen_public = 0x0004acde ); +PROVIDE ( mbedtls_asn1_get_tag = 0x0004143a ); +PROVIDE ( mbedtls_ecdsa_verify = 0x0004b24a ); +PROVIDE ( mbedtls_ctr_drbg_set_entropy_len = 0x00040d80 ); +PROVIDE ( _crypto_onetimeauth_poly1305_pick_best_implementation = 0x0004e768 ); +PROVIDE ( romAHBInit = 0x00030388 ); +PROVIDE ( mbedtls_fast_ec_compute_pub = 0x00049376 ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_pow22523 = 0x00038c2e ); +PROVIDE ( mbedtls_sha256_finish = 0x0004dc24 ); +PROVIDE ( mbedtls_mpi_shift_r = 0x0003e87c ); +PROVIDE ( mbedtls_sha512_clone = 0x0004dc36 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_p2_0 = 0x0003938c ); +PROVIDE ( mbedtls_ctr_drbg_random = 0x00040fbe ); +PROVIDE ( mbedtls_ed25519_sign = 0x000384de ); +PROVIDE ( mbedtls_pk_write_pubkey = 0x000419ae ); +PROVIDE ( mbedtls_mpi_gen_prime = 0x000408a8 ); +PROVIDE ( mbedtls_ecp_curve_info_from_grp_id = 0x0004c07e ); +PROVIDE ( mbedtls_asn1_write_algorithm_identifier_no_params = 0x0004a85e ); +PROVIDE ( mbedtls_mpi_get_bit = 0x0003e52a ); +PROVIDE ( mbedtls_ecies_decrypt = 0x0003dd70 ); +PROVIDE ( mbedtls_mpi_read_binary = 0x0003e674 ); +PROVIDE ( crypto_core_hchacha20_outputbytes = 0x000505bc ); +PROVIDE ( sha256_starts = 0x000310b4 ); +PROVIDE ( mbedtls_asn1_write_int = 0x0004a928 ); +PROVIDE ( mbedtls_sha1_init = 0x000422e2 ); +PROVIDE ( crypto_stream_chacha20_ietf_keygen = 0x0004f0aa ); +PROVIDE ( mbedtls_cipher_info_from_values = 0x00045d26 ); +PROVIDE ( mbedtls_asn1_get_int = 0x000414d2 ); +PROVIDE ( mbedtls_ctr_drbg_seed_entropy_len = 0x00040e4e ); +PROVIDE ( mbedtls_fast_ec_copy = 0x000492f2 ); +PROVIDE ( crypto_onetimeauth_poly1305_verify = 0x0004e728 ); +PROVIDE ( mbedtls_ecies_write_kdf = 0x0003bdd6 ); +PROVIDE ( memcpy = 0x000317b0 ); +PROVIDE ( sUartPutString = 0x000316a0 ); +PROVIDE ( mbedtls_sha1_starts = 0x0004236e ); +PROVIDE ( mbedtls_sha1_process = 0x000423aa ); +PROVIDE ( mbedtls_cipher_info_from_string = 0x00045ce4 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_scalarmult_base = 0x00032574 ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_frombytes = 0x00038f94 ); +PROVIDE ( mbedtls_hmac_drbg_random_with_add = 0x0003d930 ); +PROVIDE ( mbedtls_fast_ec_get_type = 0x000494f4 ); +PROVIDE ( crypto_aead_chacha20poly1305_keybytes = 0x0004e490 ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_isnonzero = 0x00038b5a ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_mul = 0x000326ea ); +PROVIDE ( mbedtls_platform_set_printf = 0x0004dac0 ); +PROVIDE ( mbedtls_ecp_curve_info_from_name = 0x0004c0da ); +PROVIDE ( mbedtls_aes_setkey_dec = 0x0004db9c ); +PROVIDE ( mbedtls_ecp_group_free = 0x0004c1a4 ); +PROVIDE ( crypto_onetimeauth_poly1305_statebytes = 0x0004e75a ); +PROVIDE ( mbedtls_kdf_list = 0x0004dad8 ); +PROVIDE ( mbedtls_rsa_copy = 0x00047c00 ); +PROVIDE ( mbedtls_version_get_string_full = 0x0003ba8a ); +PROVIDE ( mbedtls_rsa_rsaes_pkcs1_v15_encrypt = 0x00046cce ); +PROVIDE ( mbedtls_ecies_read_hmac = 0x0003bc0a ); +PROVIDE ( mbedtls_asn1_get_alg_null = 0x00041860 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_add = 0x00038e30 ); +PROVIDE ( mbedtls_sha256_starts = 0x0004dc12 ); +PROVIDE ( crypto_aead_chacha20poly1305_nsecbytes = 0x0004e49a ); +PROVIDE ( mbedtls_sha256_update = 0x0004dc1e ); +PROVIDE ( mbedtls_mpi_bitlen = 0x0003e600 ); +PROVIDE ( mbedtls_ecdsa_free = 0x0004b5b0 ); +PROVIDE ( mbedtls_rsa_check_pubkey = 0x0004651c ); +PROVIDE ( mbedtls_sha512_free = 0x0004dc30 ); +PROVIDE ( mbedtls_md5_update = 0x0004a348 ); +PROVIDE ( mbedtls_oid_get_md_alg = 0x0004585a ); +PROVIDE ( mbedtls_ecp_check_pub_priv = 0x0004d90a ); +PROVIDE ( mbedtls_mpi_mul_mpi = 0x0004db78 ); +PROVIDE ( FLASH_SECTOR_ERASE = 0x00030b4c ); +PROVIDE ( mbedtls_kdf = 0x0004db32 ); +PROVIDE ( mbedtls_ecp_set_zero = 0x0004c284 ); +PROVIDE ( mbedtls_dhm_free = 0x0003c632 ); +PROVIDE ( mbedtls_cipher_auth_decrypt = 0x000463ea ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_0 = 0x00039738 ); +PROVIDE ( crypto_core_hchacha20_keybytes = 0x000505c6 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_p3_to_p2 = 0x00036f68 ); +PROVIDE ( mbedtls_mpi_init = 0x0003e0c2 ); +PROVIDE ( mbedtls_mpi_lsb = 0x0003e5ca ); +PROVIDE ( mbedtls_pkcs12_pbe = 0x0003cc96 ); +PROVIDE ( randombytes_buf = 0x0004db62 ); +PROVIDE ( mbedtls_oid_get_oid_by_sig_alg = 0x00045606 ); +PROVIDE ( mbedtls_cipher_free = 0x00045d60 ); +PROVIDE ( mbedtls_memory_buffer_alloc_free = 0x0004134a ); +PROVIDE ( mbedtls_curve25519_verify = 0x00038980 ); +PROVIDE ( iot_sprintf = 0x0003230e ); +PROVIDE ( mbedtls_pk_parse_key = 0x00044e76 ); +PROVIDE ( mbedtls_oid_get_numeric_string = 0x00045a38 ); +PROVIDE ( crypto_core_hchacha20_constbytes = 0x000505cc ); +PROVIDE ( mbedtls_hmac_drbg_reseed = 0x0003d7ee ); +PROVIDE ( mbedtls_rsa_rsaes_pkcs1_v15_decrypt = 0x00047024 ); +PROVIDE ( mbedtls_pk_free = 0x0003d2e6 ); +PROVIDE ( mbedtls_pk_get_name = 0x0003d6a8 ); +PROVIDE ( __udivdi3 = 0x000505d0 ); +PROVIDE ( mbedtls_mpi_add_mpi = 0x0003ecf2 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_p3_0 = 0x00039712 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_frombytes_negate_vartime = 0x00039762 ); +PROVIDE ( mbedtls_sha512 = 0x0003c75c ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_sub = 0x000392de ); +PROVIDE ( crypto_aead_chacha20poly1305_ietf_nsecbytes = 0x0004e488 ); +PROVIDE ( mbedtls_md5_process = 0x000495e6 ); +PROVIDE ( mbedtls_asn1_write_bool = 0x0004a8c2 ); +PROVIDE ( mbedtls_hmac_drbg_set_entropy_len = 0x0003d928 ); +PROVIDE ( mbedtls_hmac_drbg_set_prediction_resistance = 0x0003d924 ); +PROVIDE ( mbedtls_oid_get_oid_by_pk_alg = 0x000456ae ); +PROVIDE ( mbedtls_pk_decrypt = 0x0003d5e2 ); +PROVIDE ( mbedtls_gcm_setkey = 0x0003b32c ); +PROVIDE ( mbedtls_ecp_gen_keypair = 0x0004d8b8 ); +PROVIDE ( mbedtls_asn1_write_mpi = 0x0004a66a ); +PROVIDE ( mbedtls_mpi_sub_mpi = 0x0003ed5e ); +PROVIDE ( crypto_core_hchacha20 = 0x0004ff98 ); +PROVIDE ( mbedtls_md_get_name = 0x00045556 ); +PROVIDE ( mbedtls_rsa_rsassa_pss_verify_ext = 0x00047558 ); +PROVIDE ( mbedtls_dhm_calc_secret = 0x0003c41e ); +PROVIDE ( mbedtls_ctr_drbg_seed = 0x00040ec2 ); +PROVIDE ( mbedtls_ecdh_get_params = 0x0004ae84 ); +PROVIDE ( crypto_aead_xchacha20poly1305_ietf_nsecbytes = 0x0004e70e ); +PROVIDE ( mbedtls_asn1_get_bitstring = 0x000415b0 ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_add = 0x00038ac0 ); +PROVIDE ( mbedtls_asn1_store_named_data = 0x0004abfa ); +PROVIDE ( mbedtls_ecies_write_version = 0x0003bdbc ); +PROVIDE ( mbedtls_oid_get_oid_by_md = 0x000458c6 ); +PROVIDE ( mbedtls_gcm_starts = 0x0003b51e ); +PROVIDE ( mbedtls_rsa_pkcs1_encrypt = 0x00046e06 ); +PROVIDE ( mbedtls_rsa_rsassa_pkcs1_v15_sign = 0x00047354 ); +PROVIDE ( mbedtls_ecp_point_read_binary = 0x0004cd70 ); +PROVIDE ( crypto_aead_chacha20poly1305_encrypt_detached = 0x0004dcc2 ); +PROVIDE ( crypto_aead_chacha20poly1305_decrypt_detached = 0x0004e098 ); +PROVIDE ( crypto_aead_chacha20poly1305_ietf_encrypt = 0x0004e032 ); +PROVIDE ( mbedtls_asn1_write_printable_string = 0x0004a9de ); +PROVIDE ( crypto_aead_xchacha20poly1305_ietf_keygen = 0x0004e716 ); +PROVIDE ( mbedtls_ctr_drbg_reseed = 0x00040db0 ); +PROVIDE ( crypto_aead_chacha20poly1305_ietf_keygen = 0x0004e4aa ); +PROVIDE ( mbedtls_ecies_read_content_info = 0x0003bca0 ); +PROVIDE ( mbedtls_mpi_lset = 0x0003e4e8 ); +PROVIDE ( mbedtls_md5_free = 0x0004953a ); +PROVIDE ( mbedtls_fast_ec_sign = 0x0004938e ); +PROVIDE ( mbedtls_cipher_write_tag = 0x00046298 ); +PROVIDE ( mbedtls_platform_set_fprintf = 0x0004dac8 ); +PROVIDE ( mbedtls_ecp_point_read_string = 0x0004cc56 ); +PROVIDE ( mbedtls_ecies_read_envelope = 0x0003baf8 ); +PROVIDE ( mbedtls_rsa_public = 0x00046890 ); +PROVIDE ( mbedtls_ecdsa_from_keypair = 0x0004b560 ); +PROVIDE ( mbedtls_ecp_gen_key = 0x0004d8c6 ); +PROVIDE ( mbedtls_pk_verify_ext = 0x0003d476 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_p1p1_to_p3 = 0x00038ed8 ); +PROVIDE ( mbedtls_mpi_div_int = 0x0003f4e6 ); +PROVIDE ( mbedtls_fast_ec_init = 0x000491de ); +PROVIDE ( mbedtls_cipher_setkey = 0x00045dee ); +PROVIDE ( crypto_stream_chacha20_keybytes = 0x0004f03e ); +PROVIDE ( mbedtls_sha512_process = 0x0004dca2 ); +PROVIDE ( mbedtls_pk_get_bitlen = 0x0003d66c ); +PROVIDE ( mbedtls_mpi_mul_int = 0x0003f03e ); +PROVIDE ( mbedtls_mpi_exp_mod = 0x0003f7cc ); +PROVIDE ( mbedtls_mpi_safe_cond_assign = 0x0003e368 ); +PROVIDE ( mbedtls_aes_setkey_enc = 0x0004db96 ); +PROVIDE ( mbedtls_ecies_read_version = 0x0003bb16 ); +PROVIDE ( mbedtls_cipher_update = 0x00045ed2 ); +PROVIDE ( mbedtls_hardclock_poll = 0x0004b724 ); +PROVIDE ( mbedtls_ecp_curve_list = 0x0004c034 ); +PROVIDE ( mbedtls_kdf_get_type = 0x0004db28 ); +PROVIDE ( mbedtls_md_init = 0x0004514c ); +PROVIDE ( mbedtls_dhm_make_params = 0x0003c1cc ); +PROVIDE ( mbedtls_oid_get_pkcs12_pbe_alg = 0x0004590c ); +PROVIDE ( crypto_sign_ed25519_ref10_sc_muladd = 0x000333d2 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_p3_dbl = 0x00038018 ); +PROVIDE ( mbedtls_ecp_gen_keypair_base = 0x0004d788 ); +PROVIDE ( mbedtls_mpi_cmp_abs = 0x0003e906 ); +PROVIDE ( mbedtls_pk_verify = 0x0003d3fc ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_copy = 0x00039896 ); +PROVIDE ( mbedtls_rsa_check_pub_priv = 0x00046844 ); +PROVIDE ( mbedtls_entropy_free = 0x0003d1b8 ); +PROVIDE ( mbedtls_asn1_write_bitstring = 0x0004aada ); +PROVIDE ( mbedtls_fast_ec_free = 0x00049274 ); +PROVIDE ( crypto_stream_chacha20_ietf_keybytes = 0x0004f048 ); +PROVIDE ( mbedtls_ecp_point_free = 0x0004c17e ); +PROVIDE ( mbedtls_sha512_update = 0x0004dca8 ); +PROVIDE ( mbedtls_platform_set_exit = 0x0004dad0 ); +PROVIDE ( mbedtls_cipher_setup = 0x00045d8e ); +PROVIDE ( mbedtls_mpi_cmp_int = 0x0003eace ); +PROVIDE ( mbedtls_ecp_check_pubkey = 0x0004cf34 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_madd = 0x00033330 ); +PROVIDE ( mbedtls_entropy_init = 0x0003d12c ); +PROVIDE ( mbedtls_memory_buffer_alloc_init = 0x000412ca ); +PROVIDE ( mbedtls_pk_write_key_pkcs8_der = 0x00041bb2 ); +PROVIDE ( mbedtls_mpi_mod_int = 0x0003f50c ); +PROVIDE ( mbedtls_oid_get_oid_by_cipher_alg = 0x00045812 ); +PROVIDE ( mbedtls_fast_ec_get_key_bitlen = 0x00049508 ); +PROVIDE ( crypto_aead_chacha20poly1305_abytes = 0x0004e49e ); +PROVIDE ( mbedtls_ecies_encrypt = 0x0003da28 ); +PROVIDE ( mbedtls_ecdh_read_params = 0x0004ae42 ); +PROVIDE ( mbedtls_oid_get_cipher_alg = 0x000457a6 ); +PROVIDE ( mbedtls_rsa_rsassa_pss_sign = 0x000471b6 ); +PROVIDE ( mbedtls_mpi_copy = 0x0003e1f6 ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_sq2 = 0x000367a6 ); +PROVIDE ( _crypto_stream_chacha20_pick_best_implementation = 0x0004f0ac ); +PROVIDE ( mbedtls_ed25519_get_pubkey = 0x000383f8 ); +PROVIDE ( mbedtls_ecdsa_init = 0x0004b5ac ); +PROVIDE ( mbedtls_curve25519_key_exchange = 0x00038682 ); +PROVIDE ( mbedtls_sha1_update = 0x00043b26 ); +PROVIDE ( mbedtls_mpi_swap = 0x0003e2a2 ); +PROVIDE ( mbedtls_ecdh_read_public = 0x0004af62 ); +PROVIDE ( mbedtls_ed25519_key_to_curve25519 = 0x000384a2 ); +PROVIDE ( mbedtls_dhm_read_public = 0x0003c312 ); +PROVIDE ( crypto_verify_16 = 0x0004ff0a ); +PROVIDE ( crypto_stream_chacha20_ietf = 0x0004f05c ); +PROVIDE ( mbedtls_asn1_write_len = 0x0004a4c2 ); +PROVIDE ( mbedtls_md_hmac_update = 0x000453e0 ); +PROVIDE ( mbedtls_ecp_tls_read_group = 0x0004ce74 ); +PROVIDE ( mbedtls_mpi_shift_l = 0x0003e79c ); +PROVIDE ( mbedtls_mpi_cmp_mpi = 0x0003e9d8 ); +PROVIDE ( mbedtls_gcm_finish = 0x0003b824 ); +PROVIDE ( mbedtls_ecp_group_load = 0x00048eec ); +PROVIDE ( crypto_stream_chacha20_noncebytes = 0x0004f044 ); +PROVIDE ( mbedtls_asn1_write_oid = 0x0004a750 ); +PROVIDE ( mbedtls_ecp_point_write_binary = 0x0004cc9a ); +PROVIDE ( mbedtls_ctr_drbg_set_reseed_interval = 0x00040d84 ); +PROVIDE ( mbedtls_dhm_parse_dhm = 0x0003c6a2 ); +PROVIDE ( mbedtls_oid_get_sig_alg = 0x000455dc ); +PROVIDE ( mbedtls_rsa_pkcs1_verify = 0x0004795e ); +PROVIDE ( mbedtls_mpi_add_abs = 0x0003eaf4 ); +PROVIDE ( mbedtls_ecdh_make_params = 0x0004adbe ); +PROVIDE ( mbedtls_entropy_gather = 0x0003d204 ); +PROVIDE ( mbedtls_ecdh_compute_shared = 0x0004ace2 ); +PROVIDE ( mbedtls_ecdsa_genkey = 0x0004b51a ); +PROVIDE ( mbedtls_fast_ec_verify = 0x000493de ); +PROVIDE ( mbedtls_mpi_mod_mpi = 0x0004db7e ); +PROVIDE ( mbedtls_md_process = 0x0004551a ); +PROVIDE ( crypto_stream_chacha20_xor_ic = 0x0004f066 ); +PROVIDE ( mbedtls_md_setup = 0x00045202 ); +PROVIDE ( crypto_aead_chacha20poly1305_npubbytes = 0x0004e496 ); +PROVIDE ( mbedtls_fast_ec_compute_shared = 0x0004942a ); +PROVIDE ( mbedtls_ecdsa_write_signature = 0x0004b3a6 ); +PROVIDE ( crypto_aead_chacha20poly1305_keygen = 0x0004e4a2 ); +PROVIDE ( crypto_onetimeauth_poly1305_keybytes = 0x0004e754 ); +PROVIDE ( mbedtls_platform_set_calloc_free = 0x0004daac ); +PROVIDE ( mbedtls_pk_parse_subpubkey = 0x00044c98 ); +PROVIDE ( mbedtls_cipher_check_tag = 0x000462c6 ); +PROVIDE ( mbedtls_hmac_drbg_free = 0x0003da02 ); +PROVIDE ( crypto_stream_chacha20_ietf_xor_ic = 0x0004f070 ); +PROVIDE ( mbedtls_cipher_crypt = 0x0004633e ); +PROVIDE ( mbedtls_pk_encrypt = 0x0003d608 ); +PROVIDE ( mbedtls_mpi_gcd = 0x0003fe74 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_precomp_0 = 0x0003241c ); +PROVIDE ( mbedtls_md_finish = 0x000452a2 ); +PROVIDE ( mbedtls_sha256_clone = 0x0004dbc0 ); +PROVIDE ( mbedtls_ecp_mul = 0x0004d148 ); +PROVIDE ( mbedtls_hmac_drbg_update = 0x0003d6d4 ); +PROVIDE ( mbedtls_md_list = 0x0004505c ); +PROVIDE ( mbedtls_pk_sign = 0x0003d554 ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_cswap = 0x00037b8c ); +PROVIDE ( crypto_verify_16_bytes = 0x0004ff34 ); +PROVIDE ( crypto_sign_ed25519_ref10_sc_reduce = 0x000398d8 ); +PROVIDE ( mbedtls_rsa_private = 0x00046924 ); +PROVIDE ( mbedtls_md5_starts = 0x000495b4 ); +PROVIDE ( mbedtls_ecdh_make_public = 0x0004aef0 ); +PROVIDE ( crypto_core_hchacha20_inputbytes = 0x000505c2 ); +PROVIDE ( mbedtls_md_get_type = 0x0004554c ); +PROVIDE ( mbedtls_kdf_get_name = 0x0004db1e ); +PROVIDE ( mbedtls_oid_get_sig_alg_desc = 0x000455bc ); +PROVIDE ( mbedtls_gcm_crypt_and_tag = 0x0003b95a ); +PROVIDE ( mbedtls_sha256_free = 0x0004dbba ); +PROVIDE ( mbedtls_version_get_number = 0x0003ba5a ); +PROVIDE ( mbedtls_ecies_write_content_info = 0x0003bf82 ); +PROVIDE ( mbedtls_gcm_auth_decrypt = 0x0003b9ba ); +PROVIDE ( crypto_onetimeauth_poly1305_init = 0x0004e732 ); +PROVIDE ( mbedtls_ecp_keypair_init = 0x0004c154 ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_neg = 0x00038f2e ); +PROVIDE ( mbedtls_md_hmac_finish = 0x00045404 ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_tobytes = 0x00037d5c ); +PROVIDE ( mbedtls_aes_init = 0x0004db8a ); +PROVIDE ( crypto_stream_chacha20_ietf_noncebytes = 0x0004f04e ); +PROVIDE ( mbedtls_cipher_init = 0x00045d56 ); +PROVIDE ( crypto_verify_32 = 0x0004ff38 ); +PROVIDE ( mbedtls_pk_info_from_type = 0x0003d312 ); +PROVIDE ( mbedtls_sha256_process = 0x0004dc18 ); +PROVIDE ( mbedtls_rsa_set_padding = 0x00046512 ); +PROVIDE ( mbedtls_md5_init = 0x00049530 ); +PROVIDE ( mbedtls_cipher_info_from_type = 0x00045cba ); +PROVIDE ( mbedtls_fast_ec_get_sig_len = 0x0004951c ); +PROVIDE ( mbedtls_cipher_list = 0x00045c86 ); +PROVIDE ( mbedtls_md5_clone = 0x0004954e ); +PROVIDE ( mbedtls_md_init_ctx = 0x0004525e ); +PROVIDE ( mbedtls_md_info_from_string = 0x00045066 ); +PROVIDE ( mbedtls_sha512_finish = 0x0004dcae ); +PROVIDE ( mbedtls_asn1_find_named_data = 0x000418f0 ); +PROVIDE ( crypto_aead_xchacha20poly1305_ietf_npubbytes = 0x0004e70a ); +PROVIDE ( mbedtls_platform_set_snprintf = 0x0004dab8 ); +PROVIDE ( mbedtls_mpi_add_int = 0x0003eff2 ); +PROVIDE ( crypto_stream_chacha20_ietf_xor = 0x0004f094 ); +PROVIDE ( mbedtls_asn1_free_named_data_list = 0x000418c0 ); +PROVIDE ( crypto_aead_chacha20poly1305_ietf_encrypt_detached = 0x0004de9e ); +PROVIDE ( mbedtls_pk_debug = 0x0003d67e ); +PROVIDE ( mbedtls_fast_ec_gen_key = 0x00049358 ); +PROVIDE ( mbedtls_entropy_update_manual = 0x0003d1fc ); +PROVIDE ( mbedtls_ecp_is_zero = 0x0004cbf8 ); +PROVIDE ( mbedtls_ecdh_free = 0x0004ad70 ); +PROVIDE ( crypto_onetimeauth_poly1305 = 0x0004e71e ); +PROVIDE ( mbedtls_oid_get_pk_alg = 0x00045642 ); +PROVIDE ( crypto_aead_xchacha20poly1305_ietf_decrypt_detached = 0x0004e5d6 ); +PROVIDE ( mbedtls_ecp_tls_write_group = 0x0004ceda ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_isnegative = 0x0003987e ); +PROVIDE ( mbedtls_pk_write_key_der = 0x00042026 ); +PROVIDE ( mbedtls_mpi_inv_mod = 0x000403f8 ); +PROVIDE ( crypto_verify_64_bytes = 0x0004ff92 ); +PROVIDE ( mbedtls_hmac_drbg_seed = 0x0003d88a ); +PROVIDE ( mbedtls_sha1_clone = 0x00042300 ); +PROVIDE ( mbedtls_ecp_tls_write_point = 0x0004ce40 ); +PROVIDE ( mbedtls_mpi_div_mpi = 0x0003f058 ); +PROVIDE ( mbedtls_mpi_size = 0x0003e664 ); +PROVIDE ( mbedtls_cipher_update_ad = 0x00045e9e ); +PROVIDE ( mbedtls_aes_crypt_ecb = 0x0004dba2 ); +PROVIDE ( mbedtls_sha1_free = 0x000422ec ); +PROVIDE ( mbedtls_aes_crypt_ctr = 0x0004dbae ); +PROVIDE ( mbedtls_asn1_get_mpi = 0x00041554 ); +PROVIDE ( mbedtls_mpi_set_bit = 0x0003e54a ); +PROVIDE ( crypto_aead_chacha20poly1305_ietf_keybytes = 0x0004e47e ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_cmov = 0x00036f98 ); +PROVIDE ( crypto_onetimeauth_poly1305_bytes = 0x0004e750 ); +PROVIDE ( mbedtls_asn1_write_raw_buffer = 0x0004a62e ); +PROVIDE ( mbedtls_mpi_is_prime = 0x00040812 ); +PROVIDE ( mbedtls_ecp_curve_info_from_tls_id = 0x0004c0aa ); +PROVIDE ( mbedtls_rsa_rsassa_pkcs1_v15_verify = 0x00047798 ); +PROVIDE ( mbedtls_sha1 = 0x00043c4e ); +PROVIDE ( mbedtls_curve25519_get_pubkey = 0x00038624 ); +PROVIDE ( mbedtls_ecdsa_read_signature = 0x0004b472 ); +PROVIDE ( mbedtls_asn1_get_sequence_of = 0x000416aa ); +PROVIDE ( mbedtls_pkcs12_pbe_sha1_rc4_128 = 0x0003c7a4 ); +PROVIDE ( crypto_stream_chacha20 = 0x0004f052 ); +PROVIDE ( mbedtls_pkcs12_pbe_ext = 0x0003ca50 ); +PROVIDE ( mbedtls_gcm_update = 0x0003b6ea ); +PROVIDE ( mpi_montmul = 0x0004db84 ); +PROVIDE ( mbedtls_ecp_tls_read_point = 0x0004ce0e ); +PROVIDE ( mbedtls_oid_get_ec_grp = 0x000456f4 ); +PROVIDE ( mbedtls_fast_ec_check_pub_priv = 0x0004945e ); +PROVIDE ( mbedtls_md_clone = 0x000451cc ); +PROVIDE ( mbedtls_gcm_free = 0x0003ba36 ); +PROVIDE ( mbedtls_ecp_group_init = 0x0004c146 ); +PROVIDE ( mbedtls_ecp_grp_id_list = 0x0004c03e ); +PROVIDE ( mbedtls_md_hmac_reset = 0x00045468 ); +PROVIDE ( mbedtls_sha512_init = 0x0004dc2a ); +PROVIDE ( mbedtls_ecies_write_envelope = 0x0003bd5a ); +PROVIDE ( mbedtls_sha512_starts = 0x0004dc9c ); +PROVIDE ( mbedtls_md_update = 0x00045282 ); +PROVIDE ( crypto_aead_chacha20poly1305_ietf_npubbytes = 0x0004e484 ); +PROVIDE ( crypto_aead_chacha20poly1305_ietf_decrypt = 0x0004e410 ); +PROVIDE ( mbedtls_md_get_size = 0x0004553a ); +PROVIDE ( crypto_onetimeauth_poly1305_final = 0x0004e746 ); +PROVIDE ( sodium_memzero = 0x0004dcba ); +PROVIDE ( mbedtls_md5_finish = 0x0004a34e ); +PROVIDE ( mbedtls_mpi_free = 0x0003e0d2 ); +PROVIDE ( crypto_verify_32_bytes = 0x0004ff62 ); +PROVIDE ( mbedtls_md_hmac = 0x000454aa ); +PROVIDE ( mbedtls_asn1_write_null = 0x0004a71c ); +PROVIDE ( xModemReciveframe = 0x00030e90 ); +PROVIDE ( crypto_aead_xchacha20poly1305_ietf_keybytes = 0x0004e704 ); +PROVIDE ( mbedtls_fast_ec_setup = 0x00049210 ); +PROVIDE ( mbedtls_pk_parse_public_key = 0x00045046 ); +PROVIDE ( mbedtls_hmac_drbg_random = 0x0003d9fc ); +PROVIDE ( mbedtls_ecdh_calc_secret = 0x0004af9a ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_double_scalarmult_vartime = 0x00039456 ); +PROVIDE ( mbedtls_pk_setup_rsa_alt = 0x0003d374 ); +PROVIDE ( mbedtls_dhm_init = 0x0003c15a ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_mul121666 = 0x000371e0 ); +PROVIDE ( mbedtls_aes_crypt_cbc = 0x0004dba8 ); +PROVIDE ( mbedtls_hmac_drbg_init = 0x0003d6ca ); +PROVIDE ( mbedtls_hmac_drbg_set_reseed_interval = 0x0003d92c ); +PROVIDE ( mbedtls_pk_write_pubkey_der = 0x00041a92 ); +PROVIDE ( mbedtls_mpi_safe_cond_swap = 0x0003e41c ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_sub = 0x00038d84 ); +PROVIDE ( mbedtls_oid_get_oid_by_ec_grp = 0x00045760 ); +PROVIDE ( mbedtls_cipher_finish = 0x00046134 ); +PROVIDE ( mbedtls_md_hmac_starts = 0x000452e4 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_p1p1_to_p2 = 0x000326ac ); +PROVIDE ( mbedtls_fast_ec_get_key_len = 0x00049512 ); +PROVIDE ( crypto_onetimeauth_poly1305_keygen = 0x0004e760 ); +PROVIDE ( mbedtls_cipher_set_padding_mode = 0x00046264 ); +PROVIDE ( mbedtls_rsa_init = 0x000464e4 ); +PROVIDE ( mbedtls_rsa_pkcs1_sign = 0x0004753e ); +PROVIDE ( mbedtls_pk_setup = 0x0003d32e ); +PROVIDE ( mbedtls_pk_init = 0x0003d2da ); +PROVIDE ( mbedtls_mpi_sub_abs = 0x0003ebfc ); +PROVIDE ( mbedtls_mpi_fill_random = 0x00040088 ); +PROVIDE ( mbedtls_entropy_func = 0x0003d206 ); +PROVIDE ( mbedtls_md_info_from_type = 0x00045130 ); +PROVIDE ( mbedtls_entropy_add_source = 0x0003d1c8 ); +PROVIDE ( mbedtls_md_free = 0x0004517e ); +PROVIDE ( mbedtls_mpi_write_string = 0x0003f5ec ); +PROVIDE ( mbedtls_rsa_gen_key = 0x00047a2e ); +PROVIDE ( mbedtls_version_get_string = 0x0003ba60 ); +PROVIDE ( mbedtls_asn1_free_named_data = 0x0004188a ); +PROVIDE ( mbedtls_oid_get_kdf_alg = 0x00045986 ); +PROVIDE ( mbedtls_ecp_check_privkey = 0x0004d0d6 ); +PROVIDE ( mbedtls_memory_buffer_set_verify = 0x000412c2 ); +PROVIDE ( mbedtls_cipher_set_iv = 0x00045e30 ); +PROVIDE ( mbedtls_pk_check_pair = 0x0003d62e ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_msub = 0x00037094 ); +PROVIDE ( mbedtls_ecies_read_kdf = 0x0003bb3a ); +PROVIDE ( mbedtls_asn1_write_algorithm_identifier = 0x0004a7ce ); +PROVIDE ( mbedtls_ecies_info_from_type = 0x0003cffc ); +PROVIDE ( crypto_aead_chacha20poly1305_encrypt = 0x0004de38 ); +PROVIDE ( mbedtls_memory_buffer_alloc_verify = 0x000412c8 ); +PROVIDE ( mbedtls_md5 = 0x0004a452 ); diff --git a/startup/ldscripts/riscv/sp_cco.addrs.ld b/startup/ldscripts/riscv/sp_cco.addrs.ld new file mode 100755 index 0000000..89779a2 --- /dev/null +++ b/startup/ldscripts/riscv/sp_cco.addrs.ld @@ -0,0 +1 @@ +PROVIDE ( _gp = 0x10000d40 ); diff --git a/startup/ldscripts/riscv/sp_sta.addrs.ld b/startup/ldscripts/riscv/sp_sta.addrs.ld new file mode 100755 index 0000000..89779a2 --- /dev/null +++ b/startup/ldscripts/riscv/sp_sta.addrs.ld @@ -0,0 +1 @@ +PROVIDE ( _gp = 0x10000d40 ); diff --git a/startup/ldscripts/riscv2/rom.addrs.ld b/startup/ldscripts/riscv2/rom.addrs.ld new file mode 100644 index 0000000..19d8dc9 --- /dev/null +++ b/startup/ldscripts/riscv2/rom.addrs.ld @@ -0,0 +1,505 @@ +PROVIDE ( _gp = 0x0ffd8d24 ); +PROVIDE ( _end = 0x0ffd8c30 ); +PROVIDE ( iot_indir_tbl = 0x0ffd8bcc ); +PROVIDE ( log_ctxt = 0x0ffd852c ); +PROVIDE ( rom_log_ctxt = 0x0ffd852c ); +PROVIDE ( memset = 0x00031772 ); +PROVIDE ( memcpy = 0x000316aa ); +PROVIDE ( memcmp = 0x00053674 ); +PROVIDE ( iot_sprintf = 0x000323f2 ); +PROVIDE ( iot_printf = 0x000324fa ); +PROVIDE ( rom_format_str_v = 0x00031afe ); +PROVIDE ( mbedtls_rsa_rsaes_oaep_encrypt = 0x00046f24 ); +PROVIDE ( mbedtls_cipher_reset = 0x00046186 ); +PROVIDE ( mbedtls_fast_ec_get_name = 0x00049844 ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_sq = 0x000377e8 ); +PROVIDE ( mbedtls_ctr_drbg_init = 0x00040cc6 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_tobytes = 0x00038ee4 ); +PROVIDE ( strcpy = 0x0003168e ); +PROVIDE ( mbedtls_pkcs12_derivation = 0x0003cbe8 ); +PROVIDE ( crypto_aead_chacha20poly1305_decrypt = 0x0004fccc ); +PROVIDE ( mbedtls_ctr_drbg_set_prediction_resistance = 0x00040d0c ); +PROVIDE ( SFC_OPR_SET = 0x00030b5e ); +PROVIDE ( mbedtls_mpi_grow = 0x0003e87e ); +PROVIDE ( mbedtls_md_starts = 0x000455ea ); +PROVIDE ( mbedtls_asn1_get_bitstring_null = 0x00041638 ); +PROVIDE ( crypto_aead_xchacha20poly1305_ietf_encrypt_detached = 0x0004ffb8 ); +PROVIDE ( mbedtls_ecp_point_init = 0x0004c556 ); +PROVIDE ( mbedtls_oid_get_oid_by_kdf_alg = 0x00045d00 ); +PROVIDE ( mbedtls_fast_ec_get_shared_len = 0x00049894 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_p2_dbl = 0x00037518 ); +PROVIDE ( mbedtls_rsa_free = 0x00047dfe ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_invert = 0x00038352 ); +PROVIDE ( mbedtls_hardware_poll = 0x0004f76c ); +PROVIDE ( crypto_onetimeauth_poly1305_update = 0x00050292 ); +PROVIDE ( mbedtls_asn1_write_tag = 0x0004a740 ); +PROVIDE ( mbedtls_ctr_drbg_update = 0x00040d36 ); +PROVIDE ( mbedtls_ecdh_init = 0x0004ae04 ); +PROVIDE ( mbedtls_gcm_init = 0x0003b784 ); +PROVIDE ( mbedtls_asn1_get_len = 0x000413c4 ); +PROVIDE ( mbedtls_ecp_point_cmp = 0x0004d132 ); +PROVIDE ( CRC32_Update = 0x00030d78 ); +PROVIDE ( mbedtls_dhm_read_params = 0x0003c584 ); +PROVIDE ( sFlashPageRead = 0x00030cfc ); +PROVIDE ( mbedtls_strerror = 0x00048170 ); +PROVIDE ( crypto_aead_xchacha20poly1305_ietf_encrypt = 0x0005006a ); +PROVIDE ( crypto_aead_chacha20poly1305_ietf_abytes = 0x0004ff50 ); +PROVIDE ( mbedtls_mpi_write_binary = 0x0003edd4 ); +PROVIDE ( mbedtls_ecp_keypair_free = 0x0004c654 ); +PROVIDE ( mbedtls_ecp_muladd = 0x0004dd20 ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_1 = 0x000374e4 ); +PROVIDE ( mbedtls_ed25519_pubkey_to_curve25519 = 0x000387d4 ); +PROVIDE ( mbedtls_ed25519_verify = 0x000389e8 ); +PROVIDE ( mbedtls_asn1_get_alg = 0x00041734 ); +PROVIDE ( mbedtls_ecdsa_sign = 0x0004b180 ); +PROVIDE ( mbedtls_mpi_sub_int = 0x0003f3c6 ); +PROVIDE ( mbedtls_kdf2 = 0x00045e06 ); +PROVIDE ( mbedtls_asn1_write_ia5_string = 0x0004ab1a ); +PROVIDE ( memmove = 0x00053696 ); +PROVIDE ( mbedtls_asn1_get_bool = 0x000414d8 ); +PROVIDE ( crypto_aead_xchacha20poly1305_ietf_decrypt = 0x00050190 ); +PROVIDE ( mbedtls_ecies_write_hmac = 0x0003c29a ); +PROVIDE ( mbedtls_version_check_feature = 0x00045f34 ); +PROVIDE ( mbedtls_aes_free = 0x0004f5ac ); +PROVIDE ( mbedtls_sha256_init = 0x0004f624 ); +PROVIDE ( crypto_aead_chacha20poly1305_ietf_decrypt_detached = 0x0004fd3a ); +PROVIDE ( mbedtls_dhm_make_public = 0x0003c77c ); +PROVIDE ( mbedtls_kdf_info_from_type = 0x0004f4c0 ); +PROVIDE ( mbedtls_ecp_copy = 0x0004c680 ); +PROVIDE ( crypto_stream_chacha20_keygen = 0x00050c1c ); +PROVIDE ( mbedtls_hmac_drbg_seed_buf = 0x0003dda6 ); +PROVIDE ( mbedtls_mpi_shrink = 0x0003e900 ); +PROVIDE ( crypto_verify_64 = 0x000516d0 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_p3_to_cached = 0x00038f48 ); +PROVIDE ( mbedtls_fast_ec_info_from_type = 0x000494e8 ); +PROVIDE ( mbedtls_cipher_auth_encrypt = 0x00046722 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_p3_tobytes = 0x00038084 ); +PROVIDE ( mbedtls_kdf_info_from_string = 0x0004f48c ); +PROVIDE ( mbedtls_sha1_finish = 0x00043b12 ); +PROVIDE ( crypto_aead_xchacha20poly1305_ietf_abytes = 0x0005022a ); +PROVIDE ( mbedtls_rsa_rsaes_oaep_decrypt = 0x00047208 ); +PROVIDE ( mbedtls_rsa_pkcs1_decrypt = 0x00047576 ); +PROVIDE ( mbedtls_pk_can_do = 0x0003d9a2 ); +PROVIDE ( mbedtls_sha256 = 0x0004f6b4 ); +PROVIDE ( mbedtls_rsa_rsassa_pss_verify = 0x00047bd2 ); +PROVIDE ( FLASH_WRITE_ENABLE = 0x00030c1a ); +PROVIDE ( mbedtls_rsa_check_privkey = 0x00046940 ); +PROVIDE ( mbedtls_pk_get_type = 0x0003dcc2 ); +PROVIDE ( romUartBoot = 0x000308c2 ); +PROVIDE ( crypto_stream_chacha20_xor = 0x00050be2 ); +PROVIDE ( mbedtls_mpi_read_string = 0x0003f434 ); +PROVIDE ( mbedtls_ctr_drbg_free = 0x00040cda ); +PROVIDE ( mbedtls_ctr_drbg_random_with_add = 0x00040eba ); +PROVIDE ( mbedtls_asn1_write_octet_string = 0x0004ac14 ); +PROVIDE ( sha256_init = 0x00030f88 ); +PROVIDE ( mbedtls_curve25519_sign = 0x00038ca0 ); +PROVIDE ( mbedtls_md = 0x0004565c ); +PROVIDE ( mbedtls_ecp_group_copy = 0x0004c6c6 ); +PROVIDE ( iot_printf = 0x000324fa ); +PROVIDE ( mbedtls_ecdh_gen_public = 0x0004ad62 ); +PROVIDE ( mbedtls_asn1_get_tag = 0x000414a4 ); +PROVIDE ( mbedtls_ecdsa_verify = 0x0004b366 ); +PROVIDE ( mbedtls_ctr_drbg_set_entropy_len = 0x00040d1a ); +PROVIDE ( _crypto_onetimeauth_poly1305_pick_best_implementation = 0x00050302 ); +PROVIDE ( romAHBInit = 0x000305a8 ); +PROVIDE ( mbedtls_fast_ec_compute_pub = 0x00049686 ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_pow22523 = 0x000390ec ); +PROVIDE ( mbedtls_sha256_finish = 0x0004f6a0 ); +PROVIDE ( mbedtls_mpi_shift_r = 0x0003ef06 ); +PROVIDE ( mbedtls_sha512_clone = 0x0004f6f0 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_p2_0 = 0x0003989e ); +PROVIDE ( mbedtls_ctr_drbg_random = 0x00040fba ); +PROVIDE ( mbedtls_ed25519_sign = 0x00038880 ); +PROVIDE ( mbedtls_pk_write_pubkey = 0x0004199c ); +PROVIDE ( mbedtls_mpi_gen_prime = 0x00040918 ); +PROVIDE ( mbedtls_ecp_curve_info_from_grp_id = 0x0004c4d2 ); +PROVIDE ( mbedtls_asn1_write_algorithm_identifier_no_params = 0x0004a970 ); +PROVIDE ( mbedtls_mpi_get_bit = 0x0003ebea ); +PROVIDE ( mbedtls_ecies_decrypt = 0x0003e460 ); +PROVIDE ( mbedtls_mpi_read_binary = 0x0003ed48 ); +PROVIDE ( crypto_core_hchacha20_outputbytes = 0x00051afc ); +PROVIDE ( mbedtls_asn1_write_int = 0x0004aa2e ); +PROVIDE ( mbedtls_sha1_init = 0x000423b2 ); +PROVIDE ( crypto_stream_chacha20_ietf_keygen = 0x00050c2e ); +PROVIDE ( mbedtls_cipher_info_from_values = 0x0004605c ); +PROVIDE ( mbedtls_asn1_get_int = 0x00041522 ); +PROVIDE ( mbedtls_ctr_drbg_seed_entropy_len = 0x00040e28 ); +PROVIDE ( mbedtls_fast_ec_copy = 0x000495fc ); +PROVIDE ( crypto_onetimeauth_poly1305_verify = 0x00050262 ); +PROVIDE ( mbedtls_ecies_write_kdf = 0x0003c1dc ); +PROVIDE ( memcpy = 0x000316aa ); +PROVIDE ( sUartPutString = 0x00031646 ); +PROVIDE ( mbedtls_sha1_starts = 0x000423fc ); +PROVIDE ( mbedtls_sha1_process = 0x00042442 ); +PROVIDE ( mbedtls_cipher_info_from_string = 0x00046018 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_scalarmult_base = 0x000326a0 ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_frombytes = 0x000394d4 ); +PROVIDE ( mbedtls_hmac_drbg_random_with_add = 0x0003df8c ); +PROVIDE ( mbedtls_fast_ec_get_type = 0x00049830 ); +PROVIDE ( crypto_aead_chacha20poly1305_keybytes = 0x0004ff70 ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_isnonzero = 0x00039010 ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_mul = 0x00032840 ); +PROVIDE ( mbedtls_platform_set_printf = 0x0004e300 ); +PROVIDE ( mbedtls_ecp_curve_info_from_name = 0x0004c51e ); +PROVIDE ( mbedtls_aes_setkey_dec = 0x0004f5d4 ); +PROVIDE ( mbedtls_ecp_group_free = 0x0004c5ca ); +PROVIDE ( crypto_onetimeauth_poly1305_statebytes = 0x000502e0 ); +PROVIDE ( mbedtls_kdf_list = 0x0004f478 ); +PROVIDE ( mbedtls_rsa_copy = 0x0004805e ); +PROVIDE ( mbedtls_version_get_string_full = 0x0003beb2 ); +PROVIDE ( mbedtls_rsa_rsaes_pkcs1_v15_encrypt = 0x00047094 ); +PROVIDE ( mbedtls_ecies_read_hmac = 0x0003c00c ); +PROVIDE ( mbedtls_asn1_get_alg_null = 0x00041802 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_add = 0x0003932a ); +PROVIDE ( mbedtls_sha256_starts = 0x0004f664 ); +PROVIDE ( crypto_aead_chacha20poly1305_nsecbytes = 0x0004ff8e ); +PROVIDE ( mbedtls_sha256_update = 0x0004f68c ); +PROVIDE ( mbedtls_mpi_bitlen = 0x0003ecd8 ); +PROVIDE ( mbedtls_ecdsa_free = 0x0004b75c ); +PROVIDE ( mbedtls_rsa_check_pubkey = 0x000468c6 ); +PROVIDE ( mbedtls_sha512_free = 0x0004f6dc ); +PROVIDE ( mbedtls_md5_update = 0x0004a48c ); +PROVIDE ( mbedtls_oid_get_md_alg = 0x00045bbc ); +PROVIDE ( mbedtls_ecp_check_pub_priv = 0x0004df36 ); +PROVIDE ( mbedtls_mpi_mul_mpi = 0x0004f55c ); +PROVIDE ( FLASH_SECTOR_ERASE = 0x00030c2e ); +PROVIDE ( mbedtls_kdf = 0x0004f506 ); +PROVIDE ( mbedtls_ecp_set_zero = 0x0004c6d6 ); +PROVIDE ( mbedtls_dhm_free = 0x0003ca6a ); +PROVIDE ( mbedtls_cipher_auth_decrypt = 0x00046778 ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_0 = 0x00039c58 ); +PROVIDE ( crypto_core_hchacha20_keybytes = 0x00051b1a ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_p3_to_p2 = 0x000372fc ); +PROVIDE ( mbedtls_mpi_init = 0x0003e81c ); +PROVIDE ( mbedtls_mpi_lsb = 0x0003ec8e ); +PROVIDE ( mbedtls_pkcs12_pbe = 0x0003d108 ); +PROVIDE ( randombytes_buf = 0x0004f53c ); +PROVIDE ( mbedtls_oid_get_oid_by_sig_alg = 0x000459ea ); +PROVIDE ( mbedtls_cipher_free = 0x000460a2 ); +PROVIDE ( mbedtls_memory_buffer_alloc_free = 0x000413a0 ); +PROVIDE ( mbedtls_curve25519_verify = 0x00038e20 ); +PROVIDE ( iot_sprintf = 0x000323f2 ); +PROVIDE ( mbedtls_pk_parse_key = 0x0004519e ); +PROVIDE ( mbedtls_oid_get_numeric_string = 0x00045d30 ); +PROVIDE ( crypto_core_hchacha20_constbytes = 0x00051b2a ); +PROVIDE ( mbedtls_hmac_drbg_reseed = 0x0003de10 ); +PROVIDE ( mbedtls_rsa_rsaes_pkcs1_v15_decrypt = 0x0004740c ); +PROVIDE ( mbedtls_pk_free = 0x0003d894 ); +PROVIDE ( mbedtls_pk_get_name = 0x0003dca4 ); +PROVIDE ( mbedtls_mpi_add_mpi = 0x0003f2ba ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_p3_0 = 0x00039c2c ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_frombytes_negate_vartime = 0x00039c8c ); +PROVIDE ( mbedtls_sha512 = 0x0004f758 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_sub = 0x000397e4 ); +PROVIDE ( crypto_aead_chacha20poly1305_ietf_nsecbytes = 0x0004ff42 ); +PROVIDE ( mbedtls_md5_process = 0x0004992e ); +PROVIDE ( mbedtls_asn1_write_bool = 0x0004a9ca ); +PROVIDE ( mbedtls_hmac_drbg_set_entropy_len = 0x0003df70 ); +PROVIDE ( mbedtls_hmac_drbg_set_prediction_resistance = 0x0003df62 ); +PROVIDE ( mbedtls_oid_get_oid_by_pk_alg = 0x00045a7c ); +PROVIDE ( mbedtls_pk_decrypt = 0x0003dac2 ); +PROVIDE ( mbedtls_gcm_setkey = 0x0003b798 ); +PROVIDE ( mbedtls_ecp_gen_keypair = 0x0004ded4 ); +PROVIDE ( mbedtls_asn1_write_mpi = 0x0004a7aa ); +PROVIDE ( mbedtls_mpi_sub_mpi = 0x0003f320 ); +PROVIDE ( crypto_core_hchacha20 = 0x0005175e ); +PROVIDE ( mbedtls_md_get_name = 0x00045932 ); +PROVIDE ( mbedtls_rsa_rsassa_pss_verify_ext = 0x000479a4 ); +PROVIDE ( mbedtls_dhm_calc_secret = 0x0003c85e ); +PROVIDE ( mbedtls_ctr_drbg_seed = 0x00040ea8 ); +PROVIDE ( mbedtls_ecdh_get_params = 0x0004af4a ); +PROVIDE ( crypto_aead_xchacha20poly1305_ietf_nsecbytes = 0x0005021c ); +PROVIDE ( mbedtls_asn1_get_bitstring = 0x000415ce ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_add = 0x00038f9a ); +PROVIDE ( mbedtls_asn1_store_named_data = 0x0004ac6c ); +PROVIDE ( mbedtls_ecies_write_version = 0x0003c1bc ); +PROVIDE ( mbedtls_oid_get_oid_by_md = 0x00045c14 ); +PROVIDE ( mbedtls_gcm_starts = 0x0003b984 ); +PROVIDE ( mbedtls_rsa_pkcs1_encrypt = 0x000471ce ); +PROVIDE ( mbedtls_rsa_rsassa_pkcs1_v15_sign = 0x0004777e ); +PROVIDE ( mbedtls_ecp_point_read_binary = 0x0004d2a2 ); +PROVIDE ( crypto_aead_chacha20poly1305_encrypt_detached = 0x0004f7d2 ); +PROVIDE ( crypto_aead_chacha20poly1305_decrypt_detached = 0x0004fb7e ); +PROVIDE ( crypto_aead_chacha20poly1305_ietf_encrypt = 0x0004fb06 ); +PROVIDE ( mbedtls_asn1_write_printable_string = 0x0004aac2 ); +PROVIDE ( crypto_aead_xchacha20poly1305_ietf_keygen = 0x00050238 ); +PROVIDE ( mbedtls_ctr_drbg_reseed = 0x00040d6e ); +PROVIDE ( crypto_aead_chacha20poly1305_ietf_keygen = 0x0004ff5e ); +PROVIDE ( mbedtls_ecies_read_content_info = 0x0003c0a2 ); +PROVIDE ( mbedtls_mpi_lset = 0x0003eb9a ); +PROVIDE ( mbedtls_md5_free = 0x000498bc ); +PROVIDE ( mbedtls_fast_ec_sign = 0x000496ac ); +PROVIDE ( mbedtls_cipher_write_tag = 0x00046606 ); +PROVIDE ( mbedtls_platform_set_fprintf = 0x0004e316 ); +PROVIDE ( mbedtls_ecp_point_read_string = 0x0004d176 ); +PROVIDE ( mbedtls_ecies_read_envelope = 0x0003beca ); +PROVIDE ( mbedtls_rsa_public = 0x00046c1c ); +PROVIDE ( mbedtls_ecdsa_from_keypair = 0x0004b6fe ); +PROVIDE ( mbedtls_ecp_gen_key = 0x0004deee ); +PROVIDE ( mbedtls_pk_verify_ext = 0x0003db92 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_p1p1_to_p3 = 0x000393e4 ); +PROVIDE ( mbedtls_mpi_div_int = 0x0003f9ae ); +PROVIDE ( mbedtls_fast_ec_init = 0x00049516 ); +PROVIDE ( romConfigPin = 0x00030362 ); +PROVIDE ( mbedtls_cipher_setkey = 0x000460d8 ); +PROVIDE ( crypto_stream_chacha20_keybytes = 0x00050b46 ); +PROVIDE ( sha256_process = 0x0003101e ); +PROVIDE ( mbedtls_sha512_process = 0x0004f71c ); +PROVIDE ( mbedtls_pk_get_bitlen = 0x0003db72 ); +PROVIDE ( mbedtls_mpi_mul_int = 0x0003f406 ); +PROVIDE ( mbedtls_mpi_exp_mod = 0x0003fc8a ); +PROVIDE ( mbedtls_mpi_safe_cond_assign = 0x0003ea50 ); +PROVIDE ( mbedtls_aes_setkey_enc = 0x0004f5c0 ); +PROVIDE ( mbedtls_ecies_read_version = 0x0003beee ); +PROVIDE ( mbedtls_cipher_update = 0x000461e0 ); +PROVIDE ( mbedtls_hardclock_poll = 0x0004ba2e ); +PROVIDE ( mbedtls_ecp_curve_list = 0x0004c46a ); +PROVIDE ( mbedtls_kdf_get_type = 0x0004f4f2 ); +PROVIDE ( mbedtls_md_init = 0x000454d8 ); +PROVIDE ( mbedtls_dhm_make_params = 0x0003c5fa ); +PROVIDE ( mbedtls_oid_get_pkcs12_pbe_alg = 0x00045c44 ); +PROVIDE ( crypto_sign_ed25519_ref10_sc_muladd = 0x00033b8a ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_p3_dbl = 0x0003832a ); +PROVIDE ( mbedtls_ecp_gen_keypair_base = 0x0004ddb8 ); +PROVIDE ( mbedtls_mpi_cmp_abs = 0x0003ef9e ); +PROVIDE ( mbedtls_pk_verify = 0x0003d9c2 ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_copy = 0x00039dfa ); +PROVIDE ( mbedtls_rsa_check_pub_priv = 0x00046bd0 ); +PROVIDE ( format_str = 0x0003239c ); +PROVIDE ( mbedtls_entropy_free = 0x0003d708 ); +PROVIDE ( mbedtls_asn1_write_bitstring = 0x0004ab72 ); +PROVIDE ( mbedtls_fast_ec_free = 0x00049596 ); +PROVIDE ( crypto_stream_chacha20_ietf_keybytes = 0x00050b64 ); +PROVIDE ( mbedtls_ecp_point_free = 0x0004c5b4 ); +PROVIDE ( mbedtls_sha512_update = 0x0004f730 ); +PROVIDE ( mbedtls_platform_set_exit = 0x0004e32c ); +PROVIDE ( mbedtls_cipher_setup = 0x000465aa ); +PROVIDE ( mbedtls_mpi_cmp_int = 0x0003f0ba ); +PROVIDE ( mbedtls_ecp_check_pubkey = 0x0004d48c ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_madd = 0x00033a8e ); +PROVIDE ( mbedtls_entropy_init = 0x0003d678 ); +PROVIDE ( mbedtls_memory_buffer_alloc_init = 0x00041312 ); +PROVIDE ( mbedtls_pk_write_key_pkcs8_der = 0x00041bc0 ); +PROVIDE ( mbedtls_mpi_mod_int = 0x0003f9ee ); +PROVIDE ( mbedtls_oid_get_oid_by_cipher_alg = 0x00045b8c ); +PROVIDE ( mbedtls_fast_ec_get_key_bitlen = 0x00049858 ); +PROVIDE ( crypto_aead_chacha20poly1305_abytes = 0x0004ff9c ); +PROVIDE ( mbedtls_ecies_encrypt = 0x0003e0a6 ); +PROVIDE ( mbedtls_ecdh_read_params = 0x0004aefe ); +PROVIDE ( mbedtls_oid_get_cipher_alg = 0x00045b34 ); +PROVIDE ( mbedtls_rsa_rsassa_pss_sign = 0x000475b6 ); +PROVIDE ( mbedtls_mpi_copy = 0x0003e996 ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_sq2 = 0x00036b82 ); +PROVIDE ( _crypto_stream_chacha20_pick_best_implementation = 0x00050c3c ); +PROVIDE ( mbedtls_ed25519_get_pubkey = 0x00038770 ); +PROVIDE ( mbedtls_ecdsa_init = 0x0004b74e ); +PROVIDE ( mbedtls_curve25519_key_exchange = 0x00038a70 ); +PROVIDE ( mbedtls_sha1_update = 0x00043afc ); +PROVIDE ( mbedtls_mpi_swap = 0x0003ea12 ); +PROVIDE ( mbedtls_ecdh_read_public = 0x0004b032 ); +PROVIDE ( mbedtls_ed25519_key_to_curve25519 = 0x0003883e ); +PROVIDE ( mbedtls_dhm_read_public = 0x0003c748 ); +PROVIDE ( crypto_verify_16 = 0x00051652 ); +PROVIDE ( crypto_stream_chacha20_ietf = 0x00050b9a ); +PROVIDE ( mbedtls_asn1_write_len = 0x0004a600 ); +PROVIDE ( mbedtls_md_hmac_update = 0x00045778 ); +PROVIDE ( mbedtls_ecp_tls_read_group = 0x0004d3c0 ); +PROVIDE ( mbedtls_mpi_shift_l = 0x0003ee3c ); +PROVIDE ( mbedtls_mpi_cmp_mpi = 0x0003f01c ); +PROVIDE ( mbedtls_gcm_finish = 0x0003bc38 ); +PROVIDE ( mbedtls_ecp_group_load = 0x000490e2 ); +PROVIDE ( crypto_stream_chacha20_noncebytes = 0x00050b56 ); +PROVIDE ( mbedtls_asn1_write_oid = 0x0004a898 ); +PROVIDE ( mbedtls_ecp_point_write_binary = 0x0004d1c2 ); +PROVIDE ( mbedtls_ctr_drbg_set_reseed_interval = 0x00040d28 ); +PROVIDE ( mbedtls_dhm_parse_dhm = 0x0003cae0 ); +PROVIDE ( mbedtls_oid_get_sig_alg = 0x000459b4 ); +PROVIDE ( mbedtls_rsa_pkcs1_verify = 0x00047dce ); +PROVIDE ( mbedtls_mpi_add_abs = 0x0003f0fa ); +PROVIDE ( mbedtls_ecdh_make_params = 0x0004ae6c ); +PROVIDE ( mbedtls_entropy_gather = 0x0003d774 ); +PROVIDE ( mbedtls_ecdh_compute_shared = 0x0004ad70 ); +PROVIDE ( mbedtls_ecdsa_genkey = 0x0004b6ba ); +PROVIDE ( mbedtls_fast_ec_verify = 0x00049702 ); +PROVIDE ( mbedtls_mpi_mod_mpi = 0x0004f570 ); +PROVIDE ( mbedtls_md_process = 0x000458e2 ); +PROVIDE ( crypto_stream_chacha20_xor_ic = 0x00050bb2 ); +PROVIDE ( mbedtls_md_setup = 0x00045576 ); +PROVIDE ( crypto_aead_chacha20poly1305_npubbytes = 0x0004ff80 ); +PROVIDE ( mbedtls_fast_ec_compute_shared = 0x00049754 ); +PROVIDE ( mbedtls_ecdsa_write_signature = 0x0004b4f6 ); +PROVIDE ( crypto_aead_chacha20poly1305_keygen = 0x0004ffaa ); +PROVIDE ( crypto_onetimeauth_poly1305_keybytes = 0x000502d0 ); +PROVIDE ( mbedtls_platform_set_calloc_free = 0x0004e2cc ); +PROVIDE ( mbedtls_pk_parse_subpubkey = 0x00044f8c ); +PROVIDE ( mbedtls_cipher_check_tag = 0x0004663e ); +PROVIDE ( mbedtls_hmac_drbg_free = 0x0003e078 ); +PROVIDE ( crypto_stream_chacha20_ietf_xor_ic = 0x00050bca ); +PROVIDE ( mbedtls_cipher_crypt = 0x000466bc ); +PROVIDE ( mbedtls_pk_encrypt = 0x0003daf6 ); +PROVIDE ( mbedtls_mpi_gcd = 0x0004012a ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_precomp_0 = 0x00032532 ); +PROVIDE ( mbedtls_md_finish = 0x00045636 ); +PROVIDE ( iot_snprintf = 0x000324c4 ); +PROVIDE ( mbedtls_sha256_clone = 0x0004f64c ); +PROVIDE ( mbedtls_ecp_mul = 0x0004d6b0 ); +PROVIDE ( mbedtls_hmac_drbg_update = 0x0003dcf0 ); +PROVIDE ( mbedtls_md_list = 0x000453d0 ); +PROVIDE ( mbedtls_pk_sign = 0x0003da3a ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_cswap = 0x00037f2a ); +PROVIDE ( crypto_verify_16_bytes = 0x00051682 ); +PROVIDE ( crypto_sign_ed25519_ref10_sc_reduce = 0x00039e94 ); +PROVIDE ( mbedtls_rsa_private = 0x00046cb8 ); +PROVIDE ( mbedtls_md5_starts = 0x000498f2 ); +PROVIDE ( mbedtls_ecdh_make_public = 0x0004afbc ); +PROVIDE ( crypto_core_hchacha20_inputbytes = 0x00051b0c ); +PROVIDE ( mbedtls_md_get_type = 0x0004591e ); +PROVIDE ( mbedtls_kdf_get_name = 0x0004f4de ); +PROVIDE ( sha256_free = 0x00030f9c ); +PROVIDE ( mbedtls_oid_get_sig_alg_desc = 0x0004598a ); +PROVIDE ( mbedtls_gcm_crypt_and_tag = 0x0003bd72 ); +PROVIDE ( mbedtls_sha256_free = 0x0004f638 ); +PROVIDE ( mbedtls_version_get_number = 0x0003be8a ); +PROVIDE ( mbedtls_ecies_write_content_info = 0x0003c376 ); +PROVIDE ( mbedtls_gcm_auth_decrypt = 0x0003bde4 ); +PROVIDE ( crypto_onetimeauth_poly1305_init = 0x0005027a ); +PROVIDE ( mbedtls_ecp_keypair_init = 0x0004c588 ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_neg = 0x00039440 ); +PROVIDE ( mbedtls_md_hmac_finish = 0x000457a2 ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_tobytes = 0x000380e4 ); +PROVIDE ( mbedtls_aes_init = 0x0004f598 ); +PROVIDE ( crypto_stream_chacha20_ietf_noncebytes = 0x00050b74 ); +PROVIDE ( mbedtls_cipher_init = 0x0004608e ); +PROVIDE ( crypto_verify_32 = 0x00051690 ); +PROVIDE ( mbedtls_pk_info_from_type = 0x0003d8c8 ); +PROVIDE ( mbedtls_sha256_process = 0x0004f678 ); +PROVIDE ( mbedtls_rsa_set_padding = 0x000468b2 ); +PROVIDE ( mbedtls_md5_init = 0x000498a8 ); +PROVIDE ( mbedtls_cipher_info_from_type = 0x00045ff4 ); +PROVIDE ( mbedtls_fast_ec_get_sig_len = 0x00049880 ); +PROVIDE ( mbedtls_cipher_list = 0x00045fae ); +PROVIDE ( mbedtls_md5_clone = 0x000498da ); +PROVIDE ( mbedtls_md_init_ctx = 0x000455da ); +PROVIDE ( mbedtls_md_info_from_string = 0x000453e4 ); +PROVIDE ( mbedtls_sha512_finish = 0x0004f744 ); +PROVIDE ( mbedtls_asn1_find_named_data = 0x000418be ); +PROVIDE ( crypto_aead_xchacha20poly1305_ietf_npubbytes = 0x0005020e ); +PROVIDE ( mbedtls_platform_set_snprintf = 0x0004e2ea ); +PROVIDE ( mbedtls_mpi_add_int = 0x0003f386 ); +PROVIDE ( crypto_stream_chacha20_ietf_xor = 0x00050c00 ); +PROVIDE ( mbedtls_asn1_free_named_data_list = 0x00041880 ); +PROVIDE ( crypto_aead_chacha20poly1305_ietf_encrypt_detached = 0x0004f98c ); +PROVIDE ( mbedtls_pk_debug = 0x0003dc74 ); +PROVIDE ( mbedtls_fast_ec_gen_key = 0x0004965c ); +PROVIDE ( mbedtls_entropy_update_manual = 0x0003d760 ); +PROVIDE ( sha256_update = 0x000312ca ); +PROVIDE ( mbedtls_ecp_is_zero = 0x0004d116 ); +PROVIDE ( mbedtls_ecdh_free = 0x0004ae18 ); +PROVIDE ( crypto_onetimeauth_poly1305 = 0x0005024a ); +PROVIDE ( mbedtls_oid_get_pk_alg = 0x00045a24 ); +PROVIDE ( crypto_aead_xchacha20poly1305_ietf_decrypt_detached = 0x000500e2 ); +PROVIDE ( mbedtls_ecp_tls_write_group = 0x0004d42a ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_isnegative = 0x00039dda ); +PROVIDE ( mbedtls_pk_write_key_der = 0x000420e4 ); +PROVIDE ( mbedtls_mpi_inv_mod = 0x00040562 ); +PROVIDE ( crypto_verify_64_bytes = 0x00051700 ); +PROVIDE ( mbedtls_hmac_drbg_seed = 0x0003dec4 ); +PROVIDE ( mbedtls_sha1_clone = 0x000423e4 ); +PROVIDE ( mbedtls_ecp_tls_write_point = 0x0004d384 ); +PROVIDE ( mbedtls_mpi_div_mpi = 0x0003f5a8 ); +PROVIDE ( mbedtls_mpi_size = 0x0003ed30 ); +PROVIDE ( mbedtls_cipher_update_ad = 0x000461a6 ); +PROVIDE ( mbedtls_aes_crypt_ecb = 0x0004f5e8 ); +PROVIDE ( mbedtls_sha1_free = 0x000423c6 ); +PROVIDE ( mbedtls_aes_crypt_ctr = 0x0004f610 ); +PROVIDE ( mbedtls_asn1_get_mpi = 0x00041590 ); +PROVIDE ( mbedtls_mpi_set_bit = 0x0003ec14 ); +PROVIDE ( crypto_aead_chacha20poly1305_ietf_keybytes = 0x0004ff24 ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_cmov = 0x00037332 ); +PROVIDE ( iot_vsnprintf = 0x00032482 ); +PROVIDE ( crypto_onetimeauth_poly1305_bytes = 0x000502c2 ); +PROVIDE ( mbedtls_asn1_write_raw_buffer = 0x0004a768 ); +PROVIDE ( mbedtls_mpi_is_prime = 0x0004089a ); +PROVIDE ( mbedtls_ecp_curve_info_from_tls_id = 0x0004c4f6 ); +PROVIDE ( mbedtls_rsa_rsassa_pkcs1_v15_verify = 0x00047bfa ); +PROVIDE ( mbedtls_sha1 = 0x00043c40 ); +PROVIDE ( mbedtls_curve25519_get_pubkey = 0x00038a08 ); +PROVIDE ( mbedtls_ecdsa_read_signature = 0x0004b5f0 ); +PROVIDE ( mbedtls_asn1_get_sequence_of = 0x00041680 ); +PROVIDE ( mbedtls_pkcs12_pbe_sha1_rc4_128 = 0x0003cbd6 ); +PROVIDE ( crypto_stream_chacha20 = 0x00050b82 ); +PROVIDE ( mbedtls_pkcs12_pbe_ext = 0x0003ce82 ); +PROVIDE ( mbedtls_gcm_update = 0x0003bafa ); +PROVIDE ( mpi_montmul = 0x0004f584 ); +PROVIDE ( mbedtls_ecp_tls_read_point = 0x0004d346 ); +PROVIDE ( mbedtls_oid_get_ec_grp = 0x00045aac ); +PROVIDE ( mbedtls_fast_ec_check_pub_priv = 0x00049796 ); +PROVIDE ( mbedtls_md_clone = 0x00045544 ); +PROVIDE ( mbedtls_gcm_free = 0x0003be60 ); +PROVIDE ( mbedtls_ecp_group_init = 0x0004c56c ); +PROVIDE ( mbedtls_ecp_grp_id_list = 0x0004c47e ); +PROVIDE ( mbedtls_md_hmac_reset = 0x00045812 ); +PROVIDE ( mbedtls_sha512_init = 0x0004f6c8 ); +PROVIDE ( mbedtls_ecies_write_envelope = 0x0003c16e ); +PROVIDE ( mbedtls_sha512_starts = 0x0004f708 ); +PROVIDE ( mbedtls_md_update = 0x00045610 ); +PROVIDE ( crypto_aead_chacha20poly1305_ietf_npubbytes = 0x0004ff34 ); +PROVIDE ( crypto_aead_chacha20poly1305_ietf_decrypt = 0x0004feb6 ); +PROVIDE ( mbedtls_md_get_size = 0x00045908 ); +PROVIDE ( crypto_onetimeauth_poly1305_final = 0x000502aa ); +PROVIDE ( format_str_v = 0x00031afe ); +PROVIDE ( sodium_memzero = 0x0004f780 ); +PROVIDE ( mbedtls_md5_finish = 0x0004a4a2 ); +PROVIDE ( mbedtls_mpi_free = 0x0003e836 ); +PROVIDE ( crypto_verify_32_bytes = 0x000516c0 ); +PROVIDE ( mbedtls_md_hmac = 0x0004585c ); +PROVIDE ( mbedtls_asn1_write_null = 0x0004a858 ); +PROVIDE ( crypto_aead_xchacha20poly1305_ietf_keybytes = 0x000501fe ); +PROVIDE ( mbedtls_fast_ec_setup = 0x00049528 ); +PROVIDE ( mbedtls_pk_parse_public_key = 0x000453b0 ); +PROVIDE ( mbedtls_hmac_drbg_random = 0x0003e066 ); +PROVIDE ( mbedtls_ecdh_calc_secret = 0x0004b078 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_double_scalarmult_vartime = 0x0003997e ); +PROVIDE ( mbedtls_pk_setup_rsa_alt = 0x0003d932 ); +PROVIDE ( mbedtls_dhm_init = 0x0003c570 ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_mul121666 = 0x000375a4 ); +PROVIDE ( mbedtls_aes_crypt_cbc = 0x0004f5fc ); +PROVIDE ( mbedtls_hmac_drbg_init = 0x0003dcdc ); +PROVIDE ( mbedtls_hmac_drbg_set_reseed_interval = 0x0003df7e ); +PROVIDE ( mbedtls_pk_write_pubkey_der = 0x00041a82 ); +PROVIDE ( mbedtls_mpi_safe_cond_swap = 0x0003eae6 ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_sub = 0x000392a4 ); +PROVIDE ( mbedtls_oid_get_oid_by_ec_grp = 0x00045b04 ); +PROVIDE ( mbedtls_cipher_finish = 0x0004643c ); +PROVIDE ( mbedtls_md_hmac_starts = 0x00045684 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_p1p1_to_p2 = 0x000327fc ); +PROVIDE ( mbedtls_fast_ec_get_key_len = 0x0004986c ); +PROVIDE ( crypto_onetimeauth_poly1305_keygen = 0x000502f0 ); +PROVIDE ( mbedtls_cipher_set_padding_mode = 0x0004656c ); +PROVIDE ( mbedtls_rsa_init = 0x00046884 ); +PROVIDE ( mbedtls_rsa_pkcs1_sign = 0x00047974 ); +PROVIDE ( mbedtls_pk_setup = 0x0003d8f0 ); +PROVIDE ( mbedtls_pk_init = 0x0003d87e ); +PROVIDE ( mbedtls_mpi_sub_abs = 0x0003f1d6 ); +PROVIDE ( mbedtls_mpi_fill_random = 0x00040288 ); +PROVIDE ( mbedtls_entropy_func = 0x0003d792 ); +PROVIDE ( mbedtls_md_info_from_type = 0x000454b0 ); +PROVIDE ( mbedtls_entropy_add_source = 0x0003d724 ); +PROVIDE ( mbedtls_md_free = 0x000454ea ); +PROVIDE ( mbedtls_mpi_write_string = 0x0003fac4 ); +PROVIDE ( mbedtls_rsa_gen_key = 0x00047e7a ); +PROVIDE ( mbedtls_version_get_string = 0x0003be9a ); +PROVIDE ( mbedtls_asn1_free_named_data = 0x0004183e ); +PROVIDE ( mbedtls_oid_get_kdf_alg = 0x00045ca8 ); +PROVIDE ( mbedtls_ecp_check_privkey = 0x0004d63e ); +PROVIDE ( mbedtls_memory_buffer_set_verify = 0x000412f0 ); +PROVIDE ( mbedtls_cipher_set_iv = 0x00046126 ); +PROVIDE ( mbedtls_pk_check_pair = 0x0003db2a ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_msub = 0x00037436 ); +PROVIDE ( mbedtls_ecies_read_kdf = 0x0003bf18 ); +PROVIDE ( mbedtls_asn1_write_algorithm_identifier = 0x0004a8f0 ); +PROVIDE ( mbedtls_ecies_info_from_type = 0x0003d55e ); +PROVIDE ( crypto_aead_chacha20poly1305_encrypt = 0x0004f914 ); +PROVIDE ( mbedtls_memory_buffer_alloc_verify = 0x00041304 ); +PROVIDE ( mbedtls_md5 = 0x0004a5ae ); +PROVIDE ( crypto_stream_chacha20_ref_implementation = 0x0ffd8514 ); diff --git a/startup/ldscripts/riscv2/sp.addrs.ld b/startup/ldscripts/riscv2/sp.addrs.ld new file mode 100644 index 0000000..1188e55 --- /dev/null +++ b/startup/ldscripts/riscv2/sp.addrs.ld @@ -0,0 +1,3 @@ +PROVIDE ( _gp = 0x00fc0d20 ); +PROVIDE ( g_phy_cpu_share_ctxt = 0x00fc611c ); +PROVIDE ( g_cpu1_state = 0x00fc60e4 ); diff --git a/startup/ldscripts/riscv2/sp_sta.addrs.ld b/startup/ldscripts/riscv2/sp_sta.addrs.ld new file mode 100644 index 0000000..e69de29 diff --git a/startup/ldscripts/riscv3/rom.addrs.ld b/startup/ldscripts/riscv3/rom.addrs.ld new file mode 100644 index 0000000..7994aa4 --- /dev/null +++ b/startup/ldscripts/riscv3/rom.addrs.ld @@ -0,0 +1,441 @@ +PROVIDE ( _gp = 0x10000d40 ); +PROVIDE ( iot_indir_tbl = 0x10000698 ); +PROVIDE ( log_ctxt = 0x100005a4 ); +PROVIDE ( rom_log_ctxt = 0x100005a4 ); +PROVIDE ( memset = 0x00044722 ); +PROVIDE ( memcpy = 0x00044664 ); +PROVIDE ( memcmp = 0x0004652c ); +PROVIDE ( iot_sprintf = 0x0004455e ); +PROVIDE ( iot_printf = 0x00044616 ); +PROVIDE ( rom_format_str_v = 0x00043ce2 ); +PROVIDE ( mbedtls_rsa_rsaes_oaep_encrypt = 0x00032f62 ); +PROVIDE ( mbedtls_cipher_reset = 0x0003a3ca ); +PROVIDE ( mbedtls_fast_ec_get_name = 0x0002e1de ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_sq = 0x00028652 ); +PROVIDE ( mbedtls_ctr_drbg_init = 0x00031164 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_tobytes = 0x00029c64 ); +PROVIDE ( strcpy = 0x00044652 ); +PROVIDE ( mbedtls_pkcs12_derivation = 0x0002da4e ); +PROVIDE ( mbedtls_ctr_drbg_set_prediction_resistance = 0x0003119a ); +PROVIDE ( mbedtls_mpi_grow = 0x0002f222 ); +PROVIDE ( mbedtls_md_starts = 0x000379f0 ); +PROVIDE ( mbedtls_asn1_get_bitstring_null = 0x00031d36 ); +PROVIDE ( mbedtls_ecp_point_init = 0x000411f8 ); +PROVIDE ( mbedtls_oid_get_oid_by_kdf_alg = 0x000380e6 ); +PROVIDE ( mbedtls_fast_ec_get_shared_len = 0x0002e206 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_p2_dbl = 0x000285d4 ); +PROVIDE ( mbedtls_rsa_free = 0x00033cfc ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_invert = 0x0002932e ); +PROVIDE ( mbedtls_hardware_poll = 0x00043c58 ); +PROVIDE ( mbedtls_asn1_write_tag = 0x0003dfc6 ); +PROVIDE ( mbedtls_ctr_drbg_update = 0x000311a6 ); +PROVIDE ( mbedtls_ecdh_init = 0x0003e602 ); +PROVIDE ( mbedtls_gcm_init = 0x0003d69e ); +PROVIDE ( mbedtls_asn1_get_len = 0x00031b10 ); +PROVIDE ( mbedtls_ecp_point_cmp = 0x00041c2c ); +PROVIDE ( mbedtls_dhm_read_params = 0x0002d3fe ); +PROVIDE ( mbedtls_strerror = 0x0003a97c ); +PROVIDE ( mbedtls_mpi_write_binary = 0x0002f704 ); +PROVIDE ( mbedtls_ecp_keypair_free = 0x000412c0 ); +PROVIDE ( mbedtls_ecp_muladd = 0x00042694 ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_1 = 0x000285aa ); +PROVIDE ( mbedtls_ed25519_pubkey_to_curve25519 = 0x0002970a ); +PROVIDE ( mbedtls_ed25519_verify = 0x000298a2 ); +PROVIDE ( mbedtls_asn1_get_alg = 0x00031e14 ); +PROVIDE ( mbedtls_ecdsa_sign = 0x0003e91e ); +PROVIDE ( mbedtls_mpi_sub_int = 0x0002fc60 ); +PROVIDE ( mbedtls_kdf2 = 0x000381da ); +PROVIDE ( mbedtls_asn1_write_ia5_string = 0x0003e358 ); +PROVIDE ( memmove = 0x0004654e ); +PROVIDE ( mbedtls_asn1_get_bool = 0x00031c0c ); +PROVIDE ( mbedtls_ecies_write_hmac = 0x0002d16a ); +PROVIDE ( mbedtls_version_check_feature = 0x0003a1e4 ); +PROVIDE ( mbedtls_aes_free = 0x00043b6c ); +PROVIDE ( mbedtls_sha256_init = 0x00043ba8 ); +PROVIDE ( mbedtls_dhm_make_public = 0x0002d5e2 ); +PROVIDE ( mbedtls_kdf_info_from_type = 0x0002bf80 ); +PROVIDE ( mbedtls_ecp_copy = 0x000412e6 ); +PROVIDE ( mbedtls_hmac_drbg_seed_buf = 0x0002e8be ); +PROVIDE ( mbedtls_mpi_shrink = 0x0002f29c ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_p3_to_cached = 0x00029cb4 ); +PROVIDE ( mbedtls_fast_ec_info_from_type = 0x0002df00 ); +PROVIDE ( mbedtls_cipher_auth_encrypt = 0x0003a8f2 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_p3_tobytes = 0x00029088 ); +PROVIDE ( mbedtls_kdf_info_from_string = 0x0002bf52 ); +PROVIDE ( mbedtls_sha1_finish = 0x00035f3c ); +PROVIDE ( mbedtls_rsa_rsaes_oaep_decrypt = 0x00033210 ); +PROVIDE ( mbedtls_rsa_pkcs1_decrypt = 0x00033556 ); +PROVIDE ( mbedtls_pk_can_do = 0x000314cc ); +PROVIDE ( mbedtls_sha256 = 0x00043bf6 ); +PROVIDE ( mbedtls_rsa_rsassa_pss_verify = 0x00033b2c ); +PROVIDE ( mbedtls_rsa_check_privkey = 0x00032a6a ); +PROVIDE ( mbedtls_pk_get_type = 0x00031754 ); +PROVIDE ( mbedtls_mpi_read_string = 0x0002fca6 ); +PROVIDE ( mbedtls_ctr_drbg_free = 0x0003116e ); +PROVIDE ( mbedtls_ctr_drbg_random_with_add = 0x000312e8 ); +PROVIDE ( mbedtls_asn1_write_octet_string = 0x0003e44a ); +PROVIDE ( mbedtls_curve25519_sign = 0x00029aa0 ); +PROVIDE ( mbedtls_md = 0x00037a50 ); +PROVIDE ( mbedtls_ecp_group_copy = 0x00041324 ); +PROVIDE ( iot_printf = 0x00044616 ); +PROVIDE ( mbedtls_ecdh_gen_public = 0x0003e586 ); +PROVIDE ( mbedtls_asn1_get_tag = 0x00031be6 ); +PROVIDE ( mbedtls_ecdsa_verify = 0x0003eaca ); +PROVIDE ( mbedtls_ctr_drbg_set_entropy_len = 0x0003119e ); +PROVIDE ( mbedtls_fast_ec_compute_pub = 0x0002e05e ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_pow22523 = 0x00029e40 ); +PROVIDE ( mbedtls_sha256_finish = 0x00043bec ); +PROVIDE ( mbedtls_mpi_shift_r = 0x0002f81c ); +PROVIDE ( mbedtls_sha512_clone = 0x00043c14 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_p2_0 = 0x0002a52c ); +PROVIDE ( mbedtls_ctr_drbg_random = 0x000313cc ); +PROVIDE ( mbedtls_ed25519_sign = 0x00029786 ); +PROVIDE ( mbedtls_pk_write_pubkey = 0x00032020 ); +PROVIDE ( mbedtls_mpi_gen_prime = 0x00030e18 ); +PROVIDE ( mbedtls_ecp_curve_info_from_grp_id = 0x0004118e ); +PROVIDE ( mbedtls_asn1_write_algorithm_identifier_no_params = 0x0003e1c6 ); +PROVIDE ( mbedtls_mpi_get_bit = 0x0002f54a ); +PROVIDE ( mbedtls_ecies_decrypt = 0x0002eeaa ); +PROVIDE ( mbedtls_mpi_read_binary = 0x0002f67e ); +PROVIDE ( mbedtls_asn1_write_int = 0x0003e278 ); +PROVIDE ( mbedtls_sha1_init = 0x00034830 ); +PROVIDE ( mbedtls_cipher_info_from_values = 0x0003a2d0 ); +PROVIDE ( mbedtls_asn1_get_int = 0x00031c4a ); +PROVIDE ( mbedtls_ctr_drbg_seed_entropy_len = 0x00031276 ); +PROVIDE ( mbedtls_fast_ec_copy = 0x0002dff0 ); +PROVIDE ( mbedtls_ecies_write_kdf = 0x0002d0ce ); +PROVIDE ( memcpy = 0x00044664 ); +PROVIDE ( mbedtls_sha1_starts = 0x00034860 ); +PROVIDE ( mbedtls_sha1_process = 0x0003489c ); +PROVIDE ( mbedtls_cipher_info_from_string = 0x0003a298 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_scalarmult_base = 0x000241a8 ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_frombytes = 0x0002a1ba ); +PROVIDE ( mbedtls_hmac_drbg_random_with_add = 0x0002ea62 ); +PROVIDE ( mbedtls_fast_ec_get_type = 0x0002e1d4 ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_isnonzero = 0x00029d6c ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_mul = 0x00026e74 ); +PROVIDE ( mbedtls_platform_set_printf = 0x00042af8 ); +PROVIDE ( mbedtls_ecp_curve_info_from_name = 0x000411c6 ); +PROVIDE ( mbedtls_aes_setkey_dec = 0x00043b80 ); +PROVIDE ( mbedtls_ecp_group_free = 0x0004123c ); +PROVIDE ( mbedtls_kdf_list = 0x0002bf48 ); +PROVIDE ( mbedtls_rsa_copy = 0x00033f26 ); +PROVIDE ( mbedtls_version_get_string_full = 0x000360b4 ); +PROVIDE ( mbedtls_rsa_rsaes_pkcs1_v15_encrypt = 0x000330b0 ); +PROVIDE ( mbedtls_ecies_read_hmac = 0x0002cf32 ); +PROVIDE ( mbedtls_asn1_get_alg_null = 0x00031ed2 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_add = 0x0002a012 ); +PROVIDE ( mbedtls_sha256_starts = 0x00043bce ); +PROVIDE ( mbedtls_sha256_update = 0x00043be2 ); +PROVIDE ( mbedtls_mpi_bitlen = 0x0002f61e ); +PROVIDE ( mbedtls_ecdsa_free = 0x0003ee0a ); +PROVIDE ( mbedtls_rsa_check_pubkey = 0x000329f6 ); +PROVIDE ( mbedtls_sha512_free = 0x00043c0a ); +PROVIDE ( mbedtls_md5_update = 0x0002ccd4 ); +PROVIDE ( mbedtls_oid_get_md_alg = 0x00037fca ); +PROVIDE ( mbedtls_ecp_check_pub_priv = 0x0004286c ); +PROVIDE ( mbedtls_mpi_mul_mpi = 0x00043b44 ); +PROVIDE ( mbedtls_kdf = 0x0002bfa8 ); +PROVIDE ( mbedtls_ecp_set_zero = 0x0004132a ); +PROVIDE ( mbedtls_dhm_free = 0x0002d8b8 ); +PROVIDE ( mbedtls_cipher_auth_decrypt = 0x0003a92e ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_0 = 0x0002a88e ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_p3_to_p2 = 0x000283e0 ); +PROVIDE ( mbedtls_mpi_init = 0x0002f1d0 ); +PROVIDE ( mbedtls_mpi_lsb = 0x0002f5de ); +PROVIDE ( mbedtls_pkcs12_pbe = 0x0002dee6 ); +PROVIDE ( mbedtls_oid_get_oid_by_sig_alg = 0x00037e3e ); +PROVIDE ( mbedtls_cipher_free = 0x0003a302 ); +PROVIDE ( mbedtls_memory_buffer_alloc_free = 0x00031af6 ); +PROVIDE ( mbedtls_curve25519_verify = 0x00029bd2 ); +PROVIDE ( iot_sprintf = 0x0004455e ); +PROVIDE ( mbedtls_pk_parse_key = 0x000372dc ); +PROVIDE ( mbedtls_oid_get_numeric_string = 0x0003810c ); +PROVIDE ( mbedtls_hmac_drbg_reseed = 0x0002e922 ); +PROVIDE ( mbedtls_rsa_rsaes_pkcs1_v15_decrypt = 0x000333fa ); +PROVIDE ( mbedtls_pk_free = 0x000313e0 ); +PROVIDE ( mbedtls_pk_get_name = 0x00031740 ); +PROVIDE ( mbedtls_mpi_add_mpi = 0x0002fb78 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_p3_0 = 0x0002a0ba ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_frombytes_negate_vartime = 0x0002a8b8 ); +PROVIDE ( mbedtls_sha512 = 0x00043c4e ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_sub = 0x0002a47e ); +PROVIDE ( mbedtls_md5_process = 0x0002c03a ); +PROVIDE ( mbedtls_asn1_write_bool = 0x0003e21a ); +PROVIDE ( mbedtls_hmac_drbg_set_entropy_len = 0x0002ea5a ); +PROVIDE ( mbedtls_hmac_drbg_set_prediction_resistance = 0x0002ea56 ); +PROVIDE ( mbedtls_oid_get_oid_by_pk_alg = 0x00037ebc ); +PROVIDE ( mbedtls_pk_decrypt = 0x000315a6 ); +PROVIDE ( mbedtls_gcm_setkey = 0x0003d6a8 ); +PROVIDE ( mbedtls_ecp_gen_keypair = 0x00042824 ); +PROVIDE ( mbedtls_asn1_write_mpi = 0x0003e020 ); +PROVIDE ( mbedtls_mpi_sub_mpi = 0x0002fbd6 ); +PROVIDE ( mbedtls_md_get_name = 0x00037cc8 ); +PROVIDE ( mbedtls_rsa_rsassa_pss_verify_ext = 0x00033928 ); +PROVIDE ( mbedtls_dhm_calc_secret = 0x0002d6be ); +PROVIDE ( mbedtls_ctr_drbg_seed = 0x000312e0 ); +PROVIDE ( mbedtls_ecdh_get_params = 0x0003e71e ); +PROVIDE ( mbedtls_asn1_get_bitstring = 0x00031cd8 ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_add = 0x00029d00 ); +PROVIDE ( mbedtls_asn1_store_named_data = 0x0003e49c ); +PROVIDE ( mbedtls_ecies_write_version = 0x0002d0b4 ); +PROVIDE ( mbedtls_oid_get_oid_by_md = 0x00038018 ); +PROVIDE ( mbedtls_gcm_starts = 0x0003d87c ); +PROVIDE ( mbedtls_rsa_pkcs1_encrypt = 0x000331dc ); +PROVIDE ( mbedtls_rsa_rsassa_pkcs1_v15_sign = 0x0003372e ); +PROVIDE ( mbedtls_ecp_point_read_binary = 0x00041d82 ); +PROVIDE ( mbedtls_asn1_write_printable_string = 0x0003e306 ); +PROVIDE ( mbedtls_ctr_drbg_reseed = 0x000311d4 ); +PROVIDE ( mbedtls_ecies_read_content_info = 0x0002cfb8 ); +PROVIDE ( mbedtls_mpi_lset = 0x0002f500 ); +PROVIDE ( mbedtls_md5_free = 0x0002bfe2 ); +PROVIDE ( mbedtls_fast_ec_sign = 0x0002e076 ); +PROVIDE ( mbedtls_cipher_write_tag = 0x0003a7f8 ); +PROVIDE ( mbedtls_platform_set_fprintf = 0x00042b04 ); +PROVIDE ( mbedtls_ecp_point_read_string = 0x00041c6a ); +PROVIDE ( mbedtls_ecies_read_envelope = 0x0002ce1e ); +PROVIDE ( mbedtls_rsa_public = 0x00032cbe ); +PROVIDE ( mbedtls_ecdsa_from_keypair = 0x0003edbc ); +PROVIDE ( mbedtls_ecp_gen_key = 0x00042834 ); +PROVIDE ( mbedtls_pk_verify_ext = 0x0003163e ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_p1p1_to_p3 = 0x0002a0e4 ); +PROVIDE ( mbedtls_mpi_div_int = 0x00030144 ); +PROVIDE ( mbedtls_fast_ec_init = 0x0002df24 ); +PROVIDE ( mbedtls_cipher_setkey = 0x0003a332 ); +PROVIDE ( mbedtls_sha512_process = 0x00043c30 ); +PROVIDE ( mbedtls_pk_get_bitlen = 0x0003162c ); +PROVIDE ( mbedtls_mpi_mul_int = 0x0002fc8c ); +PROVIDE ( mbedtls_mpi_exp_mod = 0x000303b8 ); +PROVIDE ( mbedtls_mpi_safe_cond_assign = 0x0002f3d0 ); +PROVIDE ( mbedtls_aes_setkey_enc = 0x00043b76 ); +PROVIDE ( mbedtls_ecies_read_version = 0x0002ce3c ); +PROVIDE ( mbedtls_cipher_update = 0x0003a40c ); +PROVIDE ( mbedtls_hardclock_poll = 0x0004080c ); +PROVIDE ( mbedtls_ecp_curve_list = 0x0004113a ); +PROVIDE ( mbedtls_kdf_get_type = 0x0002bf9e ); +PROVIDE ( mbedtls_md_init = 0x0003790a ); +PROVIDE ( mbedtls_dhm_make_params = 0x0002d46c ); +PROVIDE ( mbedtls_oid_get_pkcs12_pbe_alg = 0x0003803e ); +PROVIDE ( crypto_sign_ed25519_ref10_sc_muladd = 0x00024344 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_p3_dbl = 0x00029310 ); +PROVIDE ( mbedtls_ecp_gen_keypair_base = 0x00042716 ); +PROVIDE ( mbedtls_mpi_cmp_abs = 0x0002f8a6 ); +PROVIDE ( mbedtls_pk_verify = 0x000314de ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_copy = 0x0002a9e6 ); +PROVIDE ( mbedtls_rsa_check_pub_priv = 0x00032c78 ); +PROVIDE ( format_str = 0x0004451e ); +PROVIDE ( mbedtls_entropy_free = 0x0002e6d0 ); +PROVIDE ( mbedtls_asn1_write_bitstring = 0x0003e3aa ); +PROVIDE ( mbedtls_fast_ec_free = 0x0002df90 ); +PROVIDE ( mbedtls_ecp_point_free = 0x00041234 ); +PROVIDE ( mbedtls_sha512_update = 0x00043c3a ); +PROVIDE ( mbedtls_platform_set_exit = 0x00042b10 ); +PROVIDE ( mbedtls_cipher_setup = 0x0003a7a6 ); +PROVIDE ( mbedtls_mpi_cmp_int = 0x0002f9ae ); +PROVIDE ( mbedtls_ecp_check_pubkey = 0x00041f36 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_madd = 0x00026dd8 ); +PROVIDE ( mbedtls_entropy_init = 0x0002e646 ); +PROVIDE ( mbedtls_memory_buffer_alloc_init = 0x00031a72 ); +PROVIDE ( mbedtls_pk_write_key_pkcs8_der = 0x00032210 ); +PROVIDE ( mbedtls_mpi_mod_int = 0x00030170 ); +PROVIDE ( mbedtls_oid_get_oid_by_cipher_alg = 0x00037fa4 ); +PROVIDE ( mbedtls_fast_ec_get_key_bitlen = 0x0002e1e8 ); +PROVIDE ( mbedtls_ecies_encrypt = 0x0002eb64 ); +PROVIDE ( mbedtls_ecdh_read_params = 0x0003e6da ); +PROVIDE ( mbedtls_oid_get_cipher_alg = 0x00037f56 ); +PROVIDE ( mbedtls_rsa_rsassa_pss_sign = 0x00033590 ); +PROVIDE ( mbedtls_mpi_copy = 0x0002f32a ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_sq2 = 0x00027cc4 ); +PROVIDE ( mbedtls_ed25519_get_pubkey = 0x000296b8 ); +PROVIDE ( mbedtls_ecdsa_init = 0x0003ee06 ); +PROVIDE ( mbedtls_curve25519_key_exchange = 0x00029906 ); +PROVIDE ( mbedtls_sha1_update = 0x00035f34 ); +PROVIDE ( mbedtls_mpi_swap = 0x0002f39c ); +PROVIDE ( mbedtls_ecdh_read_public = 0x0003e7f0 ); +PROVIDE ( mbedtls_ed25519_key_to_curve25519 = 0x00029752 ); +PROVIDE ( mbedtls_dhm_read_public = 0x0002d5b4 ); +PROVIDE ( mbedtls_asn1_write_len = 0x0003de90 ); +PROVIDE ( mbedtls_md_hmac_update = 0x00037b5a ); +PROVIDE ( mbedtls_ecp_tls_read_group = 0x00041e84 ); +PROVIDE ( mbedtls_mpi_shift_l = 0x0002f766 ); +PROVIDE ( mbedtls_mpi_cmp_mpi = 0x0002f91a ); +PROVIDE ( mbedtls_gcm_finish = 0x0003db12 ); +PROVIDE ( mbedtls_ecp_group_load = 0x0003c858 ); +PROVIDE ( mbedtls_asn1_write_oid = 0x0003e102 ); +PROVIDE ( mbedtls_ecp_point_write_binary = 0x00041caa ); +PROVIDE ( mbedtls_ctr_drbg_set_reseed_interval = 0x000311a2 ); +PROVIDE ( mbedtls_dhm_parse_dhm = 0x0002d928 ); +PROVIDE ( mbedtls_oid_get_sig_alg = 0x00037e16 ); +PROVIDE ( mbedtls_rsa_pkcs1_verify = 0x00033cde ); +PROVIDE ( mbedtls_mpi_add_abs = 0x0002f9da ); +PROVIDE ( mbedtls_ecdh_make_params = 0x0003e65a ); +PROVIDE ( mbedtls_entropy_gather = 0x0002e71e ); +PROVIDE ( mbedtls_ecdh_compute_shared = 0x0003e58a ); +PROVIDE ( mbedtls_ecdsa_genkey = 0x0003ed86 ); +PROVIDE ( mbedtls_fast_ec_verify = 0x0002e0c4 ); +PROVIDE ( mbedtls_mpi_mod_mpi = 0x00043b4e ); +PROVIDE ( mbedtls_md_process = 0x00037c92 ); +PROVIDE ( mbedtls_md_setup = 0x00037992 ); +PROVIDE ( mbedtls_fast_ec_compute_shared = 0x0002e110 ); +PROVIDE ( mbedtls_ecdsa_write_signature = 0x0003ec22 ); +PROVIDE ( mbedtls_platform_set_calloc_free = 0x00042ad8 ); +PROVIDE ( mbedtls_pk_parse_subpubkey = 0x000370ec ); +PROVIDE ( mbedtls_cipher_check_tag = 0x0003a822 ); +PROVIDE ( mbedtls_hmac_drbg_free = 0x0002eb3c ); +PROVIDE ( mbedtls_cipher_crypt = 0x0003a896 ); +PROVIDE ( mbedtls_pk_encrypt = 0x000315cc ); +PROVIDE ( mbedtls_mpi_gcd = 0x000307ce ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_precomp_0 = 0x00024054 ); +PROVIDE ( mbedtls_md_finish = 0x00037a30 ); +PROVIDE ( iot_snprintf = 0x000445f6 ); +PROVIDE ( mbedtls_sha256_clone = 0x00043bbc ); +PROVIDE ( mbedtls_ecp_mul = 0x0004211a ); +PROVIDE ( mbedtls_hmac_drbg_update = 0x0002e814 ); +PROVIDE ( mbedtls_md_list = 0x0003781c ); +PROVIDE ( mbedtls_pk_sign = 0x0003153e ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_cswap = 0x00028cea ); +PROVIDE ( crypto_sign_ed25519_ref10_sc_reduce = 0x0002aa62 ); +PROVIDE ( mbedtls_rsa_private = 0x00032d3e ); +PROVIDE ( mbedtls_md5_starts = 0x0002c008 ); +PROVIDE ( mbedtls_ecdh_make_public = 0x0003e782 ); +PROVIDE ( mbedtls_md_get_type = 0x00037cbe ); +PROVIDE ( mbedtls_kdf_get_name = 0x0002bf94 ); +PROVIDE ( mbedtls_oid_get_sig_alg_desc = 0x00037df6 ); +PROVIDE ( mbedtls_gcm_crypt_and_tag = 0x0003dc42 ); +PROVIDE ( mbedtls_sha256_free = 0x00043bb2 ); +PROVIDE ( mbedtls_version_get_number = 0x000360a0 ); +PROVIDE ( mbedtls_ecies_write_content_info = 0x0002d230 ); +PROVIDE ( mbedtls_gcm_auth_decrypt = 0x0003dca2 ); +PROVIDE ( mbedtls_ecp_keypair_init = 0x0004120e ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_neg = 0x0002a13a ); +PROVIDE ( mbedtls_md_hmac_finish = 0x00037b7e ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_tobytes = 0x000290d4 ); +PROVIDE ( mbedtls_aes_init = 0x00043b62 ); +PROVIDE ( mbedtls_cipher_init = 0x0003a2f8 ); +PROVIDE ( mbedtls_pk_info_from_type = 0x0003140e ); +PROVIDE ( mbedtls_sha256_process = 0x00043bd8 ); +PROVIDE ( mbedtls_rsa_set_padding = 0x000329ec ); +PROVIDE ( mbedtls_md5_init = 0x0002bfd8 ); +PROVIDE ( mbedtls_cipher_info_from_type = 0x0003a27e ); +PROVIDE ( mbedtls_fast_ec_get_sig_len = 0x0002e1fc ); +PROVIDE ( mbedtls_cipher_list = 0x0003a242 ); +PROVIDE ( mbedtls_md5_clone = 0x0002bff6 ); +PROVIDE ( mbedtls_md_init_ctx = 0x000379ea ); +PROVIDE ( mbedtls_md_info_from_string = 0x00037826 ); +PROVIDE ( mbedtls_sha512_finish = 0x00043c44 ); +PROVIDE ( mbedtls_asn1_find_named_data = 0x00031f6c ); +PROVIDE ( mbedtls_platform_set_snprintf = 0x00042aec ); +PROVIDE ( mbedtls_mpi_add_int = 0x0002fc34 ); +PROVIDE ( mbedtls_asn1_free_named_data_list = 0x00031f38 ); +PROVIDE ( mbedtls_pk_debug = 0x00031716 ); +PROVIDE ( mbedtls_fast_ec_gen_key = 0x0002e042 ); +PROVIDE ( mbedtls_entropy_update_manual = 0x0002e714 ); +PROVIDE ( mbedtls_ecp_is_zero = 0x00041c16 ); +PROVIDE ( mbedtls_ecdh_free = 0x0003e60c ); +PROVIDE ( mbedtls_oid_get_pk_alg = 0x00037e6e ); +PROVIDE ( mbedtls_ecp_tls_write_group = 0x00041ee6 ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_isnegative = 0x0002a9ce ); +PROVIDE ( mbedtls_pk_write_key_der = 0x0003268e ); +PROVIDE ( mbedtls_mpi_inv_mod = 0x00030b2e ); +PROVIDE ( mbedtls_hmac_drbg_seed = 0x0002e9c0 ); +PROVIDE ( mbedtls_sha1_clone = 0x0003484e ); +PROVIDE ( mbedtls_ecp_tls_write_point = 0x00041e4e ); +PROVIDE ( mbedtls_mpi_div_mpi = 0x0002fdfa ); +PROVIDE ( mbedtls_mpi_size = 0x0002f66c ); +PROVIDE ( mbedtls_cipher_update_ad = 0x0003a3e0 ); +PROVIDE ( mbedtls_aes_crypt_ecb = 0x00043b8a ); +PROVIDE ( mbedtls_sha1_free = 0x0003483a ); +PROVIDE ( mbedtls_aes_crypt_ctr = 0x00043b9e ); +PROVIDE ( mbedtls_asn1_get_mpi = 0x00031ca6 ); +PROVIDE ( mbedtls_mpi_set_bit = 0x0002f56a ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_cmov = 0x00028410 ); +PROVIDE ( iot_vsnprintf = 0x000445ca ); +PROVIDE ( mbedtls_asn1_write_raw_buffer = 0x0003dfe4 ); +PROVIDE ( mbedtls_mpi_is_prime = 0x00030db0 ); +PROVIDE ( mbedtls_ecp_curve_info_from_tls_id = 0x000411a8 ); +PROVIDE ( mbedtls_rsa_rsassa_pkcs1_v15_verify = 0x00033b4e ); +PROVIDE ( mbedtls_sha1 = 0x00036062 ); +PROVIDE ( mbedtls_curve25519_get_pubkey = 0x000298b2 ); +PROVIDE ( mbedtls_ecdsa_read_signature = 0x0003ece2 ); +PROVIDE ( mbedtls_asn1_get_sequence_of = 0x00031d74 ); +PROVIDE ( mbedtls_pkcs12_pbe_sha1_rc4_128 = 0x0002da46 ); +PROVIDE ( mbedtls_pkcs12_pbe_ext = 0x0002dcbe ); +PROVIDE ( mbedtls_gcm_update = 0x0003d9e0 ); +PROVIDE ( mpi_montmul = 0x00043b58 ); +PROVIDE ( mbedtls_ecp_tls_read_point = 0x00041e1e ); +PROVIDE ( mbedtls_oid_get_ec_grp = 0x00037ee2 ); +PROVIDE ( mbedtls_fast_ec_check_pub_priv = 0x0002e144 ); +PROVIDE ( mbedtls_md_clone = 0x00037966 ); +PROVIDE ( mbedtls_gcm_free = 0x0003dd16 ); +PROVIDE ( mbedtls_ecp_group_init = 0x00041200 ); +PROVIDE ( mbedtls_ecp_grp_id_list = 0x00041144 ); +PROVIDE ( mbedtls_md_hmac_reset = 0x00037be2 ); +PROVIDE ( mbedtls_sha512_init = 0x00043c00 ); +PROVIDE ( mbedtls_ecies_write_envelope = 0x0002d06c ); +PROVIDE ( mbedtls_sha512_starts = 0x00043c26 ); +PROVIDE ( mbedtls_md_update = 0x00037a10 ); +PROVIDE ( mbedtls_md_get_size = 0x00037cb2 ); +PROVIDE ( format_str_v = 0x00043ce2 ); +PROVIDE ( mbedtls_md5_finish = 0x0002ccdc ); +PROVIDE ( mbedtls_mpi_free = 0x0002f1e0 ); +PROVIDE ( mbedtls_md_hmac = 0x00037c22 ); +PROVIDE ( mbedtls_asn1_write_null = 0x0003e0c8 ); +PROVIDE ( mbedtls_fast_ec_setup = 0x0002df2c ); +PROVIDE ( mbedtls_pk_parse_public_key = 0x0003751c ); +PROVIDE ( mbedtls_hmac_drbg_random = 0x0002eb34 ); +PROVIDE ( mbedtls_ecdh_calc_secret = 0x0003e828 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_double_scalarmult_vartime = 0x0002a5fc ); +PROVIDE ( mbedtls_pk_setup_rsa_alt = 0x00031466 ); +PROVIDE ( mbedtls_dhm_init = 0x0002d3f4 ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_mul121666 = 0x00028e40 ); +PROVIDE ( mbedtls_aes_crypt_cbc = 0x00043b94 ); +PROVIDE ( mbedtls_hmac_drbg_init = 0x0002e80a ); +PROVIDE ( mbedtls_hmac_drbg_set_reseed_interval = 0x0002ea5e ); +PROVIDE ( mbedtls_pk_write_pubkey_der = 0x000320fa ); +PROVIDE ( mbedtls_mpi_safe_cond_swap = 0x0002f45a ); +PROVIDE ( crypto_sign_ed25519_ref10_fe_sub = 0x00029f96 ); +PROVIDE ( mbedtls_oid_get_oid_by_ec_grp = 0x00037f30 ); +PROVIDE ( mbedtls_cipher_finish = 0x0003a656 ); +PROVIDE ( mbedtls_md_hmac_starts = 0x00037a72 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_p1p1_to_p2 = 0x000242c6 ); +PROVIDE ( mbedtls_fast_ec_get_key_len = 0x0002e1f2 ); +PROVIDE ( mbedtls_cipher_set_padding_mode = 0x0003a772 ); +PROVIDE ( mbedtls_rsa_init = 0x000329c4 ); +PROVIDE ( mbedtls_rsa_pkcs1_sign = 0x0003390a ); +PROVIDE ( mbedtls_pk_setup = 0x0003142c ); +PROVIDE ( mbedtls_pk_init = 0x000313d4 ); +PROVIDE ( mbedtls_mpi_sub_abs = 0x0002faaa ); +PROVIDE ( mbedtls_mpi_fill_random = 0x000308da ); +PROVIDE ( mbedtls_entropy_func = 0x0002e72e ); +PROVIDE ( mbedtls_md_info_from_type = 0x000378ec ); +PROVIDE ( mbedtls_entropy_add_source = 0x0002e6e2 ); +PROVIDE ( mbedtls_md_free = 0x00037912 ); +PROVIDE ( mbedtls_mpi_write_string = 0x0003022e ); +PROVIDE ( mbedtls_rsa_gen_key = 0x00033d72 ); +PROVIDE ( mbedtls_version_get_string = 0x000360a6 ); +PROVIDE ( mbedtls_asn1_free_named_data = 0x00031efc ); +PROVIDE ( mbedtls_oid_get_kdf_alg = 0x00038098 ); +PROVIDE ( mbedtls_ecp_check_privkey = 0x000420b0 ); +PROVIDE ( mbedtls_memory_buffer_set_verify = 0x00031a64 ); +PROVIDE ( mbedtls_cipher_set_iv = 0x0003a372 ); +PROVIDE ( mbedtls_pk_check_pair = 0x000315f2 ); +PROVIDE ( crypto_sign_ed25519_ref10_ge_msub = 0x00028508 ); +PROVIDE ( mbedtls_ecies_read_kdf = 0x0002ce60 ); +PROVIDE ( mbedtls_asn1_write_algorithm_identifier = 0x0003e154 ); +PROVIDE ( mbedtls_ecies_info_from_type = 0x0002e554 ); +PROVIDE ( mbedtls_memory_buffer_alloc_verify = 0x00031a6e ); +PROVIDE ( mbedtls_md5 = 0x0002cde0 ); +PROVIDE ( romlib_section_init = 0x0002400a ); +PROVIDE ( mbedtls_x509_crt_free = 0x0003fe1c ); +PROVIDE ( mbedtls_x509_crt_info = 0x0003f458 ); +PROVIDE ( mbedtls_x509_crt_init = 0x0003fe12 ); +PROVIDE ( mbedtls_x509_crt_parse = 0x00040568 ); +PROVIDE ( mbedtls_x509_crt_parse_der = 0x0003ff12 ); +PROVIDE ( mbedtls_x509_crt_profile_default = 0x00053d58 ); +PROVIDE ( mbedtls_x509_crt_profile_next = 0x00053d68 ); +PROVIDE ( mbedtls_x509_crt_profile_suiteb = 0x00053d78 ); +PROVIDE ( mbedtls_x509_crt_verify = 0x0003fdfe ); +PROVIDE ( mbedtls_x509_crt_verify_info = 0x0003fb70 ); +PROVIDE ( mbedtls_x509_crt_verify_with_profile = 0x0003fc1e ); +PROVIDE ( mbedtls_base64_decode = 0x000376b6 ); +PROVIDE ( mbedtls_base64_encode = 0x0003759a ); diff --git a/tools/bin_tool/bin2hex.c b/tools/bin_tool/bin2hex.c old mode 100644 new mode 100755 diff --git a/tools/bin_tool/bin2hex_frame.c b/tools/bin_tool/bin2hex_frame.c old mode 100644 new mode 100755 diff --git a/tools/bin_tool/hex2bin.c b/tools/bin_tool/hex2bin.c old mode 100644 new mode 100755 diff --git a/tools/rom_img/riscv3/Kl3_rom_自测记录表_V1.0.xlsx b/tools/rom_img/riscv3/Kl3_rom_自测记录表_V1.0.xlsx old mode 100644 new mode 100755 diff --git a/tools/rom_img/riscv3/ROM_IMG_V3.1.0.0_20210811.zip b/tools/rom_img/riscv3/ROM_IMG_V3.1.0.0_20210811.zip old mode 100644 new mode 100755 diff --git a/tools/rom_img/riscv3/ROM_IMG_V3.1.0.1_20210907.zip b/tools/rom_img/riscv3/ROM_IMG_V3.1.0.1_20210907.zip old mode 100644 new mode 100755 diff --git a/tools/rom_img/riscv3/ROM_IMG_V3.1.0.2_20210914.zip b/tools/rom_img/riscv3/ROM_IMG_V3.1.0.2_20210914.zip old mode 100644 new mode 100755 diff --git a/tools/rom_img/riscv3/ROM_IMG_V3.1.0.3_20210917.zip b/tools/rom_img/riscv3/ROM_IMG_V3.1.0.3_20210917.zip old mode 100644 new mode 100755 diff --git a/tools/rom_img/riscv3/ROM_IMG_V3.1.0.4_20211014.zip b/tools/rom_img/riscv3/ROM_IMG_V3.1.0.4_20211014.zip old mode 100644 new mode 100755 diff --git a/tools/rom_img/riscv3/ROM_IMG_V3.2.0.0_20211126.zip b/tools/rom_img/riscv3/ROM_IMG_V3.2.0.0_20211126.zip old mode 100644 new mode 100755 diff --git a/tools/rom_img/riscv3/ROM_IMG_V3.2.0.2_20211202.zip b/tools/rom_img/riscv3/ROM_IMG_V3.2.0.2_20211202.zip old mode 100644 new mode 100755 diff --git a/tools/rom_img/riscv3/ROM_IMG_V3.2.1.0_20211203.zip b/tools/rom_img/riscv3/ROM_IMG_V3.2.1.0_20211203.zip old mode 100644 new mode 100755 diff --git a/tools/rom_img/riscv3/ROM_IMG_V3.2.1.1_20211206.zip b/tools/rom_img/riscv3/ROM_IMG_V3.2.1.1_20211206.zip old mode 100644 new mode 100755 diff --git a/tools/rom_img/riscv3/rom_symbol b/tools/rom_img/riscv3/rom_symbol old mode 100644 new mode 100755 diff --git a/tools/rom_img/riscv3/romhex.py b/tools/rom_img/riscv3/romhex.py old mode 100644 new mode 100755 diff --git a/tools/rom_img/riscv3/sec_cpu_symbol b/tools/rom_img/riscv3/sec_cpu_symbol old mode 100644 new mode 100755