Home
last modified time | relevance | path

Searched refs:CKA_VALUE (Results 1 – 25 of 34) sorted by relevance

12

/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dhwf_obj.c318 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 Ddata_obj.c337 value_attr->type = CKA_VALUE; in data_object_set_default_attributes()
362 case CKA_VALUE: in data_object_validate_attribute()
H A Dcert.c358 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 Dkey.c1093 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 Ddig_mgr.c468 rc = template_attribute_find(key_obj->template, CKA_VALUE, &attr); in digest_mgr_digest_key()
H A Dmech_md5.c366 rc = template_attribute_find(key_obj->template, CKA_VALUE, &attr); in md5_hmac_sign()
H A Dmech_sha.c100 rc = template_attribute_find(key_obj->template, CKA_VALUE, &attr); in sha1_hmac_sign()
H A Dutility.c278 case CKA_VALUE: in is_attribute_defined()
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaAttrMasters.h251 { { 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 Dpkcs11SUNWExtensions.c359 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 DsoftDH.c56 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 DsoftDSA.c146 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 DsoftEC.c135 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 DsoftAttributeUtil.c283 case CKA_VALUE: in soft_validate_attr()
1467 case CKA_VALUE:
2115 case CKA_VALUE:
3980 case CKA_VALUE:
4246 case CKA_VALUE:
4347 case CKA_VALUE:
4853 case CKA_VALUE:
4957 case CKA_VALUE:
5048 case CKA_VALUE:
5304 case CKA_VALUE:
[all …]
H A DsoftSSL.c546 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 DkernelKeys.c282 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()
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()
2133 tmp.type = CKA_VALUE; in get_base_key_attributes()
[all …]
H A DkernelAttributeUtil.c276 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 DkernelUtil.c433 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 Dpbkdf2.c121 tmpl[0].type = CKA_VALUE; in krb5int_pbkdf2_hmac_sha1()
/illumos-gate/usr/src/uts/common/crypto/io/
H A Decc.c371 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 Dencrypt.c153 template[5].type = CKA_VALUE; in init_key_uef()
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c259 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()
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()
3419 SETATTR(templ, i, CKA_VALUE, in store_raw_key()
[all …]
/illumos-gate/usr/src/uts/common/sys/crypto/
H A Dcommon.h321 #define CKA_VALUE 0x00000011UL macro
H A Ddca.h803 #define CKA_VALUE 0x00000011UL macro
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/
H A Darcfour_provider.c51 template[4].type = CKA_VALUE; in setup_arcfour_crypto()

12