Home
last modified time | relevance | path

Searched refs:auth_method (Results 1 – 2 of 2) sorted by relevance

/rk3399_ARM-atf/lib/fconf/
H A Dfconf_cot_getter.c152 auth_method_desc_t *auth_method) in set_auth_method() argument
157 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 …]
/rk3399_ARM-atf/drivers/auth/
H A Dauth_mod.c474 const auth_method_desc_t *auth_method = NULL; in auth_mod_verify_img() local
499 auth_method = &img_desc->img_auth_methods[i]; in auth_mod_verify_img()
500 switch (auth_method->type) { in auth_mod_verify_img()
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()