/trusted-firmware-m-3.6.0/platform/ext/cmsis/ |
D | cmsis_gcc.h | 297 uint32_t result; in __REV() 299 __ASM ("rev %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) ); in __REV() 300 return result; in __REV() 313 uint32_t result; in __REV16() local 315 __ASM ("rev16 %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) ); in __REV16() 316 return result; in __REV16() 331 int16_t result; in __REVSH() 333 __ASM ("revsh %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) ); in __REVSH() 334 return result; in __REVSH() 375 uint32_t result; in __RBIT() local [all …]
|
D | cmsis_armclang_ltm.h | 421 uint32_t result; in __RRX() local 423 __ASM volatile ("rrx %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) ); in __RRX() 424 return(result); in __RRX() 436 uint32_t result; in __LDRBT() local 438 __ASM volatile ("ldrbt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRBT() 439 return ((uint8_t) result); /* Add explicit type cast here */ in __LDRBT() 451 uint32_t result; in __LDRHT() local 453 __ASM volatile ("ldrht %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRHT() 454 return ((uint16_t) result); /* Add explicit type cast here */ in __LDRHT() 466 uint32_t result; in __LDRT() local [all …]
|
D | cmsis_armclang.h | 427 uint32_t result; in __RRX() local 429 __ASM volatile ("rrx %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) ); in __RRX() 430 return(result); in __RRX() 442 uint32_t result; in __LDRBT() local 444 __ASM volatile ("ldrbt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRBT() 445 return ((uint8_t) result); /* Add explicit type cast here */ in __LDRBT() 457 uint32_t result; in __LDRHT() local 459 __ASM volatile ("ldrht %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRHT() 460 return ((uint16_t) result); /* Add explicit type cast here */ in __LDRHT() 472 uint32_t result; in __LDRT() local [all …]
|
/trusted-firmware-m-3.6.0/platform/ext/target/arm/corstone1000/partition/ |
D | partition.c | 58 int result; in load_mbr_header() local 62 result = io_seek(image_handle, IO_SEEK_SET, MBR_OFFSET); in load_mbr_header() 63 if (result != 0) { in load_mbr_header() 64 WARN("Failed to seek (%i)\n", result); in load_mbr_header() 65 return result; in load_mbr_header() 67 result = io_read(image_handle, (uintptr_t)&mbr_sector, in load_mbr_header() 69 if (result != 0) { in load_mbr_header() 70 WARN("Failed to read data (%i)\n", result); in load_mbr_header() 71 return result; in load_mbr_header() 92 int result; in load_gpt_header() local [all …]
|
/trusted-firmware-m-3.6.0/platform/ext/target/arm/corstone1000/io/ |
D | io_storage.c | 86 int result = -ENOENT; in find_first_entity() local 89 result = 0; in find_first_entity() 94 return result; in find_first_entity() 99 int result = -ENOMEM; in allocate_entity() local 104 result = find_first_entity(NULL, &index); in allocate_entity() 105 assert(result == 0); in allocate_entity() 111 return result; in allocate_entity() 116 int result; in free_entity() local 120 result = find_first_entity(entity, &index); in free_entity() 121 if (result == 0) { in free_entity() [all …]
|
/trusted-firmware-m-3.6.0/platform/ext/target/arm/rss/tc/bl2/ |
D | boot_hal_bl2.c | 50 int32_t result; in boot_platform_post_init() local 52 result = crypto_hw_accelerator_init(); in boot_platform_post_init() 53 if (result) { in boot_platform_post_init() 84 result = sic_boot_init(); in boot_platform_post_init() 85 if (result) { in boot_platform_post_init() 86 return result; in boot_platform_post_init() 207 int32_t result; in boot_platform_quit() local 212 result = sic_boot_pre_quit(&vt_cpy); in boot_platform_quit() 213 if (result) { in boot_platform_quit() 219 result = crypto_hw_accelerator_finish(); in boot_platform_quit() [all …]
|
/trusted-firmware-m-3.6.0/platform/ext/target/arm/rss/kronos/bl2/ |
D | boot_hal_bl2.c | 50 int32_t result; in boot_platform_post_init() local 52 result = crypto_hw_accelerator_init(); in boot_platform_post_init() 53 if (result) { in boot_platform_post_init() 84 result = sic_boot_init(); in boot_platform_post_init() 85 if (result) { in boot_platform_post_init() 86 return result; in boot_platform_post_init() 207 int32_t result; in boot_platform_quit() local 212 result = sic_boot_pre_quit(&vt_cpy); in boot_platform_quit() 213 if (result) { in boot_platform_quit() 219 result = crypto_hw_accelerator_finish(); in boot_platform_quit() [all …]
|
/trusted-firmware-m-3.6.0/platform/ext/target/arm/musca_b1/services/src/ |
D | tfm_ioctl_ns_api.c | 15 uint32_t *result) in tfm_platform_set_pin_alt_func() argument 22 if (result == NULL) { in tfm_platform_set_pin_alt_func() 33 out_vec.base = (void *)result; in tfm_platform_set_pin_alt_func() 34 out_vec.len = sizeof(*result); in tfm_platform_set_pin_alt_func() 45 bool default_in_value, uint32_t *result) in tfm_platform_set_pin_default_in() argument 52 if (result == NULL) { in tfm_platform_set_pin_default_in() 64 out_vec.base = (void *)result; in tfm_platform_set_pin_default_in() 65 out_vec.len = sizeof(*result); in tfm_platform_set_pin_default_in() 76 uint32_t *result) in tfm_platform_set_pin_mode() argument 83 if (result == NULL) { in tfm_platform_set_pin_mode() [all …]
|
D | tfm_ioctl_s_api.c | 16 uint32_t *result) in tfm_platform_set_pin_alt_func() argument 23 if (result == NULL) { in tfm_platform_set_pin_alt_func() 34 out_vec.base = (void *)result; in tfm_platform_set_pin_alt_func() 35 out_vec.len = sizeof(*result); in tfm_platform_set_pin_alt_func() 49 bool default_in_value, uint32_t *result) in tfm_platform_set_pin_default_in() argument 56 if (result == NULL) { in tfm_platform_set_pin_default_in() 68 out_vec.base = (void *)result; in tfm_platform_set_pin_default_in() 69 out_vec.len = sizeof(*result); in tfm_platform_set_pin_default_in() 83 uint32_t *result) in tfm_platform_set_pin_mode() argument 90 if (result == NULL) { in tfm_platform_set_pin_mode() [all …]
|
D | tfm_platform_system.c | 38 uint32_t *result; in musca_b1_pin_service() local 48 result = (uint32_t *)out_vec->base; in musca_b1_pin_service() 52 *result = musca_b1_scc_set_alt_func(&MUSCA_B1_SCC_DEV_S, altfunc, in musca_b1_pin_service() 57 *result = musca_b1_scc_set_default_in(&MUSCA_B1_SCC_DEV_S, altfunc, in musca_b1_pin_service() 63 *result = musca_b1_scc_set_pinmode(&MUSCA_B1_SCC_DEV_S, in musca_b1_pin_service() 68 *result = SCC_INVALID_ARG; in musca_b1_pin_service() 97 out->u.result = GPIO_CMSDK_ERR_NONE; in tfm_platform_hal_gpio_service() 101 out->u.result = gpio_cmsdk_pin_config( in tfm_platform_hal_gpio_service() 107 out->u.result = gpio_cmsdk_pin_write( in tfm_platform_hal_gpio_service() 113 out->u.gpio_read_result.result = in tfm_platform_hal_gpio_service() [all …]
|
/trusted-firmware-m-3.6.0/platform/ext/target/arm/musca_s1/services/src/ |
D | tfm_ioctl_ns_api.c | 15 uint32_t *result) in tfm_platform_set_pin_alt_func() argument 22 if (result == NULL) { in tfm_platform_set_pin_alt_func() 33 out_vec.base = (void *)result; in tfm_platform_set_pin_alt_func() 34 out_vec.len = sizeof(*result); in tfm_platform_set_pin_alt_func() 45 bool default_in_value, uint32_t *result) in tfm_platform_set_pin_default_in() argument 52 if (result == NULL) { in tfm_platform_set_pin_default_in() 64 out_vec.base = (void *)result; in tfm_platform_set_pin_default_in() 65 out_vec.len = sizeof(*result); in tfm_platform_set_pin_default_in() 76 uint32_t *result) in tfm_platform_set_pin_mode() argument 83 if (result == NULL) { in tfm_platform_set_pin_mode() [all …]
|
D | tfm_ioctl_s_api.c | 16 uint32_t *result) in tfm_platform_set_pin_alt_func() argument 23 if (result == NULL) { in tfm_platform_set_pin_alt_func() 34 out_vec.base = (void *)result; in tfm_platform_set_pin_alt_func() 35 out_vec.len = sizeof(*result); in tfm_platform_set_pin_alt_func() 49 bool default_in_value, uint32_t *result) in tfm_platform_set_pin_default_in() argument 56 if (result == NULL) { in tfm_platform_set_pin_default_in() 68 out_vec.base = (void *)result; in tfm_platform_set_pin_default_in() 69 out_vec.len = sizeof(*result); in tfm_platform_set_pin_default_in() 83 uint32_t *result) in tfm_platform_set_pin_mode() argument 90 if (result == NULL) { in tfm_platform_set_pin_mode() [all …]
|
/trusted-firmware-m-3.6.0/platform/ext/common/ |
D | boot_hal_bl2.c | 122 int32_t result; in boot_platform_init() local 135 result = FLASH_DEV_NAME.Initialize(NULL); in boot_platform_init() 136 if (result != ARM_DRIVER_OK) { in boot_platform_init() 141 result = FLASH_DEV_NAME_2.Initialize(NULL); in boot_platform_init() 142 if (result != ARM_DRIVER_OK) { in boot_platform_init() 147 result = FLASH_DEV_NAME_3.Initialize(NULL); in boot_platform_init() 148 if (result != ARM_DRIVER_OK) { in boot_platform_init() 153 result = FLASH_DEV_NAME_SCRATCH.Initialize(NULL); in boot_platform_init() 154 if (result != ARM_DRIVER_OK) { in boot_platform_init() 165 int32_t result; in boot_platform_post_init() local [all …]
|
/trusted-firmware-m-3.6.0/platform/ext/target/arm/corstone1000/bl2/ |
D | boot_hal_bl2.c | 73 int result; in fill_flash_map_with_fip_data() local 93 result = parse_fip_and_extract_tfa_info( in fill_flash_map_with_fip_data() 96 if (result != FIP_PARSER_SUCCESS) { in fill_flash_map_with_fip_data() 137 int32_t result; in boot_platform_init() local 140 result = corstone1000_watchdog_init(); in boot_platform_init() 141 if (result != ARM_DRIVER_OK) { in boot_platform_init() 145 result = FLASH_DEV_NAME.Initialize(NULL); in boot_platform_init() 146 if (result != ARM_DRIVER_OK) { in boot_platform_init() 169 int32_t result; in boot_platform_post_init() local 174 result = crypto_hw_accelerator_init(); in boot_platform_post_init() [all …]
|
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/x509cert_utils/ |
D | cert_dbg_developer_util.py | 100 exit_main_func(log_file, config_fname, result) 106 result = DLLHandle.SBU_x509_CreateAndSetHeader(int(CC_X509_CERT_TYPE_DEVELOPER_DBG), 16) 107 if result != 0: 109 exit_main_func(log_file, config_fname, result) 113 result = DLLHandle.SBU_x509_AddPropHeaderExtension(propHeader.encode('iso-8859-1')) 114 if result != 0: 116 exit_main_func(log_file, config_fname, result) 119 …result = DLLHandle.SBU_x509_AddPubKeyNpBuffExtension(str.encode(data_dict["cert_keypair"]), str.en… 120 if result != 0: 122 exit_main_func(log_file, config_fname, result) [all …]
|
D | cert_key_util.py | 100 exit_main_func(log_file, config_fname, result) 103 result = DLLHandle.SBU_x509_CreateAndSetHeader(int(CC_X509_CERT_TYPE_KEY)) 104 if result != 0: 106 exit_main_func(log_file, config_fname, result) 111 result = DLLHandle.SBU_x509_AddPropHeaderExtension(headerStr.encode('iso-8859-1')) 112 if result != 0: 114 exit_main_func(log_file, config_fname, result) 117 …result = DLLHandle.SBU_x509_AddPubKeyNpBuffExtension(str.encode(data_dict["cert_keypair"]), str.en… 118 if result != 0: 120 exit_main_func(log_file, config_fname, result) [all …]
|
D | cert_dbg_enabler_util.py | 100 exit_main_func(log_file, config_fname, result) 110 result = DLLHandle.SBU_x509_CreateAndSetHeader(int(CC_X509_CERT_TYPE_ENABLER_DBG)) 111 if result != 0: 113 exit_main_func(log_file, config_fname, result) 117 result = DLLHandle.SBU_x509_AddPropHeaderExtension(propHeader.encode('iso-8859-1')) 118 if result != 0: 120 exit_main_func(log_file, config_fname, result) 123 …result = DLLHandle.SBU_x509_AddPubKeyNpBuffExtension(str.encode(data_dict["cert_keypair"]), str.en… 124 if result != 0: 126 exit_main_func(log_file, config_fname, result) [all …]
|
D | cert_sb_content_util.py | 102 exit_main_func(log_file, config_fname, result) 105 result = DLLHandle.SBU_x509_CreateAndSetHeader(int(CC_X509_CERT_TYPE_CONTENT)) 106 if result != 0: 108 exit_main_func(log_file, config_fname, result) 119 result = DLLHandle.SBU_x509_AddPropHeaderExtension(headerStr.encode('iso-8859-1')) 120 if result != 0: 122 exit_main_func(log_file, config_fname, result) 125 …result = DLLHandle.SBU_x509_AddPubKeyNpBuffExtension(str.encode(data_dict["cert_keypair"]), str.en… 126 if result != 0: 128 exit_main_func(log_file, config_fname, result) [all …]
|
/trusted-firmware-m-3.6.0/platform/ext/target/arm/corstone1000/bl1/ |
D | boot_hal_bl1_2.c | 61 int32_t result; in boot_platform_post_init() local 62 result = FLASH_DEV_NAME.Initialize(NULL); in boot_platform_post_init() 63 if (result != ARM_DRIVER_OK) { in boot_platform_post_init() 78 int32_t result; in boot_platform_quit() local 81 result = cc3xx_uninit(); in boot_platform_quit() 82 if (result) { in boot_platform_quit() 94 result = FLASH_DEV_NAME.Uninitialize(); in boot_platform_quit() 95 if (result != ARM_DRIVER_OK) { in boot_platform_quit() 99 result = corstone1000_watchdog_reset_timer(); in boot_platform_quit() 100 if (result != ARM_DRIVER_OK) { in boot_platform_quit()
|
/trusted-firmware-m-3.6.0/platform/ext/target/arm/rss/common/bl1/ |
D | boot_hal_bl1_2.c | 83 int32_t result; in boot_platform_init() local 97 result = init_atu_regions(); in boot_platform_init() 98 if (result) { in boot_platform_init() 99 return result; in boot_platform_init() 106 result = FLASH_DEV_NAME.Initialize(NULL); in boot_platform_init() 107 if (result != ARM_DRIVER_OK) { in boot_platform_init() 112 result = host_flash_atu_init_regions_for_image(UUID_RSS_FIRMWARE_BL2, image_offsets); in boot_platform_init() 113 if (result) { in boot_platform_init() 114 return result; in boot_platform_init() 175 int32_t result; in boot_platform_quit() local [all …]
|
D | boot_hal_bl1_1.c | 58 int32_t result; in boot_platform_init() local 94 result = init_atu_regions(); in boot_platform_init() 95 if (result) { in boot_platform_init() 96 return result; in boot_platform_init() 110 result = cc3xx_init(); in boot_platform_init() 111 if (result != CC3XX_ERR_SUCCESS) { in boot_platform_init() 123 result = bl1_trng_generate_random(prbg_seed, sizeof(prbg_seed)); in boot_platform_init() 124 if (result != 0) { in boot_platform_init() 125 return result; in boot_platform_init() 128 result = kmu_init(&KMU_DEV_S, prbg_seed); in boot_platform_init() [all …]
|
/trusted-firmware-m-3.6.0/platform/ext/target/arm/musca_b1/services/include/ |
D | tfm_ioctl_api.h | 73 uint32_t result; /*!< Generic result */ member 76 uint32_t result; member 130 uint32_t *result); 146 bool default_in_value, uint32_t *result); 159 uint32_t *result); 168 enum tfm_platform_err_t tfm_platform_gpio_init(uint32_t *result); 181 uint32_t *result); 193 tfm_platform_gpio_pin_write(uint32_t pin_num, uint32_t value, uint32_t *result); 205 tfm_platform_gpio_pin_read(uint32_t pin_num, uint32_t *data, uint32_t *result); 218 uint32_t *result); [all …]
|
/trusted-firmware-m-3.6.0/platform/ext/target/arm/musca_s1/services/include/ |
D | tfm_ioctl_api.h | 73 uint32_t result; /*!< Generic result */ member 76 uint32_t result; member 130 uint32_t *result); 146 bool default_in_value, uint32_t *result); 159 uint32_t *result); 168 enum tfm_platform_err_t tfm_platform_gpio_init(uint32_t *result); 181 uint32_t *result); 193 tfm_platform_gpio_pin_write(uint32_t pin_num, uint32_t value, uint32_t *result); 205 tfm_platform_gpio_pin_read(uint32_t pin_num, uint32_t *data, uint32_t *result); 218 uint32_t *result); [all …]
|
/trusted-firmware-m-3.6.0/platform/ext/target/arm/musca_b1/bl2/ |
D | boot_hal_bl2.c | 24 int32_t result; in boot_platform_post_init() local 28 result = crypto_hw_accelerator_init(); in boot_platform_post_init() 29 if (result) { in boot_platform_post_init() 43 result = tfm_to_psa_adac_musca_b1_secure_debug(rotpk_p256, 32); in boot_platform_post_init() 45 (result == 0) ? "success" : "failure"); in boot_platform_post_init()
|
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/common_utils/ |
D | cert_dbg_util_gen.py | 22 …result = SBU_Crypto.SBU_GetNAndNpFromKeyPair(str.encode(RSAKeyFileName), str.encode(PassphraseFile… 23 if result != 0: 35 result = SBU_Crypto.SBU_GetNAndNpFromPubKey(str.encode(RSAKeyFileName), publicKey) 36 if result != 0: 55 result = CryptoDLL_handle.SBU_RSA_Sign(1, p3, DataInSize, p1, p2, Signature) 56 if result != 0: 93 …result = CryptoDLL_handle.SBU_GetHashOfNAndNpFromPubKey(str.encode(RSAPubKeyFileName), hashData, S… 94 if result != 0:
|