Searched refs:auth_method (Results 1 – 2 of 2) sorted by relevance
152 auth_method_desc_t *auth_method) in set_auth_method() argument157 assert(auth_method != NULL); in set_auth_method()160 auth_method->type = auth_method_type; in set_auth_method()164 auth_method->param.sig.sig = &sig; in set_auth_method()165 auth_method->param.sig.alg = &sig_alg; in set_auth_method()166 auth_method->param.sig.data = &raw_data; in set_auth_method()167 auth_method->param.sig.pk = auth_param_type_desc; in set_auth_method()170 auth_method->param.hash.data = &raw_data; in set_auth_method()171 auth_method->param.hash.hash = auth_param_type_desc; in set_auth_method()174 auth_method->param.nv_ctr.cert_nv_ctr = auth_param_type_desc; in set_auth_method()[all …]
458 const auth_method_desc_t *auth_method = NULL; in auth_mod_verify_img() local483 auth_method = &img_desc->img_auth_methods[i]; in auth_mod_verify_img()484 switch (auth_method->type) { in auth_mod_verify_img()489 rc = auth_hash(&auth_method->param.hash, in auth_mod_verify_img()493 rc = auth_signature(&auth_method->param.sig, in auth_mod_verify_img()498 nv_ctr_param = &auth_method->param.nv_ctr; in auth_mod_verify_img()