Lines Matching refs:pPrivateKeyTemplate
512 CK_ATTRIBUTE_PTR pPrivateKeyTemplate, CK_ULONG ulPrivateKeyAttributeCount, in key_gen_rsa_by_value() argument
643 pPrivateKeyTemplate, ulPrivateKeyAttributeCount) || in key_gen_rsa_by_value()
645 pPrivateKeyTemplate, ulPrivateKeyAttributeCount)) { in key_gen_rsa_by_value()
649 has_class = attribute_in_template(CKA_CLASS, pPrivateKeyTemplate, in key_gen_rsa_by_value()
651 has_key_type = attribute_in_template(CKA_KEY_TYPE, pPrivateKeyTemplate, in key_gen_rsa_by_value()
661 priTemplate = grow_template(pPrivateKeyTemplate, in key_gen_rsa_by_value()
846 CK_ATTRIBUTE_PTR pPrivateKeyTemplate, CK_ULONG ulPrivateKeyAttributeCount, in key_gen_dh_by_value() argument
946 if (attribute_in_template(CKA_BASE, pPrivateKeyTemplate, in key_gen_dh_by_value()
948 attribute_in_template(CKA_PRIME, pPrivateKeyTemplate, in key_gen_dh_by_value()
950 attribute_in_template(CKA_VALUE, pPrivateKeyTemplate, in key_gen_dh_by_value()
956 if (attribute_in_template(CKA_VALUE, pPrivateKeyTemplate, in key_gen_dh_by_value()
961 has_class = attribute_in_template(CKA_CLASS, pPrivateKeyTemplate, in key_gen_dh_by_value()
963 has_key_type = attribute_in_template(CKA_KEY_TYPE, pPrivateKeyTemplate, in key_gen_dh_by_value()
973 priTemplate = grow_template(pPrivateKeyTemplate, in key_gen_dh_by_value()
1130 CK_ATTRIBUTE_PTR pPrivateKeyTemplate, CK_ULONG ulPrivateKeyAttributeCount, in key_gen_ec_by_value() argument
1231 if (attribute_in_template(CKA_EC_PARAMS, pPrivateKeyTemplate, in key_gen_ec_by_value()
1233 attribute_in_template(CKA_VALUE, pPrivateKeyTemplate, in key_gen_ec_by_value()
1238 has_class = attribute_in_template(CKA_CLASS, pPrivateKeyTemplate, in key_gen_ec_by_value()
1240 has_key_type = attribute_in_template(CKA_KEY_TYPE, pPrivateKeyTemplate, in key_gen_ec_by_value()
1250 priTemplate = grow_template(pPrivateKeyTemplate, in key_gen_ec_by_value()
1399 CK_ATTRIBUTE_PTR pPrivateKeyTemplate, CK_ULONG ulPrivateKeyAttributeCount, in C_GenerateKeyPair() argument
1437 if ((pPrivateKeyTemplate == NULL) && in C_GenerateKeyPair()
1488 ulPublicKeyAttributeCount, pPrivateKeyTemplate, in C_GenerateKeyPair()
1513 rv = process_object_attributes(pPrivateKeyTemplate, in C_GenerateKeyPair()