Lines Matching refs:pub_head
480 static enum pkcs11_rc tee2pkcs_ec_attributes(struct obj_attrs **pub_head, in tee2pkcs_ec_attributes() argument
577 rc = add_attribute(pub_head, PKCS11_CKA_EC_POINT, ecpoint, dersize); in tee2pkcs_ec_attributes()
590 struct obj_attrs **pub_head, in generate_ec_keys() argument
602 if (!proc_params || !*pub_head || !*priv_head) in generate_ec_keys()
605 if (remove_empty_attribute(pub_head, PKCS11_CKA_EC_POINT) || in generate_ec_keys()
609 trace_attributes("public-key", *pub_head); in generate_ec_keys()
614 if (get_attribute_ptr(*pub_head, PKCS11_CKA_EC_PARAMS, in generate_ec_keys()
653 rc = tee2pkcs_ec_attributes(pub_head, priv_head, tee_obj, tee_size); in generate_ec_keys()
726 struct obj_attrs **pub_head, in generate_eddsa_keys() argument
736 if (!proc_params || !*pub_head || !*priv_head) in generate_eddsa_keys()
739 if (remove_empty_attribute(pub_head, PKCS11_CKA_EC_POINT) || in generate_eddsa_keys()
744 trace_attributes("public-key", *pub_head); in generate_eddsa_keys()
749 if (get_attribute_ptr(*pub_head, PKCS11_CKA_EC_PARAMS, in generate_eddsa_keys()
793 rc = tee2pkcs_add_attribute(pub_head, PKCS11_CKA_EC_POINT, in generate_eddsa_keys()