Searched refs:priv_head (Results 1 – 6 of 6) sorted by relevance
/optee_os-3.20.0/ta/pkcs11/src/ |
A D | processing_ec.c | 466 struct obj_attrs **priv_head, in tee2pkcs_ec_attributes() argument 482 rc = tee2pkcs_add_attribute(priv_head, PKCS11_CKA_VALUE, in tee2pkcs_ec_attributes() 574 struct obj_attrs **priv_head) in generate_ec_keys() argument 585 if (!proc_params || !*pub_head || !*priv_head) in generate_ec_keys() 589 remove_empty_attribute(priv_head, PKCS11_CKA_VALUE) || in generate_ec_keys() 593 trace_attributes("private-key", *priv_head); in generate_ec_keys() 710 struct obj_attrs **priv_head) in generate_eddsa_keys() argument 719 if (!proc_params || !*pub_head || !*priv_head) in generate_eddsa_keys() 723 remove_empty_attribute(priv_head, PKCS11_CKA_VALUE) || in generate_eddsa_keys() 728 trace_attributes("private-key", *priv_head); in generate_eddsa_keys() [all …]
|
A D | processing_rsa.c | 613 struct obj_attrs **priv_head, in tee2pkcs_rsa_attributes() argument 651 rc = tee2pkcs_add_attribute(priv_head, PKCS11_CKA_PUBLIC_EXPONENT, in tee2pkcs_rsa_attributes() 689 struct obj_attrs **priv_head) in generate_rsa_keys() argument 700 if (!proc_params || !*pub_head || !*priv_head) in generate_rsa_keys() 722 if (remove_empty_attribute(priv_head, PKCS11_CKA_MODULUS) || in generate_rsa_keys() 725 remove_empty_attribute(priv_head, PKCS11_CKA_PRIME_1) || in generate_rsa_keys() 726 remove_empty_attribute(priv_head, PKCS11_CKA_PRIME_2) || in generate_rsa_keys() 727 remove_empty_attribute(priv_head, PKCS11_CKA_EXPONENT_1) || in generate_rsa_keys() 728 remove_empty_attribute(priv_head, PKCS11_CKA_EXPONENT_2) || in generate_rsa_keys() 729 remove_empty_attribute(priv_head, PKCS11_CKA_COEFFICIENT)) { in generate_rsa_keys() [all …]
|
A D | processing.c | 401 struct obj_attrs *priv_head = NULL; in entry_generate_key_pair() local 476 rc = add_missing_attribute_id(&pub_head, &priv_head); in entry_generate_key_pair() 481 rc = check_created_attrs(pub_head, priv_head); in entry_generate_key_pair() 490 priv_head); in entry_generate_key_pair() 502 rc = check_created_attrs_against_token(session, priv_head); in entry_generate_key_pair() 506 rc = check_access_attrs_against_token(session, priv_head); in entry_generate_key_pair() 516 rc = generate_ec_keys(proc_params, &pub_head, &priv_head); in entry_generate_key_pair() 519 rc = generate_rsa_keys(proc_params, &pub_head, &priv_head); in entry_generate_key_pair() 546 rc = create_object(session, priv_head, &privkey_handle); in entry_generate_key_pair() 551 priv_head = NULL; in entry_generate_key_pair() [all …]
|
A D | processing.h | 209 struct obj_attrs **priv_head); 213 struct obj_attrs **priv_head); 255 struct obj_attrs **priv_head);
|
A D | pkcs11_attributes.h | 209 struct obj_attrs **priv_head);
|
A D | pkcs11_attributes.c | 2534 struct obj_attrs **priv_head) in add_missing_attribute_id() argument 2543 assert(priv_head); in add_missing_attribute_id() 2554 rc = get_attribute_ptr(*priv_head, PKCS11_CKA_ID, &id2, &id2_size); in add_missing_attribute_id() 2573 return set_attribute(priv_head, PKCS11_CKA_ID, id1, id1_size); in add_missing_attribute_id()
|
Completed in 27 milliseconds