Home
last modified time | relevance | path

Searched refs:CKA_CLASS (Results 1 – 25 of 38) sorted by relevance

12

/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaAttrMasters.h245 { { CKA_CLASS, NULL, sizeof (CK_OBJECT_CLASS) },
264 { { CKA_CLASS, NULL, sizeof (CK_OBJECT_CLASS) },
294 { { CKA_CLASS, NULL, sizeof (CK_OBJECT_CLASS) },
320 { { CKA_CLASS, NULL, sizeof (CK_OBJECT_CLASS) },
353 { { CKA_CLASS, NULL, sizeof (CK_OBJECT_CLASS) },
387 { { CKA_CLASS, NULL, sizeof (CK_OBJECT_CLASS) },
414 { { CKA_CLASS, NULL, sizeof (CK_OBJECT_CLASS) },
444 { { CKA_CLASS, NULL, sizeof (CK_OBJECT_CLASS) },
468 { { CKA_CLASS, NULL, sizeof (CK_OBJECT_CLASS) },
495 { { CKA_CLASS, NULL, sizeof (CK_OBJECT_CLASS) },
[all …]
H A Dpkcs11SUNWExtensions.c317 template[i].type = CKA_CLASS; in SUNW_C_KeyToObject()
453 template[i].type = CKA_CLASS; in pkcs11_PasswdToPBKD2Object()
H A DmetaAttrManager.c56 attr.type = CKA_CLASS; in get_master_attributes_by_object()
116 found = get_template_ulong(CKA_CLASS, template, template_size, &class); in get_master_attributes_by_template()
H A DmetaObjectManager.c290 attrs[0].type = CKA_CLASS; in meta_object_get_attr()
893 template[i].type = CKA_CLASS; in create_wrap_unwrap_key()
1278 unwrap_template[0].type = CKA_CLASS; in clone_by_wrap()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dtemplate.c547 found = template_attribute_find(tmpl, CKA_CLASS, &attr); in template_check_required_base_attributes()
661 if ((attr->type == CKA_CLASS || in template_flatten()
743 if ((a1->type == CKA_CLASS || in template_unflatten()
761 if ((a1->type == CKA_CLASS || in template_unflatten()
861 if (attr->type == CKA_CLASS) { in template_get_class()
919 if ((attr->type == CKA_CLASS || in template_get_compressed_size()
1200 case CKA_CLASS: in template_validate_base_attribute()
H A Dkey_mgr.c87 if (publ_tmpl[i].type == CKA_CLASS) { in key_mgr_generate_key_pair()
100 if (priv_tmpl[i].type == CKA_CLASS) { in key_mgr_generate_key_pair()
274 rc = template_attribute_find(key2_obj->template, CKA_CLASS, &attr); in key_mgr_wrap_key()
390 case CKA_CLASS: in key_mgr_unwrap_key()
H A Dverify_mgr.c85 CKA_CLASS, &attr); in verify_mgr_init()
116 CKA_CLASS, &attr); in verify_mgr_init()
H A Ddata_obj.c341 class_attr->type = CKA_CLASS; in data_object_set_default_attributes()
H A Dsign_mgr.c83 CKA_CLASS, &attr); in sign_mgr_init()
116 CKA_CLASS, &attr); in sign_mgr_init()
H A Dmech_rsa.c64 rc = template_attribute_find(key_obj->template, CKA_CLASS, &attr); in ckm_rsa_encrypt()
94 rc = template_attribute_find(key_obj->template, CKA_CLASS, &attr); in ckm_rsa_decrypt()
126 rc = template_attribute_find(key_obj->template, CKA_CLASS, &attr); in ckm_rsa_sign()
156 rc = template_attribute_find(key_obj->template, CKA_CLASS, &attr); in ckm_rsa_verify()
H A Ddig_mgr.c459 rc = template_attribute_find(key_obj->template, CKA_CLASS, &attr); in digest_mgr_digest_key()
H A Dkey.c451 class_attr->type = CKA_CLASS; in publ_key_set_default_attributes()
581 class_attr->type = CKA_CLASS; in priv_key_set_default_attributes()
866 class_attr->type = CKA_CLASS; in secret_key_set_default_attributes()
H A Dutility.c273 case CKA_CLASS: in is_attribute_defined()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelKeys.c112 if (pTemplate[i].type == CKA_CLASS && in is_secret_key_template()
564 has_class = attribute_in_template(CKA_CLASS, pPublicKeyTemplate, in key_gen_rsa_by_value()
587 pubTemplate[n].type = CKA_CLASS; in key_gen_rsa_by_value()
669 priTemplate[n].type = CKA_CLASS; in key_gen_rsa_by_value()
880 has_class = attribute_in_template(CKA_CLASS, pPublicKeyTemplate, in key_gen_dh_by_value()
899 pubTemplate[n].type = CKA_CLASS; in key_gen_dh_by_value()
981 priTemplate[n].type = CKA_CLASS; in key_gen_dh_by_value()
1184 pubTemplate[n].type = CKA_CLASS; in key_gen_ec_by_value()
1258 priTemplate[n].type = CKA_CLASS; in key_gen_ec_by_value()
2205 has_class = attribute_in_template(CKA_CLASS, pTemplate, in derive_key_by_value()
[all …]
H A DkernelAttributeUtil.c269 case CKA_CLASS: in kernel_validate_attr()
937 case CKA_CLASS: in kernel_parse_common_attrs()
2201 case CKA_CLASS: in kernel_get_common_attrs()
2918 case CKA_CLASS: in kernel_set_common_key_attribute()
3595 if (pTemplate[i].type == CKA_CLASS) { in kernel_process_find_attr()
3737 case CKA_CLASS: in kernel_find_match_attrs()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dpbkdf2.c70 tmpl[attrs].type = CKA_CLASS; in krb5int_pbkdf2_hmac_sha1()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftSSL.c537 new_tmpl[0].type = CKA_CLASS; in soft_ssl_master_key_derive()
556 if ((pTemplate[i].type == CKA_CLASS) && in soft_ssl_master_key_derive()
775 obj_tmpl[0].type = CKA_CLASS; in soft_ssl_key_and_mac_derive()
826 new_tmpl[n].type = CKA_CLASS; in soft_ssl_key_and_mac_derive()
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c231 SETATTR(templ, 0, CKA_CLASS, &class, sizeof (class)); in PK11Cert2KMFCert()
808 SETATTR(rsaTemplate, 0, CKA_CLASS, &ckObjClass, in KMFPK11_EncodePubKeyData()
885 SETATTR(dsaTemplate, 0, CKA_CLASS, &ckObjClass, in KMFPK11_EncodePubKeyData()
1460 { CKA_CLASS, &pubClass, sizeof (pubClass) }, in gendsa_keypair()
1476 {CKA_CLASS, &priClass, sizeof (priClass)}, in gendsa_keypair()
1598 SETATTR(public_template, numpubattr, CKA_CLASS, in genecc_keypair()
1618 SETATTR(private_template, numpriattr, CKA_CLASS, in genecc_keypair()
2150 templ.type = CKA_CLASS; in getObjectKeyclass()
2977 SETATTR(pTmpl, i, CKA_CLASS, &class, sizeof (class)); in KMFPK11_FindKey()
3612 SETATTR(templ, i, CKA_CLASS, &class, sizeof (class)); in KMFPK11_CreateSymKey()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dencrypt.c138 template[0].type = CKA_CLASS; in init_key_uef()
/illumos-gate/usr/src/cmd/cmd-crypto/digest/
H A Ddigest.c307 pTmpl[i].type = CKA_CLASS; in get_token_key()
622 template[nattr].type = CKA_CLASS; in execute_cmd()
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dpk11keys.c229 MAX_PUBLIC_KEY_TEMPLATES, CKA_CLASS, (CK_BYTE *)&ckObjClass, in PKCS_CreatePublicKey()
384 ckMaxTemplates, CKA_CLASS, (CK_BYTE *)&ckObjClass, in PKCS_AcquirePublicKeyHandle()
/illumos-gate/usr/src/cmd/cmd-crypto/decrypt/
H A Ddecrypt.c365 pTmpl[i].type = CKA_CLASS; in get_token_key()
840 template[nattr].type = CKA_CLASS; in execute_cmd()
/illumos-gate/usr/src/uts/common/sys/crypto/
H A Dcommon.h320 #define CKA_CLASS 0x00000000UL macro
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/
H A Darcfour_provider.c39 template[0].type = CKA_CLASS; in setup_arcfour_crypto()
/illumos-gate/usr/src/uts/common/crypto/io/
H A Decc.c1068 pub_attribute_count, CKA_CLASS, &pub_class); in ecc_nostore_key_generate_pair()
1072 pri_attribute_count, CKA_CLASS, &pri_class); in ecc_nostore_key_generate_pair()

12