/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | hwf_obj.c | 318 found = template_attribute_find(tmpl, CKA_VALUE, &attr); in clock_check_required_attributes() 334 found = template_attribute_find(tmpl, CKA_VALUE, &attr); in counter_check_required_attributes() 375 case CKA_VALUE: in clock_validate_attribute() 387 case CKA_VALUE: in counter_validate_attribute() 411 value_attr->type = CKA_VALUE; in clock_set_default_attributes() 440 value_attr->type = CKA_VALUE; in counter_set_default_attributes()
|
H A D | data_obj.c | 337 value_attr->type = CKA_VALUE; in data_object_set_default_attributes() 362 case CKA_VALUE: in data_object_validate_attribute()
|
H A D | cert.c | 358 found = template_attribute_find(tmpl, CKA_VALUE, &attr); in cert_x509_check_required_attributes() 431 case CKA_VALUE: in cert_x509_validate_attribute()
|
H A D | key.c | 1093 case CKA_VALUE: in secret_key_check_exportability() 1529 found = template_attribute_find(tmpl, CKA_VALUE, &attr); in generic_secret_check_required_attributes() 1576 value_attr->type = CKA_VALUE; in generic_secret_set_default_attributes() 1604 case CKA_VALUE: in generic_secret_validate_attribute() 1628 case CKA_VALUE: in generic_secret_check_exportability() 1649 rc = template_attribute_find(tmpl, CKA_VALUE, &attr); in generic_secret_wrap_get_data() 1701 rc = build_attribute(CKA_VALUE, ptr, data_len, &value_attr); in generic_secret_unwrap()
|
H A D | dig_mgr.c | 468 rc = template_attribute_find(key_obj->template, CKA_VALUE, &attr); in digest_mgr_digest_key()
|
H A D | mech_md5.c | 366 rc = template_attribute_find(key_obj->template, CKA_VALUE, &attr); in md5_hmac_sign()
|
H A D | mech_sha.c | 100 rc = template_attribute_find(key_obj->template, CKA_VALUE, &attr); in sha1_hmac_sign()
|
H A D | utility.c | 278 case CKA_VALUE: in is_attribute_defined()
|
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaAttrMasters.h | 251 { { CKA_VALUE, NULL, 16 }, 270 { { CKA_VALUE, NULL, 0 }, 304 { { CKA_VALUE, NULL, 0 }, 340 { { CKA_VALUE, NULL, 0 }, 373 { { CKA_VALUE, NULL, 0 }, 432 { { CKA_VALUE, NULL, 0 }, 483 { { CKA_VALUE, NULL, 0 }, 513 { { CKA_VALUE, NULL, 0 }, 543 { { CKA_VALUE, NULL, 0 }, 618 { { CKA_VALUE, NULL, 0 }, [all …]
|
H A D | pkcs11SUNWExtensions.c | 359 template[i].type = CKA_VALUE; in SUNW_C_KeyToObject() 520 template.type = CKA_VALUE; in pkcs11_ObjectToKey()
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softDH.c | 56 case CKA_VALUE: in soft_genDHkey_set_attribute() 169 if ((rv = soft_genDHkey_set_attribute(pubkey, CKA_VALUE, public_y, in soft_dh_genkey_pair() 175 if ((rv = soft_genDHkey_set_attribute(prikey, CKA_VALUE, private_x, in soft_dh_genkey_pair() 213 rv = soft_get_private_value(basekey, CKA_VALUE, privatevalue, in soft_dh_key_derive()
|
H A D | softDSA.c | 146 rv = soft_get_private_value(key, CKA_VALUE, x, &xlen); in local_dsa_sign() 196 rv = soft_get_public_value(key, CKA_VALUE, y, &ylen); in local_dsa_verify() 415 case CKA_VALUE: in soft_genDSAkey_set_attribute() 526 if ((rv = soft_genDSAkey_set_attribute(pubkey, CKA_VALUE, in soft_dsa_genkey_pair() 546 if ((rv = soft_genDSAkey_set_attribute(prikey, CKA_VALUE, privalue, in soft_dsa_genkey_pair()
|
H A D | softEC.c | 135 case CKA_VALUE: in soft_genECkey_set_attribute() 200 soft_genECkey_set_attribute(prikey, &bi, CKA_VALUE); in soft_ec_genkey_pair() 234 template.type = CKA_VALUE; in soft_ec_key_derive() 491 rv = soft_get_private_value(key, CKA_VALUE, value, &value_len); in soft_ecc_sign()
|
H A D | softAttributeUtil.c | 283 case CKA_VALUE: in soft_validate_attr() 1467 case CKA_VALUE: 2115 case CKA_VALUE: 2640 case CKA_VALUE: 3422 case CKA_VALUE: 3465 case CKA_VALUE: 3506 case CKA_VALUE: 3980 case CKA_VALUE: 4050 case CKA_VALUE: 4246 case CKA_VALUE: [all …]
|
H A D | softSSL.c | 546 new_tmpl[3].type = CKA_VALUE; in soft_ssl_master_key_derive() 790 obj_tmpl[5].type = CKA_VALUE; in soft_ssl_key_and_mac_derive() 853 new_tmpl[n].type = CKA_VALUE; in soft_ssl_key_and_mac_derive()
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelKeys.c | 282 newTemplate[ulCount].type = CKA_VALUE; in key_gen_by_value() 875 if (attribute_in_template(CKA_VALUE, pPublicKeyTemplate, in key_gen_dh_by_value() 911 pubTemplate[n].type = CKA_VALUE; 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() 993 priTemplate[n].type = CKA_VALUE; in key_gen_dh_by_value() 1233 attribute_in_template(CKA_VALUE, pPrivateKeyTemplate, in key_gen_ec_by_value() 1270 priTemplate[n].type = CKA_VALUE; in key_gen_ec_by_value() 1833 newTemplate[ulAttributeCount].type = CKA_VALUE; in C_UnwrapKey() 2041 tmp.type = CKA_VALUE; in get_base_key_attributes() [all …]
|
H A D | kernelAttributeUtil.c | 276 case CKA_VALUE: in kernel_validate_attr() 1168 case CKA_VALUE: in kernel_build_public_key_object() 1618 case CKA_VALUE: in kernel_build_private_key_object() 1963 case CKA_VALUE: in kernel_build_secret_key_object() 2414 case CKA_VALUE: in kernel_get_public_key_attribute() 2486 case CKA_VALUE: in kernel_get_private_key_attribute() 2665 case CKA_VALUE: in kernel_get_private_key_attribute() 2758 case CKA_VALUE: in kernel_get_secret_key_attribute() 3009 case CKA_VALUE: in kernel_set_public_key_attribute() 3107 case CKA_VALUE: in kernel_set_private_key_attribute() [all …]
|
H A D | kernelUtil.c | 433 ENCODE_ATTR(CKA_VALUE, big->big_value, big->big_value_len); in get_dsa_private_key() 495 ENCODE_ATTR(CKA_VALUE, big->big_value, big->big_value_len); in get_dsa_public_key() 545 ENCODE_ATTR(CKA_VALUE, big->big_value, big->big_value_len); in get_ec_private_key()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/ |
H A D | pbkdf2.c | 121 tmpl[0].type = CKA_VALUE; in krb5int_pbkdf2_hmac_sha1()
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | ecc.c | 371 if ((rv = crypto_get_key_attr(key, CKA_VALUE, &foo, in check_mech_and_key() 672 if ((rv = crypto_get_key_attr(key, CKA_VALUE, &private, in ecc_sign_common() 1110 CKA_VALUE)) == -1) { in ecc_nostore_key_generate_pair() 1232 CKA_VALUE)) == -1) { in ecc_nostore_key_derive() 1262 CKA_VALUE)) == -1) { in ecc_nostore_key_derive()
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/ |
H A D | encrypt.c | 153 template[5].type = CKA_VALUE; in init_key_uef()
|
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/ |
H A D | pkcs11_spi.c | 259 SETATTR(templ, i, CKA_VALUE, NULL, value_len); in PK11Cert2KMFCert() 298 SETATTR(templ, i, CKA_VALUE, value, value_len); in PK11Cert2KMFCert() 895 SETATTR(dsaTemplate, 5, CKA_VALUE, Value.Data, in KMFPK11_EncodePubKeyData() 940 SETATTR(dsaTemplate, 5, CKA_VALUE, Value.Data, in KMFPK11_EncodePubKeyData() 1186 SETATTR(x509templ, i, CKA_VALUE, pcert->Data, pcert->Length); i++; in CreateCertObject() 1786 SETATTR(valattr, 0, CKA_VALUE, NULL, &valueLen); in KMFPK11_CreateKeypair() 2618 { CKA_VALUE, NULL, 0} in get_raw_ec() 2679 { CKA_VALUE, NULL, 0 } in get_raw_dsa() 2747 sym_attr[0].type = CKA_VALUE; in get_raw_sym() 3410 SETATTR(templ, i, CKA_VALUE, in store_raw_key() [all …]
|
/illumos-gate/usr/src/uts/common/sys/crypto/ |
H A D | common.h | 321 #define CKA_VALUE 0x00000011UL macro
|
H A D | dca.h | 803 #define CKA_VALUE 0x00000011UL macro
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/ |
H A D | arcfour_provider.c | 51 template[4].type = CKA_VALUE; in setup_arcfour_crypto()
|