/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/ |
D | cc3xx_internal_asn1_util.c | 29 int cc3xx_asn1_write_len(unsigned char **p, const unsigned char *start, in cc3xx_asn1_write_len() argument 33 if (*p - start < 1) { in cc3xx_asn1_write_len() 42 if (*p - start < 2) { in cc3xx_asn1_write_len() 52 if (*p - start < 3) { in cc3xx_asn1_write_len() 63 if (*p - start < 4) { in cc3xx_asn1_write_len() 80 int cc3xx_asn1_write_tag(unsigned char **p, const unsigned char *start, in cc3xx_asn1_write_tag() argument 83 if (*p - start < 1) { in cc3xx_asn1_write_tag() 95 int cc3xx_asn1_write_big_integer(unsigned char **p, const unsigned char *start, in cc3xx_asn1_write_big_integer() argument 101 if (*p < start || (size_t)(*p - start) < len) { in cc3xx_asn1_write_big_integer() 115 if (*p - start < 1) { in cc3xx_asn1_write_big_integer() [all …]
|
/trusted-firmware-m-3.4.0/platform/ext/target/nxp/common/Native_Driver/drivers/ |
D | fsl_iap.c | 52 …status_t (*eraseCommand)(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t … 53 …status_t (*programCommand)(flash_config_t *config, uint32_t start, uint8_t *src, uint32_t lengthIn… 55 uint32_t start, 60 …status_t (*flashReadCommand)(flash_config_t *config, uint32_t start, uint8_t *dest, uint32_t lengt… 95 …status_t (*flash_erase)(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t k… 96 …status_t (*flash_program)(flash_config_t *config, uint32_t start, uint8_t *src, uint32_t lengthInB… 97 status_t (*flash_verify_erase)(flash_config_t *config, uint32_t start, uint32_t lengthInBytes); 99 uint32_t start, 126 …status_t (*flash_erase)(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t k… 127 …status_t (*flash_program)(flash_config_t *config, uint32_t start, uint8_t *src, uint32_t lengthInB… [all …]
|
D | fsl_iap.h | 369 status_t FLASH_Erase(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t key); 403 status_t FLASH_Program(flash_config_t *config, uint32_t start, uint8_t *src, uint32_t lengthInBytes… 430 status_t FLASH_Read(flash_config_t *config, uint32_t start, uint8_t *dest, uint32_t lengthInBytes); 460 status_t FLASH_VerifyErase(flash_config_t *config, uint32_t start, uint32_t lengthInBytes); 493 uint32_t start,
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/include/ |
D | cc3xx_internal_asn1_util.h | 66 int cc3xx_asn1_write_len(unsigned char **p, const unsigned char *start, size_t len); 80 int cc3xx_asn1_write_tag(unsigned char **p, const unsigned char *start, 97 int cc3xx_asn1_write_big_integer(unsigned char **p, const unsigned char *start, 114 int cc3xx_asn1_write_int(unsigned char **p, unsigned char *start, int val);
|
/trusted-firmware-m-3.4.0/platform/ext/target/lairdconnectivity/bl5340_dvk_cpuapp/services/include/ |
D | tfm_read_ranges.h | 30 { .start = FICR_INFO_ADDR, .size = FICR_INFO_SIZE }, 31 { .start = FICR_NFC_ADDR, .size = FICR_NFC_SIZE }, 32 { .start = FICR_RESTRICTED_ADDR, .size = FICR_RESTRICTED_SIZE }, 33 { .start = FICR_XOSC32MTRIM_ADDR, .size = FICR_XOSC32MTRIM_SIZE },
|
/trusted-firmware-m-3.4.0/platform/ext/target/nordic_nrf/nrf5340dk_nrf5340_cpuapp/services/include/ |
D | tfm_read_ranges.h | 30 { .start = FICR_INFO_ADDR, .size = FICR_INFO_SIZE }, 31 { .start = FICR_NFC_ADDR, .size = FICR_NFC_SIZE }, 32 { .start = FICR_RESTRICTED_ADDR, .size = FICR_RESTRICTED_SIZE }, 33 { .start = FICR_XOSC32MTRIM_ADDR, .size = FICR_XOSC32MTRIM_SIZE },
|
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32l5xx/secure/ |
D | target_cfg.c | 172 void unsecure_sram1(uint32_t start, uint32_t end); 173 void unsecure_sram2(uint32_t start, uint32_t end); 177 void unsecure_sram1(uint32_t start, uint32_t end) in unsecure_sram1() argument 183 uint32_t block_start = (start - 0x20000000) / (256); in unsecure_sram1() 184 uint32_t block_end = block_start + ((end - start) + 1) / (256); in unsecure_sram1() 186 if (start & 0xff) in unsecure_sram1() 220 void unsecure_sram2(uint32_t start, uint32_t end) in unsecure_sram2() argument 226 uint32_t block_start = (start - 0x30030000) / (256); in unsecure_sram2() 227 uint32_t block_end = block_start + ((end - start) + 1) / (256); in unsecure_sram2() 229 if (start & 0xff) in unsecure_sram2()
|
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32l5xx/bl2/ |
D | tfm_low_level_security.c | 144 uint32_t start; in TFM_LL_SECU_CheckStaticProtections() local 207 start = FLASH_AREA_BL2_OFFSET / PAGE_SIZE; in TFM_LL_SECU_CheckStaticProtections() 214 || (start != flash_option_bytes_bank1.WMSecStartPage) in TFM_LL_SECU_CheckStaticProtections() 218 … start, end, flash_option_bytes_bank1.WMSecStartPage, flash_option_bytes_bank1.WMSecEndPage); in TFM_LL_SECU_CheckStaticProtections() 224 flash_option_bytes_bank1.WMSecStartPage = start; in TFM_LL_SECU_CheckStaticProtections() 232 start = FLASH_AREA_BL2_OFFSET; in TFM_LL_SECU_CheckStaticProtections() 237 if ((start != flash_option_bytes_bank2.WMSecStartPage) in TFM_LL_SECU_CheckStaticProtections() 240 …BOOT_LOG_INF("BANK 2 secure flash [%d, %d] : OB [%d, %d]", start, end, flash_option_bytes_bank2.WM… in TFM_LL_SECU_CheckStaticProtections() 247 flash_option_bytes_bank2.WMSecStartPage = start; in TFM_LL_SECU_CheckStaticProtections() 273 start = FLASH_AREA_BL2_OFFSET / PAGE_SIZE; in TFM_LL_SECU_CheckStaticProtections() [all …]
|
/trusted-firmware-m-3.4.0/platform/ext/target/nordic_nrf/common/core/services/src/ |
D | tfm_platform_hal_ioctl.c | 62 uint32_t start = ranges[i].start; in tfm_platform_hal_read_service() local 65 if (args->addr >= start && in tfm_platform_hal_read_service() 66 args->addr + args->len <= start + size) { in tfm_platform_hal_read_service()
|
/trusted-firmware-m-3.4.0/platform/ext/target/nordic_nrf/nrf9160dk_nrf9160/services/include/ |
D | tfm_read_ranges.h | 24 { .start = FICR_INFO_ADDR, .size = FICR_INFO_SIZE }, 25 { .start = FICR_RESTRICTED_ADDR, .size = FICR_RESTRICTED_SIZE },
|
/trusted-firmware-m-3.4.0/platform/ext/target/nordic_nrf/nrf9161dk_nrf9161/services/include/ |
D | tfm_read_ranges.h | 24 { .start = FICR_INFO_ADDR, .size = FICR_INFO_SIZE }, 25 { .start = FICR_RESTRICTED_ADDR, .size = FICR_RESTRICTED_SIZE },
|
/trusted-firmware-m-3.4.0/platform/ext/target/nxp/common/CMSIS_Driver/ |
D | Driver_Flash_iap1.c | 131 static status_t FLASH_ReadData(flash_config_t *config, uint32_t start, uint8_t *dest, uint32_t leng… 132 static status_t FLASH_ReadSingleWord(flash_config_t *config, uint32_t start, uint32_t *readbackData… 343 static status_t FLASH_ReadData(flash_config_t *config, uint32_t start, uint8_t *dest, uint32_t leng… in FLASH_ReadData() argument 350 uint32_t alignedStart = ALIGN_DOWN(start, (uint32_t)kFLASH_AlignementUnitSingleWordRead); in FLASH_ReadData() 358 if ((alignedStart == start) && lengthInBytes) in FLASH_ReadData() 362 start++; in FLASH_ReadData() 372 static status_t FLASH_ReadSingleWord(flash_config_t *config, uint32_t start, uint32_t *readbackData) in FLASH_ReadSingleWord() argument 385 FLASH->STARTA = start >> 4; in FLASH_ReadSingleWord()
|
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32u5xx/Device/Source/armclang/ |
D | tfm_common_s.sct | 40 /**** PSA RoT RO part (CODE + RODATA) start here */ 42 * This empty, zero long execution region is here to mark the start address 60 /**** Unprivileged Secure code start here */ 65 /**** APPLICATION RoT RO part (CODE + RODATA) start here */ 67 * This empty, zero long execution region is here to mark the start address 90 * This empty, zero long execution region is here to mark the start address 103 /**** APP RoT DATA start here */ 151 /**** PSA RoT DATA start here */ 153 * This empty, zero long execution region is here to mark the start address
|
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32u5xx/bl2/ |
D | low_level_security.c | 590 uint32_t start; in LL_SECU_CheckStaticProtections() local 660 start = FLASH_AREA_SCRATCH_OFFSET / PAGE_SIZE; in LL_SECU_CheckStaticProtections() 666 if ((start != flash_option_bytes_bank1.WMSecStartPage) in LL_SECU_CheckStaticProtections() 670 … start, end, flash_option_bytes_bank1.WMSecStartPage, flash_option_bytes_bank1.WMSecEndPage); in LL_SECU_CheckStaticProtections() 676 flash_option_bytes_bank1.WMSecStartPage = start; in LL_SECU_CheckStaticProtections() 684 start = 0; in LL_SECU_CheckStaticProtections() 689 if ((start != flash_option_bytes_bank2.WMSecStartPage) in LL_SECU_CheckStaticProtections() 692 …BOOT_LOG_INF("BANK 2 secure flash [%d, %d] : OB [%d, %d]", start, end, flash_option_bytes_bank2.WM… in LL_SECU_CheckStaticProtections() 699 flash_option_bytes_bank2.WMSecStartPage = start; in LL_SECU_CheckStaticProtections() 725 start = FLASH_AREA_PERSO_OFFSET / PAGE_SIZE; in LL_SECU_CheckStaticProtections() [all …]
|
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/device/source/armclang/ |
D | m2354_s.sct | 31 /**** Unprivileged Secure code start here */ 38 /**** PSA RoT RO part (CODE + RODATA) start here */ 40 * This empty, zero long execution region is here to mark the start address 110 /**** APPLICATION RoT RO part (CODE + RODATA) start here */ 112 * This empty, zero long execution region is here to mark the start address 186 /**** APP RoT DATA start here */ 188 * This empty, zero long execution region is here to mark the start address 265 /**** PSA RoT DATA start here */ 267 * This empty, zero long execution region is here to mark the start address
|
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/device/source/armclang/ |
D | m2351_s.sct | 31 /**** Unprivileged Secure code start here */ 38 /**** PSA RoT RO part (CODE + RODATA) start here */ 40 * This empty, zero long execution region is here to mark the start address 110 /**** APPLICATION RoT RO part (CODE + RODATA) start here */ 112 * This empty, zero long execution region is here to mark the start address 192 /**** APP RoT DATA start here */ 194 * This empty, zero long execution region is here to mark the start address 271 /**** PSA RoT DATA start here */ 273 * This empty, zero long execution region is here to mark the start address
|
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32u5xx/Device/Source/iar/ |
D | tfm_common_s.icf | 55 /**** PSA RoT RO part (CODE + RODATA) start here */ 57 * This empty, zero long execution region is here to mark the start address 141 /**** PSA RoT DATA start here */ 143 * This empty, zero long execution region is here to mark the start address 185 /**** UnPrivileged Flash start here , UNPRIV_BLOCK is align to match GTZC constrains */ 189 /**** APPLICATION RoT RO part (CODE + RODATA) start here */ 219 /**** Unpriv DATA start here */ 221 * This empty, zero long execution region is here to mark the start address 252 /**** PSA RoT DATA start here */ 254 * This empty, zero long execution region is here to mark the start address
|
/trusted-firmware-m-3.4.0/platform/ext/common/armclang/ |
D | tfm_common_s.sct | 57 /**** Unprivileged Secure code start here */ 75 /**** PSA RoT RO part (CODE + RODATA) start here */ 77 * This empty, zero long execution region is here to mark the start address 96 /**** APPLICATION RoT RO part (CODE + RODATA) start here */ 98 * This empty, zero long execution region is here to mark the start address 171 /**** APP RoT DATA start here */ 173 * This empty, zero long execution region is here to mark the start address 234 /**** PSA RoT DATA start here */ 236 * This empty, zero long execution region is here to mark the start address
|
/trusted-firmware-m-3.4.0/platform/ext/common/iar/ |
D | tfm_common_s.icf | 68 /**** PSA RoT RO part (CODE + RODATA) start here */ 70 * This empty, zero long execution region is here to mark the start address 87 /**** APPLICATION RoT RO part (CODE + RODATA) start here */ 89 * This empty, zero long execution region is here to mark the start address 212 /**** PSA RoT DATA start here */ 214 * This empty, zero long execution region is here to mark the start address 265 /**** APPLICATION RoT RO part (CODE + RODATA) start here */ 267 * This empty, zero long execution region is here to mark the start address 327 /**** APP RoT DATA start here */ 329 * This empty, zero long execution region is here to mark the start address [all …]
|
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/hal/CMSIS_Driver/ |
D | low_level_flash.c | 127 uint32_t start, uint32_t len) in is_range_secure() argument 138 if ((start >= vect->range[nb].base) && ((start + len - 1) <= vect->range[nb].limit)) in is_range_secure() 177 uint32_t start, uint32_t len) in is_write_allow() argument 183 if ((start >= vect->range[nb].base) && ((start + len - 1) <= vect->range[nb].limit)) in is_write_allow()
|
D | low_level_ospi_flash.c | 149 uint32_t start, uint32_t len) in is_write_allow() argument 155 if ((start >= vect->range[nb].base) && ((start + len - 1) <= vect->range[nb].limit)) in is_write_allow()
|
/trusted-firmware-m-3.4.0/secure_fw/spm/include/load/ |
D | asset_defs.h | 25 uintptr_t start; member
|
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/an552/native_drivers/ |
D | emulated_flash_drv.h | 39 uint32_t start; ///< Sector Start address member
|
/trusted-firmware-m-3.4.0/platform/ext/target/nordic_nrf/common/core/services/include/ |
D | tfm_ioctl_core_api.h | 96 uint32_t start; member
|
/trusted-firmware-m-3.4.0/docs/technical_references/design_docs/dual-cpu/ |
D | booting_a_dual_core_system.rst | 44 up hardware protection to (potentially) start the non-secure core running 47 code to start running, so starting it here ensures system integrity while 60 secure code jumps to the non-secure code, and at the very start of the 105 - Performs the necessary actions to start the non-secure core running the code 126 initialization (on a single core system, this would be the start of the
|