Lines Matching defs:img_id
114 * @img_id[in]: Image Id
120 static int get_auth_param_type_desc(unsigned int img_id,
125 img_type_t type = auth_img_descs[img_id].img_type;
129 &auth_img_descs[img_id].img_auth_methods[AUTH_METHOD_SIG];
134 &auth_img_descs[img_id].img_auth_methods[AUTH_METHOD_HASH];
218 * @img_id[in]: Image identifier
225 unsigned int img_id, img_type_t type,
274 auth_img_descs[img_id].img_auth_methods = &auth_method[0];
327 unsigned int img_id, parent_img_id;
329 rc = fdt_read_uint32(dtb, node, "image-id", &img_id);
346 auth_img_descs[img_id].parent = &auth_img_descs[parent_img_id];
349 auth_img_descs[img_id].img_id = img_id;
350 auth_img_descs[img_id].img_type = type;
352 rc = populate_and_set_auth_methods(dtb, node, img_id, type,
362 auth_img_descs[img_id].authenticated_data = &auth_param[0];
365 cot_desc[img_id] = &auth_img_descs[img_id];