Home
last modified time | relevance | path

Searched refs:fic (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/tests/subsys/dfu/img_util/src/
Dmain.c134 struct flash_img_check fic = { NULL, 0 }; in ZTEST() local
147 ret = flash_img_check(NULL, &fic, 0); in ZTEST()
152 ret = flash_img_check(&ctx, &fic, SLOT1_PARTITION_ID); in ZTEST()
154 fic.match = tst_sha; in ZTEST()
155 ret = flash_img_check(&ctx, &fic, SLOT1_PARTITION_ID); in ZTEST()
157 fic.clen = sizeof(tst_vec); in ZTEST()
159 ret = flash_img_check(&ctx, &fic, SLOT1_PARTITION_ID); in ZTEST()
162 ret = flash_img_check(&ctx, &fic, SLOT1_PARTITION_ID); in ZTEST()
/Zephyr-latest/subsys/dfu/img_util/
Dflash_img.c155 const struct flash_img_check *fic, in flash_img_check() argument
161 if (!ctx || !fic) { in flash_img_check()
171 fac.match = fic->match; in flash_img_check()
172 fac.clen = fic->clen; in flash_img_check()
/Zephyr-latest/subsys/mgmt/updatehub/
Dupdatehub_storage.c64 const struct flash_img_check fic = { .match = hash, .clen = size }; in updatehub_storage_check() local
66 return flash_img_check(&ctx->flash_ctx, &fic, partition_id); in updatehub_storage_check()
/Zephyr-latest/include/zephyr/dfu/
Dflash_img.h111 const struct flash_img_check *fic,
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt/src/
Dimg_mgmt.c837 struct flash_img_check fic; in img_mgmt_upload() local
868 fic.match = g_img_mgmt_state.data_sha; in img_mgmt_upload()
869 fic.clen = g_img_mgmt_state.size; in img_mgmt_upload()
871 if (flash_img_check(&ctx, &fic, g_img_mgmt_state.area_id) == 0) { in img_mgmt_upload()
944 struct flash_img_check fic = { in img_mgmt_upload() local
949 if (flash_img_check(&ctx, &fic, g_img_mgmt_state.area_id) == 0) { in img_mgmt_upload()
/Zephyr-latest/subsys/mgmt/hawkbit/
Dhawkbit.c1443 struct flash_img_check fic = {0}; in s_download() local
1477 fic.match = s->hb_context.dl.file_hash; in s_download()
1478 fic.clen = s->hb_context.dl.downloaded_size; in s_download()
1479 if (flash_img_check(&s->hb_context.flash_ctx, &fic, flash_area_ptr->fa_id)) { in s_download()