Home
last modified time | relevance | path

Searched refs:info (Results 1 – 25 of 57) sorted by relevance

123

/trusted-firmware-m-3.6.0/secure_fw/partitions/protected_storage/
Dps_object_system.c56 obj->header.info.max_size = size; in ps_init_empty_object()
57 obj->header.info.create_flags = create_flags; in ps_init_empty_object()
119 if (type == READ_ALL_OBJECT && g_ps_object.header.info.current_size > 0) { in ps_read_object()
122 g_ps_object.header.info.current_size, in ps_read_object()
204 if (offset > g_ps_object.header.info.current_size) { in ps_object_read()
210 g_ps_object.header.info.current_size - offset); in ps_object_read()
264 if (g_ps_object.header.info.create_flags in ps_object_create()
271 g_ps_object.header.info.create_flags = create_flags; in ps_object_create()
272 g_ps_object.header.info.max_size = size; in ps_object_create()
293 g_ps_object.header.info.current_size = size; in ps_object_create()
[all …]
Dtfm_ps_req_mngr.c82 struct psa_storage_info_t info; in tfm_ps_get_info_req() local
87 msg->out_size[0] != sizeof(info)) { in tfm_ps_get_info_req()
97 status = tfm_ps_get_info(msg->client_id, uid, &info); in tfm_ps_get_info_req()
100 psa_write(msg->handle, 0, &info, sizeof(info)); in tfm_ps_get_info_req()
Dps_encrypted_object.c64 uint8_t *p_obj_data = (uint8_t *)&obj->header.info; in ps_object_auth_decrypt()
115 uint8_t *p_obj_data = (uint8_t *)&obj->header.info; in ps_object_auth_encrypt()
145 (uint8_t *)&obj->header.info, in ps_object_auth_encrypt()
197 wrt_size = PS_ENCRYPT_SIZE(obj->header.info.current_size); in ps_encrypted_object_write()
Dps_object_defs.h43 struct ps_object_info_t info; /*!< Object information */ member
Dps_object_system.h93 struct psa_storage_info_t *info);
/trusted-firmware-m-3.6.0/platform/ext/target/arm/corstone1000/io/
Dio_block.c101 dev_info_pool[index].info = (uintptr_t)&state_pool[index]; in allocate_dev_info()
116 state = (block_dev_state_t *)dev_info->info; in free_dev_info()
133 assert((dev_info->info != (uintptr_t)NULL) && (spec != (uintptr_t)NULL) && in block_open()
134 (entity->info == (uintptr_t)NULL)); in block_open()
137 cur = (block_dev_state_t *)dev_info->info; in block_open()
145 entity->info = (uintptr_t)cur; in block_open()
153 assert(entity->info != (uintptr_t)NULL); in block_seek()
155 cur = (block_dev_state_t *)entity->info; in block_seek()
264 assert(entity->info != (uintptr_t)NULL); in block_read()
265 cur = (block_dev_state_t *)entity->info; in block_read()
[all …]
Dio_flash.c68 ARM_FLASH_INFO *info = flash_driver->GetInfo(); in flash_read() local
69 uint32_t addr = info->sector_size * lba; in flash_read()
71 size_t rem = info->sector_count * info->sector_size - offset; in flash_read()
81 ARM_FLASH_INFO *info = flash_driver->GetInfo(); in flash_write() local
83 uint32_t addr = info->sector_size * lba; in flash_write()
85 size_t rem = info->sector_count * info->sector_size - offset; in flash_write()
Dio_driver.h17 uintptr_t info; member
24 uintptr_t info; member
/trusted-firmware-m-3.6.0/secure_fw/partitions/firmware_update/
Dtfm_fwu_req_mngr.c49 psa_fwu_component_info_t info; in tfm_fwu_start() local
79 status = fwu_bootloader_get_image_info(component, true, false, &info); in tfm_fwu_start()
83 if (info.state != PSA_FWU_READY) { in tfm_fwu_start()
197 psa_fwu_component_info_t info; in tfm_fwu_install() local
212 status = fwu_bootloader_get_image_info(component, true, false, &info); in tfm_fwu_install()
216 if (info.state == PSA_FWU_TRIAL) { in tfm_fwu_install()
259 psa_fwu_component_info_t info; in tfm_fwu_query() local
274 info.state = fwu_ctx[component].component_state; in tfm_fwu_query()
284 info.error = fwu_ctx[component].error; in tfm_fwu_query()
292 query_impl_info, &info); in tfm_fwu_query()
[all …]
/trusted-firmware-m-3.6.0/secure_fw/partitions/firmware_update/bootloader/mcuboot/
Dtfm_mcuboot_fwu.c542 psa_fwu_component_info_t *info) in get_second_image_digest() argument
569 memcpy(info->impl.candidate_digest, hash, hash_size); in get_second_image_digest()
581 psa_fwu_component_info_t *info) in fwu_bootloader_get_image_info() argument
591 if (info == NULL) { in fwu_bootloader_get_image_info()
604 info->max_size = fap->fa_size; in fwu_bootloader_get_image_info()
605 info->location = fap->fa_id; in fwu_bootloader_get_image_info()
606 info->flags = PSA_FWU_FLAG_VOLATILE_STAGING; in fwu_bootloader_get_image_info()
624 info->state = PSA_FWU_READY; in fwu_bootloader_get_image_info()
626 info->state = PSA_FWU_TRIAL; in fwu_bootloader_get_image_info()
629 info->state = PSA_FWU_READY; in fwu_bootloader_get_image_info()
[all …]
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/
Drun_integration_helper.c139 rnd_buf_info *info = (rnd_buf_info *) rng_state; in runIt_rndBufferRand() local
146 if (len > info->length) in runIt_rndBufferRand()
147 use_len = info->length; in runIt_rndBufferRand()
151 memcpy(output, info->buf, use_len); in runIt_rndBufferRand()
152 info->buf += use_len; in runIt_rndBufferRand()
153 info->length -= use_len; in runIt_rndBufferRand()
/trusted-firmware-m-3.6.0/platform/ext/target/arm/corstone1000/openamp/
Dtfm_spe_openamp_interface_impl.c225 rvrings[0].info.vaddr = (void *)VRING_TX_ADDRESS; in tfm_to_openamp_init()
226 rvrings[0].info.num_descs = VRING_SIZE; in tfm_to_openamp_init()
227 rvrings[0].info.align = VRING_ALIGNMENT; in tfm_to_openamp_init()
231 rvrings[1].info.vaddr = (void *)VRING_RX_ADDRESS; in tfm_to_openamp_init()
232 rvrings[1].info.num_descs = VRING_SIZE; in tfm_to_openamp_init()
233 rvrings[1].info.align = VRING_ALIGNMENT; in tfm_to_openamp_init()
/trusted-firmware-m-3.6.0/secure_fw/partitions/internal_trusted_storage/
Dtfm_its_req_mngr.c110 struct psa_storage_info_t info; in tfm_its_get_info_req() local
114 msg->out_size[0] != sizeof(info)) { in tfm_its_get_info_req()
124 status = tfm_its_get_info(msg->client_id, uid, &info); in tfm_its_get_info_req()
126 psa_write(msg->handle, 0, &info, sizeof(info)); in tfm_its_get_info_req()
/trusted-firmware-m-3.6.0/tools/kconfig/
Dtfm_kconfig.py201 logging.info('TF-M build configs saved to \'{}\''.format(cmake_file))
202 logging.info('TF-M component configs saved to \'{}\''.format(header_file))
266 logging.info('.config file found, other config files are ignored.')
268 logging.info(tfm_kconfig.load_config(dot_config))
272 logging.info(tfm_kconfig.load_config(conf, replace = False))
287 logging.info(tfm_kconfig.write_config(dot_config))
/trusted-firmware-m-3.6.0/interface/src/
Dtfm_fwu_api.c77 psa_fwu_component_info_t *info) in psa_fwu_query() argument
83 { .base = info, .len = sizeof(*info)} in psa_fwu_query()
/trusted-firmware-m-3.6.0/platform/ext/target/arm/rss/common/bl1/scripts/
Dcreate_bl1_1_dma_bin.py139 logging.info('Location {} at {}, size {}, first usable address {}'.format(
160 logging.info('Command {} stored at {}, executed from {}, size {}'.format(
166 logging.info('Program {} stored at {}, executed from {}, size {}'.format(
196 logging.info('Writing output binary for location {} to file {} of size {}'.format(
199 logging.info('Writing output hex for location {} to file {} of size {}'.format(
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/host/
DMakefile.defs175 $(info Assuming build for RaspberryPi)
302 $(info Invoke 'make setconfig_<config. name>' to select project configuration )
306 @$(info [CFG] $(CONFIGS_PATH)/proj-$*.cfg --> proj.cfg)
314 $(info [CFG-CLN] No active configuration )
362 …$(if $(filter $(CONFIGS_PATH)/proj-$*.cfg,$(shell readlink $(PROJ_CFG_PATH))),$(info $* configurat…
376 @$(info Available project configurations:)
377 @$(foreach cfg_file,$(configs_list),$(info $(cfg_file)))
DMakefile.test_suite9 $(info adding test suite pal of board[${TEST_BOARD}] product[${TEST_PRODUCT}] no_pal[${NO_PAL}])
52 $(info TEE_OS[${TEE_OS}] PAL_OS[${PAL_OS}])
/trusted-firmware-m-3.6.0/secure_fw/partitions/internal_trusted_storage/flash_fs/
Dits_flash_fs.c200 struct its_flash_fs_file_info_t *info) in its_flash_fs_file_get_info() argument
211 info->size_max = tmp_metadata.max_size; in its_flash_fs_file_get_info()
212 info->size_current = tmp_metadata.cur_size; in its_flash_fs_file_get_info()
213 info->flags = tmp_metadata.flags & ITS_FLASH_FS_USER_FLAGS_MASK; in its_flash_fs_file_get_info()
216 memcpy(info->nonce, tmp_metadata.nonce, TFM_ITS_ENC_NONCE_LENGTH); in its_flash_fs_file_get_info()
217 memcpy(info->tag, tmp_metadata.tag, TFM_ITS_AUTH_TAG_LENGTH); in its_flash_fs_file_get_info()
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/kdf/
Dcc_hkdf.c151 uint8_t* info, in HkdfExpand() argument
172 if (info == NULL) { in HkdfExpand()
211 Error = CC_HmacUpdate(&UserContext, info, info_len); in HkdfExpand()
Dmbedtls_cc_hkdf.c165 uint8_t* info, in HkdfExpand() argument
187 if (info == NULL) { in HkdfExpand()
234 Error = mbedtls_md_hmac_update( &hmacCtx, info, info_len ); in HkdfExpand()
/trusted-firmware-m-3.6.0/tools/
Dtfm_parse_manifest_list.py312 logging.info("------------ Display partition configuration - start ------------")
330 logging.info(" {:40s} OFF".format(manifest_item['description']))
333 logging.info(" {:40s} ON".format(manifest_item['description']))
436 logging.info("------------ Display partition configuration - end ------------")
497 logging.info ("Start to generate partition files:")
505 logging.info ('Generating {} in {}'.format(one_partition['attr']['description'],
529 logging.info ("Per-partition files done:")
/trusted-firmware-m-3.6.0/secure_fw/partitions/firmware_update/bootloader/
Dtfm_bootloader_fwu_abstraction.h185 psa_fwu_component_info_t *info);
/trusted-firmware-m-3.6.0/interface/include/psa/
Dupdate.h182 psa_fwu_component_info_t *info);
/trusted-firmware-m-3.6.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Dretarget.c389 …const uint8_t info[] = {0x34, 0x3C, 0, 0, 0x44, 0x4C, 0x54, 0x5C, 0x64, 0, 0x74, 0x7C, 0x84, 0x8C,… in ProcessHardFault() local
396 printf("%s(0x%08x) Violation! ", ipname[i], M32(SCU_BASE + info[i] + 4)); in ProcessHardFault()
397 printf("Caused by %s\n", master[M32(SCU_BASE + (uint32_t)info[i])]); in ProcessHardFault()

123