Searched refs:remove_empty_attribute (Results 1 – 7 of 7) sorted by relevance
| /optee_os/ta/pkcs11/src/ |
| H A D | processing_rsa.c | 661 rc = remove_empty_attribute(pub_head, in tee2pkcs_rsa_attributes() 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()
|
| H A D | processing_ec.c | 605 if (remove_empty_attribute(pub_head, PKCS11_CKA_EC_POINT) || in generate_ec_keys() 606 remove_empty_attribute(priv_head, PKCS11_CKA_VALUE) || in generate_ec_keys() 607 remove_empty_attribute(priv_head, PKCS11_CKA_EC_PARAMS)) { in generate_ec_keys() 739 if (remove_empty_attribute(pub_head, PKCS11_CKA_EC_POINT) || in generate_eddsa_keys() 740 remove_empty_attribute(priv_head, PKCS11_CKA_VALUE) || in generate_eddsa_keys() 741 remove_empty_attribute(priv_head, PKCS11_CKA_EC_POINT) || in generate_eddsa_keys() 742 remove_empty_attribute(priv_head, PKCS11_CKA_EC_PARAMS)) { in generate_eddsa_keys()
|
| H A D | attributes.h | 94 enum pkcs11_rc remove_empty_attribute(struct obj_attrs **head, uint32_t attrib);
|
| H A D | pkcs11_attributes.c | 2489 rc = remove_empty_attribute(head, PKCS11_CKA_VALUE); in set_secret_key_data() 2522 if (remove_empty_attribute(head, PKCS11_CKA_MODULUS) || in set_private_key_data_rsa() 2523 remove_empty_attribute(head, PKCS11_CKA_PUBLIC_EXPONENT) || in set_private_key_data_rsa() 2524 remove_empty_attribute(head, PKCS11_CKA_PRIVATE_EXPONENT) || in set_private_key_data_rsa() 2525 remove_empty_attribute(head, PKCS11_CKA_PRIME_1) || in set_private_key_data_rsa() 2526 remove_empty_attribute(head, PKCS11_CKA_PRIME_2)) in set_private_key_data_rsa()
|
| H A D | attributes.c | 97 enum pkcs11_rc remove_empty_attribute(struct obj_attrs **head, in remove_empty_attribute() function
|
| H A D | processing_asymm.c | 1039 if (remove_empty_attribute(head, PKCS11_CKA_VALUE)) in do_asymm_derivation()
|
| H A D | processing.c | 194 rc = remove_empty_attribute(head, PKCS11_CKA_VALUE); in generate_random_key_value()
|