/titanic_44/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | key_mgr.c | 102 if (keyclass != CKO_PRIVATE_KEY) { in key_mgr_generate_key_pair() 139 CKO_PRIVATE_KEY, subclass, &priv_key_obj); in key_mgr_generate_key_pair() 403 CKO_PRIVATE_KEY)) { in key_mgr_unwrap_key() 462 if (keyclass == CKO_PRIVATE_KEY) { in key_mgr_unwrap_key() 482 case CKO_PRIVATE_KEY: in key_mgr_unwrap_key()
|
H A D | template.c | 375 case CKO_PRIVATE_KEY: in template_add_default_attributes() 493 } else if (class == CKO_PRIVATE_KEY) { in template_check_required_attributes() 960 if (class != CKO_PRIVATE_KEY && class != CKO_SECRET_KEY) in template_check_exportability() 971 if (class == CKO_PRIVATE_KEY) { in template_check_exportability() 1128 } else if (class == CKO_PRIVATE_KEY) { in template_validate_attribute()
|
H A D | sign_mgr.c | 90 if (class != CKO_PRIVATE_KEY) { in sign_mgr_init() 123 if (class != CKO_PRIVATE_KEY) { in sign_mgr_init()
|
H A D | mech_rsa.c | 103 if (keyclass != CKO_PRIVATE_KEY) { in ckm_rsa_decrypt() 133 if (keyclass != CKO_PRIVATE_KEY) { in ckm_rsa_sign()
|
H A D | object.c | 368 if (class == CKO_PRIVATE_KEY || class == CKO_SECRET_KEY) { in object_create()
|
/titanic_44/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelAttributeUtil.c | 870 case CKO_PRIVATE_KEY: in kernel_cleanup_object_bigint_attrs() 1666 new_object->class = CKO_PRIVATE_KEY; in kernel_build_private_key_object() 2166 case CKO_PRIVATE_KEY: in kernel_build_object() 2858 case CKO_PRIVATE_KEY: in kernel_get_attribute() 3244 case CKO_PRIVATE_KEY: in kernel_set_attribute() 3645 CKO_PRIVATE_KEY; in kernel_process_find_attr() 3866 case CKO_PRIVATE_KEY: in kernel_find_match_attrs() 3890 } else if (obj->class == CKO_PRIVATE_KEY) { in kernel_find_match_attrs() 3918 } else if (obj->class == CKO_PRIVATE_KEY) { in kernel_find_match_attrs() 3931 (obj->class == CKO_PRIVATE_KEY)) { in kernel_find_match_attrs() [all …]
|
H A D | kernelUtil.c | 298 object_p->class != CKO_PRIVATE_KEY) { in get_rsa_private_key() 509 object_p->class != CKO_PRIVATE_KEY) { in get_dsa_private_key() 635 object_p->class != CKO_PRIVATE_KEY) { in get_ec_private_key()
|
H A D | kernelKeys.c | 539 CK_ULONG pri_class = CKO_PRIVATE_KEY; in key_gen_rsa_by_value() 866 CK_ULONG pri_class = CKO_PRIVATE_KEY; in key_gen_dh_by_value() 1150 CK_ULONG pri_class = CKO_PRIVATE_KEY; in key_gen_ec_by_value() 2006 base_key->class != CKO_PRIVATE_KEY) { in get_base_key_attributes() 2044 case CKO_PRIVATE_KEY: in get_base_key_attributes() 2087 if (base_key->class != CKO_PRIVATE_KEY) { in get_base_key_attributes()
|
H A D | kernelObjectUtil.c | 160 case CKO_PRIVATE_KEY: in kernel_copy_object() 977 case CKO_PRIVATE_KEY: in kernel_get_object_size()
|
/titanic_44/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaAttrMasters.h | 562 unused, CKO_PRIVATE_KEY, { unused } }, 604 unused, CKO_PRIVATE_KEY, { unused } }, 634 unused, CKO_PRIVATE_KEY, { unused } }, 657 unused, CKO_PRIVATE_KEY, { unused } }, 687 unused, CKO_PRIVATE_KEY, { unused } }, 717 unused, CKO_PRIVATE_KEY, { unused } },
|
H A D | metaAttrManager.c | 74 case CKO_PRIVATE_KEY: in get_master_attributes_by_object() 130 case CKO_PRIVATE_KEY: in get_master_attributes_by_template() 247 case CKO_PRIVATE_KEY: in get_master_template_by_type()
|
H A D | metaObjectManager.c | 320 case CKO_PRIVATE_KEY: in meta_object_get_attr() 1088 if ((obj_class == CKO_PRIVATE_KEY) && (key_type == CKK_KEA)) { in get_wrap_mechanism() 1382 wrap_info.class = CKO_PRIVATE_KEY; in clone_by_wrap() 1419 wrap_info.class = CKO_PRIVATE_KEY; in clone_by_wrap()
|
/titanic_44/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softAttributeUtil.c | 1084 case CKO_PRIVATE_KEY: in soft_cleanup_object_bigint_attrs() 2184 new_object->class = CKO_PRIVATE_KEY; 3625 case CKO_PRIVATE_KEY: 3713 case CKO_PRIVATE_KEY: 4664 case CKO_PRIVATE_KEY: 5111 case CKO_PRIVATE_KEY: 6430 CKO_PRIVATE_KEY; 6692 case CKO_PRIVATE_KEY: 6734 } else if (obj->class == CKO_PRIVATE_KEY) { 6762 } else if (obj->class == CKO_PRIVATE_KEY) { [all …]
|
H A D | softEC.c | 94 if ((key_p->class != CKO_PRIVATE_KEY) || in check_key() 162 if ((prikey->class != CKO_PRIVATE_KEY) || in soft_ec_genkey_pair() 477 if ((key->class != CKO_PRIVATE_KEY) || (key->key_type != CKK_EC)) { in soft_ecc_sign()
|
H A D | softDH.c | 106 if ((prikey->class != CKO_PRIVATE_KEY) || in soft_dh_genkey_pair()
|
H A D | softDSA.c | 57 if ((key_p->class != CKO_PRIVATE_KEY) || in soft_dsa_sign_verify_init_common() 284 if ((key->class != CKO_PRIVATE_KEY) || (key->key_type != CKK_DSA)) { in soft_dsa_sign()
|
H A D | softKeysUtil.c | 462 phPrivateKey, session_p, CKO_PRIVATE_KEY, key_type, 0, in soft_genkey_pair() 1432 CKO_PRIVATE_KEY) in soft_wrapkey() 1680 CKO_PRIVATE_KEY) in soft_unwrapkey()
|
H A D | softKeystore.c | 634 case CKO_PRIVATE_KEY: in soft_pack_object_size() 962 case CKO_PRIVATE_KEY: in soft_pack_object() 1515 case CKO_PRIVATE_KEY: in soft_unpack_object()
|
H A D | softASN1.c | 927 case CKO_PRIVATE_KEY: 1874 case CKO_PRIVATE_KEY:
|
/titanic_44/usr/src/uts/common/crypto/io/ |
H A D | ecc.c | 370 case CKO_PRIVATE_KEY: in check_mech_and_key() 555 CKO_PRIVATE_KEY)) != CRYPTO_SUCCESS) in ecc_sign_init() 794 CKO_PRIVATE_KEY)) != CRYPTO_SUCCESS) in ecc_sign_atomic() 1087 if (pri_class != ~0UL && pri_class != CKO_PRIVATE_KEY) { in ecc_nostore_key_generate_pair() 1090 pri_class = CKO_PRIVATE_KEY; in ecc_nostore_key_generate_pair()
|
/titanic_44/usr/src/lib/libcryptoutil/common/ |
H A D | pkcs11_uri.c | 233 uri->objecttype = CKO_PRIVATE_KEY; in pkcs11_parse_uri()
|
/titanic_44/usr/src/uts/common/sys/crypto/ |
H A D | common.h | 313 #define CKO_PRIVATE_KEY 0x00000003 macro
|
H A D | dca.h | 800 #define CKO_PRIVATE_KEY 0x00000003 macro
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/kssl/kssladm/ |
H A D | kssladm_create.c | 100 static CK_OBJECT_CLASS class = CKO_PRIVATE_KEY; in kmf_to_kssl() 309 static CK_OBJECT_CLASS privkey_class = CKO_PRIVATE_KEY; in get_sensitive_key_data()
|
/titanic_44/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/ |
H A D | pkcs11_spi.c | 1415 static CK_OBJECT_CLASS priClass = CKO_PRIVATE_KEY; in gendsa_keypair() 1589 const ulong_t privateKey = CKO_PRIVATE_KEY; in genecc_keypair() 2158 } else if (class == CKO_PRIVATE_KEY) { in getObjectKeyclass() 2181 CK_OBJECT_CLASS objClass = CKO_PRIVATE_KEY; in KMFPK11_FindPrikeyByCert() 2960 class = CKO_PRIVATE_KEY; in KMFPK11_FindKey() 3198 CK_OBJECT_CLASS oClass = CKO_PRIVATE_KEY; in store_raw_key()
|