Home
last modified time | relevance | path

Searched refs:template_attribute_find (Results 1 – 17 of 17) sorted by relevance

/titanic_41/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dhwf_obj.c301 found = template_attribute_find(tmpl, CKA_HW_FEATURE_TYPE, &attr); in hwf_object_check_required_attributes()
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()
339 found = template_attribute_find(tmpl, CKA_HAS_RESET, &attr); in counter_check_required_attributes()
344 found = template_attribute_find(tmpl, CKA_RESET_ON_INIT, &attr); in counter_check_required_attributes()
H A Dverify_mgr.c60 rc = template_attribute_find(key_obj->template, CKA_VERIFY, &attr); in verify_mgr_init()
73 rc = template_attribute_find(key_obj->template, in verify_mgr_init()
84 flag = template_attribute_find(key_obj->template, in verify_mgr_init()
104 rc = template_attribute_find(key_obj->template, in verify_mgr_init()
115 flag = template_attribute_find(key_obj->template, in verify_mgr_init()
140 rc = template_attribute_find(key_obj->template, in verify_mgr_init()
175 rc = template_attribute_find(key_obj->template, in verify_mgr_init()
H A Dsign_mgr.c56 rc = template_attribute_find(key_obj->template, CKA_SIGN, &attr); in sign_mgr_init()
69 rc = template_attribute_find(key_obj->template, in sign_mgr_init()
82 flag = template_attribute_find(key_obj->template, in sign_mgr_init()
102 rc = template_attribute_find(key_obj->template, in sign_mgr_init()
115 flag = template_attribute_find(key_obj->template, in sign_mgr_init()
142 rc = template_attribute_find(key_obj->template, in sign_mgr_init()
179 rc = template_attribute_find(key_obj->template, in sign_mgr_init()
H A Dkey.c301 found = template_attribute_find(tmpl, CKA_KEY_TYPE, &attr); in key_object_check_required_attributes()
1106 found = template_attribute_find(tmpl, CKA_MODULUS, &attr); in rsa_publ_check_required_attributes()
1113 found = template_attribute_find(tmpl, CKA_MODULUS_BITS, &attr); in rsa_publ_check_required_attributes()
1120 found = template_attribute_find(tmpl, CKA_PUBLIC_EXPONENT, &attr); in rsa_publ_check_required_attributes()
1230 found = template_attribute_find(tmpl, CKA_MODULUS, &attr); in rsa_priv_check_required_attributes()
1256 found = template_attribute_find(tmpl, CKA_PUBLIC_EXPONENT, &attr); in rsa_priv_check_required_attributes()
1263 found = template_attribute_find(tmpl, CKA_PRIVATE_EXPONENT, &attr); in rsa_priv_check_required_attributes()
1270 found = template_attribute_find(tmpl, CKA_PRIME_1, &attr); in rsa_priv_check_required_attributes()
1277 found = template_attribute_find(tmpl, CKA_PRIME_2, &attr); in rsa_priv_check_required_attributes()
1284 found = template_attribute_find(tmpl, CKA_EXPONENT_1, &attr); in rsa_priv_check_required_attributes()
[all …]
H A Dcert.c314 found = template_attribute_find(tmpl, in cert_check_required_attributes()
354 found = template_attribute_find(tmpl, CKA_SUBJECT, &attr); in cert_x509_check_required_attributes()
358 found = template_attribute_find(tmpl, CKA_VALUE, &attr); in cert_x509_check_required_attributes()
H A Ddecr_mgr.c59 rc = template_attribute_find(key_obj->template, in decr_mgr_init()
75 rc = template_attribute_find(key_obj->template, in decr_mgr_init()
94 rc = template_attribute_find(key_obj->template, in decr_mgr_init()
H A Dencr_mgr.c58 rc = template_attribute_find(key_obj->template, in encr_mgr_init()
74 rc = template_attribute_find(key_obj->template, in encr_mgr_init()
94 rc = template_attribute_find(key_obj->template, in encr_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()
194 flag = template_attribute_find(key_obj->template, CKA_MODULUS, &attr); in rsa_pkcs_encrypt()
237 flag = template_attribute_find(key_obj->template, CKA_MODULUS, &attr); in rsa_pkcs_decrypt()
284 flag = template_attribute_find(key_obj->template, CKA_MODULUS, &attr); in rsa_pkcs_sign()
324 flag = template_attribute_find(key_obj->template, CKA_MODULUS, &attr); in rsa_pkcs_verify()
366 flag = template_attribute_find(key_obj->template, CKA_MODULUS, &attr); in rsa_pkcs_verify_recover()
H A Dkey_mgr.c167 flag = template_attribute_find(priv_key_obj->template, in key_mgr_generate_key_pair()
186 flag = template_attribute_find(priv_key_obj->template, in key_mgr_generate_key_pair()
263 rc = template_attribute_find(key2_obj->template, in key_mgr_wrap_key()
274 rc = template_attribute_find(key2_obj->template, CKA_CLASS, &attr); in key_mgr_wrap_key()
291 rc = template_attribute_find(key2_obj->template, in key_mgr_wrap_key()
H A Dobject.c369 rc = template_attribute_find(o->template, CKA_SENSITIVE, &attr); in object_create()
383 rc = template_attribute_find(o->template, CKA_EXTRACTABLE, in object_create()
582 found = template_attribute_find(obj->template, CKA_MODIFIABLE, &attr); in object_is_modifiable()
602 found = template_attribute_find(obj->template, CKA_PRIVATE, &attr); in object_is_private()
631 found = template_attribute_find(obj->template, in object_is_token_object()
684 flag = template_attribute_find(obj_tmpl, in object_get_attribute_values()
H A Ddig_mgr.c459 rc = template_attribute_find(key_obj->template, CKA_CLASS, &attr); in digest_mgr_digest_key()
468 rc = template_attribute_find(key_obj->template, CKA_VALUE, &attr); in digest_mgr_digest_key()
H A Dtemplate.c421 template_attribute_find(TEMPLATE * tmpl, in template_attribute_find() function
460 parselist[i].found = template_attribute_find( in template_attribute_find_multiple()
547 found = template_attribute_find(tmpl, CKA_CLASS, &attr); in template_check_required_base_attributes()
570 rc = template_attribute_find(t2, attr1->type, &attr2); in template_compare()
962 val = template_attribute_find(tmpl, CKA_SENSITIVE, &attr); in template_check_exportability()
H A Dtpm_specific.c464 flag = template_attribute_find(tmpl, CKA_PUBLIC_EXPONENT, in util_check_public_exponent()
782 if (template_attribute_find(obj->template, CKA_KEY_TYPE, in token_wrap_key_object()
793 if (template_attribute_find(obj->template, CKA_CLASS, in token_wrap_key_object()
812 if (template_attribute_find(obj->template, CKA_PRIME_1, in token_wrap_key_object()
814 if (template_attribute_find(obj->template, in token_wrap_key_object()
826 if (template_attribute_find(obj->template, CKA_MODULUS, in token_wrap_key_object()
852 if (template_attribute_find(obj->template, in token_wrap_key_object()
2140 flag = template_attribute_find(publ_tmpl, CKA_MODULUS_BITS, &attr); in token_specific_rsa_generate_keypair()
2275 if (template_attribute_find(key_obj->template, CKA_CLASS, in token_rsa_load_key()
2281 rc = template_attribute_find(key_obj->template, in token_rsa_load_key()
[all …]
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 Dobj_mgr.c1287 (template_attribute_find(obj->template, in object_mgr_find_build_list()
1295 (template_attribute_find(obj->template, in object_mgr_find_build_list()
H A Dtpmtok_int.h1042 CK_BBOOL template_attribute_find(TEMPLATE *,