Home
last modified time | relevance | path

Searched refs:CK_OBJECT_CLASS (Results 1 – 25 of 40) sorted by relevance

12

/titanic_44/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaAttrMasters.h247 { { CKA_CLASS, NULL, sizeof (CK_OBJECT_CLASS) },
266 { { CKA_CLASS, NULL, sizeof (CK_OBJECT_CLASS) },
296 { { CKA_CLASS, NULL, sizeof (CK_OBJECT_CLASS) },
322 { { CKA_CLASS, NULL, sizeof (CK_OBJECT_CLASS) },
355 { { CKA_CLASS, NULL, sizeof (CK_OBJECT_CLASS) },
389 { { CKA_CLASS, NULL, sizeof (CK_OBJECT_CLASS) },
416 { { CKA_CLASS, NULL, sizeof (CK_OBJECT_CLASS) },
446 { { CKA_CLASS, NULL, sizeof (CK_OBJECT_CLASS) },
470 { { CKA_CLASS, NULL, sizeof (CK_OBJECT_CLASS) },
497 { { CKA_CLASS, NULL, sizeof (CK_OBJECT_CLASS) },
[all …]
H A DmetaAttrManager.c51 CK_OBJECT_CLASS class; in get_master_attributes_by_object()
111 CK_OBJECT_CLASS class; in get_master_attributes_by_template()
160 get_master_template_by_type(CK_OBJECT_CLASS class, CK_ULONG subtype, in get_master_template_by_type()
381 get_master_attributes_by_type(CK_OBJECT_CLASS class, CK_ULONG subtype, in get_master_attributes_by_type()
H A DmetaObjectManager.c42 CK_OBJECT_CLASS class; /* class of the key for wrap/unwrap */
282 CK_OBJECT_CLASS class; in meta_object_get_attr()
881 CK_OBJECT_CLASS objclass; in create_wrap_unwrap_key()
1075 get_wrap_mechanism(CK_OBJECT_CLASS obj_class, CK_KEY_TYPE key_type, in get_wrap_mechanism()
1251 CK_OBJECT_CLASS obj_class; in clone_by_wrap()
/titanic_44/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Ddata_obj.c322 sizeof (CK_OBJECT_CLASS)); in data_object_set_default_attributes()
342 class_attr->ulValueLen = sizeof (CK_OBJECT_CLASS); in data_object_set_default_attributes()
344 *(CK_OBJECT_CLASS *)class_attr->pValue = CKO_DATA; in data_object_set_default_attributes()
H A Dkey_mgr.c88 keyclass = *(CK_OBJECT_CLASS *)publ_tmpl[i].pValue; in key_mgr_generate_key_pair()
101 keyclass = *(CK_OBJECT_CLASS *)priv_tmpl[i].pValue; in key_mgr_generate_key_pair()
245 CK_OBJECT_CLASS class; in key_mgr_wrap_key()
278 class = *(CK_OBJECT_CLASS *)attr->pValue; in key_mgr_wrap_key()
391 keyclass = *(CK_OBJECT_CLASS *)attributes[i].pValue; in key_mgr_unwrap_key()
H A Dmech_rsa.c61 CK_OBJECT_CLASS keyclass; in ckm_rsa_encrypt()
68 keyclass = *(CK_OBJECT_CLASS *)attr->pValue; in ckm_rsa_encrypt()
90 CK_OBJECT_CLASS keyclass; in ckm_rsa_decrypt()
99 keyclass = *(CK_OBJECT_CLASS *)attr->pValue; in ckm_rsa_decrypt()
122 CK_OBJECT_CLASS keyclass; in ckm_rsa_sign()
130 keyclass = *(CK_OBJECT_CLASS *)attr->pValue; in ckm_rsa_sign()
152 CK_OBJECT_CLASS keyclass; in ckm_rsa_verify()
161 keyclass = *(CK_OBJECT_CLASS *)attr->pValue; in ckm_rsa_verify()
H A Dverify_mgr.c40 CK_OBJECT_CLASS class; in verify_mgr_init()
90 class = *(CK_OBJECT_CLASS *)attr->pValue; in verify_mgr_init()
121 class = *(CK_OBJECT_CLASS *)attr->pValue; in verify_mgr_init()
H A Dsign_mgr.c41 CK_OBJECT_CLASS class; in sign_mgr_init()
88 class = *(CK_OBJECT_CLASS *)attr->pValue; in sign_mgr_init()
121 class = *(CK_OBJECT_CLASS *)attr->pValue; in sign_mgr_init()
H A Dkey.c416 CK_OBJECT_CLASS class = CKO_PUBLIC_KEY; in publ_key_set_default_attributes()
428 sizeof (CK_OBJECT_CLASS)); in publ_key_set_default_attributes()
452 class_attr->ulValueLen = sizeof (CK_OBJECT_CLASS); in publ_key_set_default_attributes()
455 *(CK_OBJECT_CLASS *)class_attr->pValue = CKO_PUBLIC_KEY; in publ_key_set_default_attributes()
544 sizeof (CK_OBJECT_CLASS)); in priv_key_set_default_attributes()
582 class_attr->ulValueLen = sizeof (CK_OBJECT_CLASS); in priv_key_set_default_attributes()
584 *(CK_OBJECT_CLASS *)class_attr->pValue = CKO_PRIVATE_KEY; in priv_key_set_default_attributes()
825 sizeof (CK_OBJECT_CLASS)); in secret_key_set_default_attributes()
867 class_attr->ulValueLen = sizeof (CK_OBJECT_CLASS); in secret_key_set_default_attributes()
870 *(CK_OBJECT_CLASS *)class_attr->pValue = CKO_SECRET_KEY; in secret_key_set_default_attributes()
H A Ddig_mgr.c448 CK_OBJECT_CLASS class; in digest_mgr_digest_key()
463 class = *(CK_OBJECT_CLASS *)attr->pValue; in digest_mgr_digest_key()
/titanic_44/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeys.h58 CK_ULONG *, soft_session_t *, CK_OBJECT_CLASS, CK_KEY_TYPE,
H A DsoftObject.h298 CK_OBJECT_CLASS class;
842 CK_OBJECT_CLASS, CK_KEY_TYPE, CK_ULONG, CK_ULONG);
857 CK_OBJECT_CLASS *class);
867 void soft_process_find_attr(CK_OBJECT_CLASS *pclasses,
871 boolean_t soft_find_match_attrs(soft_object_t *obj, CK_OBJECT_CLASS *pclasses,
H A DsoftAttributeUtil.c266 CK_OBJECT_CLASS *class) in soft_validate_attr()
276 *class = *((CK_OBJECT_CLASS*)template[i].pValue); in soft_validate_attr()
1027 CK_OBJECT_CLASS class = object_p->class; in soft_cleanup_object_bigint_attrs()
3598 CK_OBJECT_CLASS class = (CK_OBJECT_CLASS)~0UL;
3612 if (class == (CK_OBJECT_CLASS)~0UL)
3663 soft_object_t *new_object, CK_OBJECT_CLASS class, CK_KEY_TYPE key_type,
3668 CK_OBJECT_CLASS temp_class = (CK_OBJECT_CLASS)~0UL;
3682 if (temp_class == (CK_OBJECT_CLASS)~0UL) {
3684 } else if (class == (CK_OBJECT_CLASS)~0UL) {
3689 if (class == (CK_OBJECT_CLASS)~0UL)
[all …]
H A DsoftKeysUtil.c64 CK_OBJECT_CLASS class, CK_KEY_TYPE key_type, CK_ULONG keylen, CK_ULONG mode, in soft_gen_keyobject()
1255 CK_OBJECT_CLASS keyclass = CKO_SECRET_KEY; in soft_create_hmac_key()
1637 CK_OBJECT_CLASS new_obj_class = ~0UL; in soft_unwrapkey()
1650 *((CK_OBJECT_CLASS *)pTemplate[i].pValue); in soft_unwrapkey()
1689 (CK_ULONG *)&new_objp, session_p, (CK_OBJECT_CLASS)~0UL, in soft_unwrapkey()
H A DsoftSSL.c436 CK_OBJECT_CLASS class = CKO_SECRET_KEY; in soft_ssl_master_key_derive()
555 (*((CK_OBJECT_CLASS *)pTemplate[i].pValue) != in soft_ssl_master_key_derive()
631 CK_OBJECT_CLASS class = CKO_SECRET_KEY; in soft_ssl_key_and_mac_derive()
H A DsoftKeystore.c441 obj->class = (CK_OBJECT_CLASS)(SWAP64(hdr->class)); in soft_keystore_unpack_obj()
564 CK_OBJECT_CLASS class = objp->class; in soft_pack_object_size()
762 CK_OBJECT_CLASS class = objp->class; in soft_pack_object()
1328 CK_OBJECT_CLASS class = objp->class; in soft_unpack_object()
1990 CK_OBJECT_CLASS class = CKO_SECRET_KEY; in soft_gen_crypt_key()
2115 CK_OBJECT_CLASS class = CKO_SECRET_KEY; in soft_gen_hmac_key()
/titanic_44/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelObject.h192 CK_OBJECT_CLASS class;
571 CK_OBJECT_CLASS *class);
582 void kernel_process_find_attr(CK_OBJECT_CLASS *pclasses,
587 CK_OBJECT_CLASS *pclasses, CK_ULONG num_pclasses,
H A DkernelAttributeUtil.c260 CK_OBJECT_CLASS *class) in kernel_validate_attr()
270 *class = *((CK_OBJECT_CLASS*)template[i].pValue); in kernel_validate_attr()
827 CK_OBJECT_CLASS class = object_p->class; in kernel_cleanup_object_bigint_attrs()
2141 CK_OBJECT_CLASS class = (CK_OBJECT_CLASS)~0UL; in kernel_build_object()
2153 if (class == (CK_OBJECT_CLASS)~0UL) in kernel_build_object()
2850 CK_OBJECT_CLASS class = object_p->class; in kernel_get_attribute()
3235 CK_OBJECT_CLASS class = object_p->class; in kernel_set_attribute()
3577 kernel_process_find_attr(CK_OBJECT_CLASS *pclasses, in kernel_process_find_attr()
3601 (*((CK_OBJECT_CLASS *)pTemplate[i].pValue)); in kernel_process_find_attr()
3700 kernel_find_match_attrs(kernel_object_t *obj, CK_OBJECT_CLASS *pclasses, in kernel_find_match_attrs()
[all …]
H A DkernelObjectUtil.c603 CK_OBJECT_CLASS pclasses[6]; /* classes attrs possibly exist */ in search_for_objects()
667 CK_OBJECT_CLASS class; /* for kernel_validate_attr(). Value unused */ in kernel_find_objects_init()
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dpbkdf2.c59 CK_OBJECT_CLASS class = CKO_SECRET_KEY; in krb5int_pbkdf2_hmac_sha1()
/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dencrypt.c115 CK_OBJECT_CLASS class = CKO_SECRET_KEY; in init_key_uef()
/titanic_44/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c224 CK_OBJECT_CLASS class; in PK11Cert2KMFCert()
485 CK_OBJECT_CLASS oclass = CKO_CERTIFICATE; in search_certs()
777 CK_OBJECT_CLASS ckObjClass = CKO_PUBLIC_KEY; in KMFPK11_EncodePubKeyData()
1105 CK_OBJECT_CLASS certClass = CKO_CERTIFICATE; in CreateCertObject()
1415 static CK_OBJECT_CLASS priClass = CKO_PRIVATE_KEY; in gendsa_keypair()
1416 static CK_OBJECT_CLASS pubClass = CKO_PUBLIC_KEY; in gendsa_keypair()
2148 CK_OBJECT_CLASS class; in getObjectKeyclass()
2152 templ.ulValueLen = sizeof (CK_OBJECT_CLASS); in getObjectKeyclass()
2181 CK_OBJECT_CLASS objClass = CKO_PRIVATE_KEY; in KMFPK11_FindPrikeyByCert()
2926 CK_OBJECT_CLASS class; in KMFPK11_FindKey()
[all …]
/titanic_44/usr/src/cmd/cmd-crypto/digest/
H A Ddigest.c285 CK_OBJECT_CLASS class = CKO_SECRET_KEY; in get_token_key()
613 CK_OBJECT_CLASS class = CKO_SECRET_KEY; in execute_cmd()
/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/
H A Darcfour_provider.c29 CK_OBJECT_CLASS class = CKO_SECRET_KEY; in setup_arcfour_crypto()
/titanic_44/usr/src/cmd/cmd-crypto/decrypt/
H A Ddecrypt.c343 CK_OBJECT_CLASS class = CKO_SECRET_KEY; in get_token_key()
836 CK_OBJECT_CLASS objclass = CKO_SECRET_KEY; in execute_cmd()

12