/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaAttrMasters.h | 245 { { 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 D | pkcs11SUNWExtensions.c | 317 template[i].type = CKA_CLASS; in SUNW_C_KeyToObject() 453 template[i].type = CKA_CLASS; in pkcs11_PasswdToPBKD2Object()
|
H A D | metaAttrManager.c | 56 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 D | metaObjectManager.c | 290 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 D | template.c | 547 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 D | key_mgr.c | 87 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 D | verify_mgr.c | 85 CKA_CLASS, &attr); in verify_mgr_init() 116 CKA_CLASS, &attr); in verify_mgr_init()
|
H A D | data_obj.c | 341 class_attr->type = CKA_CLASS; in data_object_set_default_attributes()
|
H A D | sign_mgr.c | 83 CKA_CLASS, &attr); in sign_mgr_init() 116 CKA_CLASS, &attr); in sign_mgr_init()
|
H A D | mech_rsa.c | 64 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 D | dig_mgr.c | 459 rc = template_attribute_find(key_obj->template, CKA_CLASS, &attr); in digest_mgr_digest_key()
|
H A D | key.c | 451 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 D | utility.c | 273 case CKA_CLASS: in is_attribute_defined()
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelKeys.c | 112 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() 649 has_class = attribute_in_template(CKA_CLASS, pPrivateKeyTemplate, 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() 961 has_class = attribute_in_template(CKA_CLASS, pPrivateKeyTemplate, in key_gen_dh_by_value() 981 priTemplate[n].type = CKA_CLASS; in key_gen_dh_by_value() 1165 has_class = attribute_in_template(CKA_CLASS, pPublicKeyTemplate, in key_gen_ec_by_value() [all …]
|
H A D | kernelAttributeUtil.c | 269 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 D | pbkdf2.c | 70 tmpl[attrs].type = CKA_CLASS; in krb5int_pbkdf2_hmac_sha1()
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softSSL.c | 537 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 D | pkcs11_spi.c | 231 SETATTR(templ, 0, CKA_CLASS, &class, sizeof (class)); in PK11Cert2KMFCert() 498 SETATTR(templ, i, CKA_CLASS, &oclass, sizeof (oclass)); i++; in search_certs() 808 SETATTR(rsaTemplate, 0, CKA_CLASS, &ckObjClass, in KMFPK11_EncodePubKeyData() 885 SETATTR(dsaTemplate, 0, CKA_CLASS, &ckObjClass, in KMFPK11_EncodePubKeyData() 1178 SETATTR(x509templ, i, CKA_CLASS, &certClass, sizeof (certClass)); i++; in CreateCertObject() 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() [all …]
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/ |
H A D | encrypt.c | 138 template[0].type = CKA_CLASS; in init_key_uef()
|
/illumos-gate/usr/src/cmd/cmd-crypto/digest/ |
H A D | digest.c | 307 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 D | pk11keys.c | 229 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 D | decrypt.c | 365 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 D | common.h | 320 #define CKA_CLASS 0x00000000UL macro
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/ |
H A D | arcfour_provider.c | 39 template[0].type = CKA_CLASS; in setup_arcfour_crypto()
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | ecc.c | 1068 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()
|