Home | History | Annotate | Download | only in auth

Lines Matching refs:img_desc

49 			  const auth_img_desc_t *img_desc,
56 img_desc->authenticated_data[i].type_desc)) {
57 *param = img_desc->authenticated_data[i].data.ptr;
58 *len = img_desc->authenticated_data[i].data.len;
83 * img_desc: pointer to image descriptor so we can know the image type
92 const auth_img_desc_t *img_desc,
101 rc = auth_get_param(param->hash, img_desc->parent,
106 rc = img_parser_get_auth_param(img_desc->img_type, param->data,
145 const auth_img_desc_t *img_desc,
154 rc = img_parser_get_auth_param(img_desc->img_type, param->data,
159 rc = img_parser_get_auth_param(img_desc->img_type, param->sig,
164 rc = img_parser_get_auth_param(img_desc->img_type, param->alg,
171 if (img_desc->parent) {
172 rc = auth_get_param(param->pk, img_desc->parent,
185 rc = img_parser_get_auth_param(img_desc->img_type,
228 const auth_img_desc_t *img_desc,
239 rc = img_parser_get_auth_param(img_desc->img_type, param->cert_nv_ctr,
279 img_desc, cert_nv_ctr);
286 int plat_set_nv_ctr2(void *cookie, const auth_img_desc_t *img_desc __unused,
300 const auth_img_desc_t *img_desc = NULL;
305 img_desc = &cot_desc_ptr[img_id];
308 if (img_desc->parent == NULL) {
314 if (auth_img_flags[img_desc->parent->img_id] & IMG_FLAG_AUTHENTICATED) {
319 *parent_id = img_desc->parent->img_id;
347 const auth_img_desc_t *img_desc = NULL;
354 img_desc = &cot_desc_ptr[img_id];
357 rc = img_parser_check_integrity(img_desc->img_type, img_ptr, img_len);
363 auth_method = &img_desc->img_auth_methods[i];
370 img_desc, img_ptr, img_len);
374 img_desc, img_ptr, img_len);
378 img_desc, img_ptr, img_len);
391 if (img_desc->authenticated_data[i].type_desc == NULL) {
396 rc = img_parser_get_auth_param(img_desc->img_type,
397 img_desc->authenticated_data[i].type_desc,
402 if (param_len > img_desc->authenticated_data[i].data.len) {
407 memcpy((void *)img_desc->authenticated_data[i].data.ptr,
412 auth_img_flags[img_desc->img_id] |= IMG_FLAG_AUTHENTICATED;