Lines Matching refs:param
46 void **param, unsigned int *len) in auth_get_param() argument
56 *param = img_desc->authenticated_data[i].data.ptr; in auth_get_param()
90 static int auth_hash(const auth_method_param_hash_t *param, in auth_hash() argument
100 rc = auth_get_param(param->hash, img_desc->parent, in auth_hash()
109 rc = img_parser_get_auth_param(img_desc->img_type, param->data, in auth_hash()
156 static int auth_signature(const auth_method_param_sig_t *param, in auth_signature() argument
166 rc = img_parser_get_auth_param(img_desc->img_type, param->data, in auth_signature()
175 rc = img_parser_get_auth_param(img_desc->img_type, param->sig, in auth_signature()
184 rc = img_parser_get_auth_param(img_desc->img_type, param->alg, in auth_signature()
196 if (param->pk->cookie != NULL) { in auth_signature()
197 pk_oid = param->pk->cookie; in auth_signature()
208 rc = auth_get_param(param->pk, img_desc->parent, in auth_signature()
220 rc = plat_get_rotpk_info(param->pk->cookie, &pk_plat_ptr, in auth_signature()
232 param->pk, img, img_len, in auth_signature()
323 static int auth_nvctr(const auth_method_param_nv_ctr_t *param, in auth_nvctr() argument
337 rc = img_parser_get_auth_param(img_desc->img_type, param->cert_nv_ctr, in auth_nvctr()
381 rc = plat_get_nv_ctr(param->plat_nv_ctr->cookie, &plat_nv_ctr); in auth_nvctr()
505 rc = auth_hash(&auth_method->param.hash, in auth_mod_verify_img()
509 rc = auth_signature(&auth_method->param.sig, in auth_mod_verify_img()
514 nv_ctr_param = &auth_method->param.nv_ctr; in auth_mod_verify_img()