Lines Matching refs:priv_head

644 					      struct obj_attrs **priv_head,  in tee2pkcs_rsa_attributes()  argument
677 rc = tee2pkcs_add_attribute(priv_head, PKCS11_CKA_MODULUS, tee_obj, in tee2pkcs_rsa_attributes()
682 rc = tee2pkcs_add_attribute(priv_head, PKCS11_CKA_PUBLIC_EXPONENT, in tee2pkcs_rsa_attributes()
687 rc = tee2pkcs_add_attribute(priv_head, PKCS11_CKA_PRIVATE_EXPONENT, in tee2pkcs_rsa_attributes()
692 rc = tee2pkcs_add_attribute(priv_head, PKCS11_CKA_PRIME_1, tee_obj, in tee2pkcs_rsa_attributes()
697 rc = tee2pkcs_add_attribute(priv_head, PKCS11_CKA_PRIME_2, tee_obj, in tee2pkcs_rsa_attributes()
702 rc = tee2pkcs_add_attribute(priv_head, PKCS11_CKA_EXPONENT_1, tee_obj, in tee2pkcs_rsa_attributes()
707 rc = tee2pkcs_add_attribute(priv_head, PKCS11_CKA_EXPONENT_2, tee_obj, in tee2pkcs_rsa_attributes()
712 rc = tee2pkcs_add_attribute(priv_head, PKCS11_CKA_COEFFICIENT, tee_obj, in tee2pkcs_rsa_attributes()
720 struct obj_attrs **priv_head) in generate_rsa_keys() argument
731 if (!proc_params || !*pub_head || !*priv_head) in generate_rsa_keys()
753 if (remove_empty_attribute(priv_head, PKCS11_CKA_MODULUS) || in generate_rsa_keys()
754 remove_empty_attribute(priv_head, PKCS11_CKA_PUBLIC_EXPONENT) || in generate_rsa_keys()
755 remove_empty_attribute(priv_head, PKCS11_CKA_PRIVATE_EXPONENT) || in generate_rsa_keys()
756 remove_empty_attribute(priv_head, PKCS11_CKA_PRIME_1) || in generate_rsa_keys()
757 remove_empty_attribute(priv_head, PKCS11_CKA_PRIME_2) || in generate_rsa_keys()
758 remove_empty_attribute(priv_head, PKCS11_CKA_EXPONENT_1) || in generate_rsa_keys()
759 remove_empty_attribute(priv_head, PKCS11_CKA_EXPONENT_2) || in generate_rsa_keys()
760 remove_empty_attribute(priv_head, PKCS11_CKA_COEFFICIENT)) { in generate_rsa_keys()
792 rc = tee2pkcs_rsa_attributes(pub_head, priv_head, tee_obj); in generate_rsa_keys()