Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/mgmt/mcumgr/grp/img_mgmt/
Dimg_mgmt_client.h50 char hash[IMG_MGMT_DATA_SHA_LEN];
86 char sha256[IMG_MGMT_DATA_SHA_LEN];
Dimg_mgmt.h28 #define IMG_MGMT_DATA_SHA_LEN 32 /* SHA256 */ macro
203 uint8_t data_sha[IMG_MGMT_DATA_SHA_LEN];
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt_client/src/
Dimg_mgmt_client.c129 if (hash.len != IMG_MGMT_DATA_SHA_LEN || !version.len || in image_state_res_fn()
141 hash.value, IMG_MGMT_DATA_SHA_LEN); in image_state_res_fn()
280 zcbor_bstr_encode_ptr(zse, upload_state->sha256, IMG_MGMT_DATA_SHA_LEN); in upload_message_header_size()
314 memcpy(client->upload.sha256, image_hash, IMG_MGMT_DATA_SHA_LEN); in img_mgmt_client_upload_init()
398 IMG_MGMT_DATA_SHA_LEN); in img_mgmt_client_upload()
488 zcbor_bstr_encode_ptr(zse, hash, IMG_MGMT_DATA_SHA_LEN); in img_mgmt_client_state_write()
/Zephyr-latest/tests/subsys/mgmt/mcumgr/mcumgr_client/src/
Dimg_gr_stub.c127 zcbor_bstr_encode_ptr(zse, image_dummy_info[i].hash, IMG_MGMT_DATA_SHA_LEN) && in img_read_response()
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt/src/
Dimg_mgmt.c859 IMG_MGMT_DATA_SHA_LEN - req.data_sha.len); in img_mgmt_upload()
867 if (g_img_mgmt_state.data_sha_len == IMG_MGMT_DATA_SHA_LEN) { in img_mgmt_upload()
Dzephyr_img_mgmt.c603 if (req->data_sha.len > IMG_MGMT_DATA_SHA_LEN) { in img_mgmt_upload_inspect()