Lines Matching defs:img_desc

44 			  const auth_img_desc_t *img_desc,
49 if (img_desc->authenticated_data == NULL)
54 img_desc->authenticated_data[i].type_desc)) {
55 *param = img_desc->authenticated_data[i].data.ptr;
56 *len = img_desc->authenticated_data[i].data.len;
81 * img_desc: pointer to image descriptor so we can know the image type
90 const auth_img_desc_t *img_desc,
99 rc = auth_get_param(param->hash, img_desc->parent,
108 rc = img_parser_get_auth_param(img_desc->img_type, param->data,
156 const auth_img_desc_t *img_desc,
165 rc = img_parser_get_auth_param(img_desc->img_type, param->data,
174 rc = img_parser_get_auth_param(img_desc->img_type, param->sig,
183 rc = img_parser_get_auth_param(img_desc->img_type, param->alg,
194 if (img_desc->parent != NULL) {
195 rc = auth_get_param(param->pk, img_desc->parent,
218 rc = img_parser_get_auth_param(img_desc->img_type,
321 const auth_img_desc_t *img_desc,
335 rc = img_parser_get_auth_param(img_desc->img_type, param->cert_nv_ctr,
399 int plat_set_nv_ctr2(void *cookie, const auth_img_desc_t *img_desc __unused,
413 const auth_img_desc_t *img_desc = NULL;
417 img_desc = FCONF_GET_PROPERTY(tbbr, cot, img_id);
420 if (img_desc->parent == NULL) {
426 if (auth_img_flags[img_desc->parent->img_id] & IMG_FLAG_AUTHENTICATED) {
431 *parent_id = img_desc->parent->img_id;
456 const auth_img_desc_t *img_desc = NULL;
468 img_desc = FCONF_GET_PROPERTY(tbbr, cot, img_id);
471 rc = img_parser_check_integrity(img_desc->img_type, img_ptr, img_len);
480 if (img_desc->img_auth_methods == NULL)
483 auth_method = &img_desc->img_auth_methods[i];
490 img_desc, img_ptr, img_len);
494 img_desc, img_ptr, img_len);
500 img_desc, img_ptr, img_len,
521 img_desc, cert_nv_ctr);
531 if (img_desc->authenticated_data != NULL) {
533 if (img_desc->authenticated_data[i].type_desc == NULL) {
538 rc = img_parser_get_auth_param(img_desc->img_type,
539 img_desc->authenticated_data[i].type_desc,
548 if (param_len > img_desc->authenticated_data[i].data.len) {
553 memcpy((void *)img_desc->authenticated_data[i].data.ptr,
560 type_desc = img_desc->authenticated_data[i].type_desc;
574 auth_img_flags[img_desc->img_id] |= IMG_FLAG_AUTHENTICATED;