Home
last modified time | relevance | path

Searched refs:crypto_object_attribute_t (Results 1 – 18 of 18) sorted by relevance

/titanic_50/usr/src/uts/common/sys/crypto/
H A Dspi.h401 crypto_object_attribute_t *, uint_t, crypto_object_id_t *,
404 crypto_object_id_t, crypto_object_attribute_t *, uint_t,
412 crypto_object_attribute_t *, uint_t, crypto_req_handle_t);
415 crypto_object_attribute_t *, uint_t, crypto_req_handle_t);
417 crypto_object_attribute_t *, uint_t, void **,
433 crypto_mechanism_t *, crypto_object_attribute_t *, uint_t,
436 crypto_mechanism_t *, crypto_object_attribute_t *, uint_t,
437 crypto_object_attribute_t *, uint_t, crypto_object_id_t *,
444 crypto_object_attribute_t *, uint_t,
447 crypto_mechanism_t *, crypto_key_t *, crypto_object_attribute_t *,
[all …]
H A Dapi.h286 crypto_object_id_t, crypto_object_attribute_t *, uint_t,
289 crypto_object_attribute_t *, uint_t, crypto_object_id_t *,
294 crypto_session_id_t, crypto_object_id_t, crypto_object_attribute_t *,
301 crypto_object_attribute_t *, uint_t, void **, crypto_call_req_t *);
305 crypto_session_id_t, crypto_object_id_t, crypto_object_attribute_t *,
310 crypto_mechanism_t *, crypto_key_t *, crypto_object_attribute_t *,
313 crypto_mechanism_t *, crypto_object_attribute_t *, uint_t,
316 crypto_mechanism_t *, crypto_object_attribute_t *, uint_t,
317 crypto_object_attribute_t *, uint_t, crypto_object_id_t *,
321 crypto_object_attribute_t *, uint_t, crypto_object_id_t *,
H A Ddca.h904 crypto_object_attribute_t *
906 int dca_attr_lookup_uint32(crypto_object_attribute_t *, uint_t, uint64_t,
908 int dca_attr_lookup_uint8_array(crypto_object_attribute_t *, uint_t,
910 crypto_object_attribute_t *
911 dca_find_attribute(crypto_object_attribute_t *, uint_t, uint64_t);
H A Dops_impl.h169 crypto_object_attribute_t *oo_template;
191 crypto_object_attribute_t *ko_key_template;
194 crypto_object_attribute_t *ko_private_key_template;
200 crypto_object_attribute_t *ko_out_template1;
201 crypto_object_attribute_t *ko_out_template2;
H A Dcommon.h332 } crypto_object_attribute_t; typedef
349 crypto_object_attribute_t *cku_a_oattr;
/titanic_50/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelUtil.c292 crypto_object_attribute_t *attrs, *cur_attr; in get_rsa_private_key()
304 RSA_PRI_ATTR_COUNT * sizeof (crypto_object_attribute_t)); in get_rsa_private_key()
426 crypto_object_attribute_t *attrs, *cur_attr; in get_rsa_public_key()
437 RSA_PUB_ATTR_COUNT * sizeof (crypto_object_attribute_t)); in get_rsa_public_key()
504 crypto_object_attribute_t *attrs, *cur_attr; in get_dsa_private_key()
515 DSA_ATTR_COUNT * sizeof (crypto_object_attribute_t)); in get_dsa_private_key()
566 crypto_object_attribute_t *attrs, *cur_attr; in get_dsa_public_key()
577 DSA_ATTR_COUNT * sizeof (crypto_object_attribute_t)); in get_dsa_public_key()
628 crypto_object_attribute_t *attrs, *cur_attr; in get_ec_private_key()
640 attrs = calloc(EC_ATTR_COUNT, sizeof (crypto_object_attribute_t)); in get_ec_private_key()
[all …]
H A DkernelKeys.c1984 crypto_object_attribute_t *attrs = NULL; in get_base_key_attributes()
1991 attrs = malloc(count * sizeof (crypto_object_attribute_t)); in get_base_key_attributes()
1996 bzero(attrs, count * sizeof (crypto_object_attribute_t)); in get_base_key_attributes()
2073 attrs = malloc(count * sizeof (crypto_object_attribute_t)); in get_base_key_attributes()
2078 bzero(attrs, count * sizeof (crypto_object_attribute_t)); in get_base_key_attributes()
/titanic_50/usr/src/uts/common/crypto/io/
H A Decc.c180 crypto_session_id_t, crypto_mechanism_t *, crypto_object_attribute_t *,
181 uint_t, crypto_object_attribute_t *, uint_t, crypto_object_attribute_t *,
182 uint_t, crypto_object_attribute_t *, uint_t, crypto_req_handle_t);
185 crypto_object_attribute_t *, uint_t, crypto_object_attribute_t *,
231 static int find_attr(crypto_object_attribute_t *, uint_t, uint64_t);
232 static int get_template_attr_ulong(crypto_object_attribute_t *,
288 find_attr(crypto_object_attribute_t *attr, uint_t nattr, uint64_t attr_type) in find_attr()
306 get_template_attr_scalar_common(crypto_object_attribute_t *template, in get_template_attr_scalar_common()
332 get_template_attr_ulong(crypto_object_attribute_t *template, in get_template_attr_ulong()
1040 crypto_object_attribute_t *pub_template, uint_t pub_attribute_count, in ecc_nostore_key_generate_pair()
[all …]
H A Ddprov.c929 crypto_object_attribute_t *, uint_t, crypto_object_id_t *,
932 crypto_object_id_t, crypto_object_attribute_t *, uint_t,
940 crypto_object_attribute_t *, uint_t, crypto_req_handle_t);
943 crypto_object_attribute_t *, uint_t, crypto_req_handle_t);
945 crypto_object_attribute_t *, uint_t, void **,
965 crypto_mechanism_t *, crypto_object_attribute_t *, uint_t,
968 crypto_session_id_t, crypto_mechanism_t *, crypto_object_attribute_t *,
969 uint_t, crypto_object_attribute_t *, uint_t, crypto_object_id_t *,
976 crypto_object_attribute_t *, uint_t,
979 crypto_mechanism_t *, crypto_key_t *, crypto_object_attribute_t *,
[all …]
H A Dcrypto.c2161 crypto_object_attribute_t *attrs; in crypto_free_key_attributes()
2170 len = key->ck_count * sizeof (crypto_object_attribute_t); in crypto_free_key_attributes()
2227 crypto_object_attribute_t **k_attrs_out, size_t *k_attrs_size_out, in copyin_attributes()
2232 crypto_object_attribute_t *k_attrs = NULL; in copyin_attributes()
2286 k_attrs_len = count * sizeof (crypto_object_attribute_t); in copyin_attributes()
2359 crypto_object_attribute_t *k_attrs = NULL; in copyin_key()
4477 crypto_object_attribute_t *k_attrs, caddr_t u_attrs) in copyout_attributes()
4527 crypto_object_attribute_t *k_attrs = NULL; in object_create()
4621 crypto_object_attribute_t *k_attrs = NULL; in object_copy()
4789 crypto_object_attribute_t *k_attrs = NULL; in object_get_attribute_value()
[all …]
H A Ddca.c3566 crypto_object_attribute_t *
3581 dca_attr_lookup_uint32(crypto_object_attribute_t *attrp, uint_t atnum, in dca_attr_lookup_uint32()
3584 crypto_object_attribute_t *bap; in dca_attr_lookup_uint32()
3601 dca_attr_lookup_uint8_array(crypto_object_attribute_t *attrp, uint_t atnum, in dca_attr_lookup_uint8_array()
3604 crypto_object_attribute_t *bap; in dca_attr_lookup_uint8_array()
3621 crypto_object_attribute_t *
3622 dca_find_attribute(crypto_object_attribute_t *attrp, uint_t atnum, in dca_find_attribute()
H A Ddca_dsa.c385 crypto_object_attribute_t *attr; in dca_dsainit()
H A Ddca_rsa.c394 crypto_object_attribute_t *attr; in dca_rsainit()
/titanic_50/usr/src/uts/common/crypto/api/
H A Dkcf_keys.c41 crypto_mechanism_t *mech, crypto_object_attribute_t *attrs, uint_t count, in crypto_key_generate()
78 crypto_mechanism_t *mech, crypto_object_attribute_t *pub_attrs, in crypto_key_generate_pair()
79 uint_t pub_count, crypto_object_attribute_t *pri_attrs, uint_t pri_count, in crypto_key_generate_pair()
160 crypto_object_attribute_t *attrs, uint_t count, crypto_object_id_t *key, in crypto_key_unwrap()
200 crypto_object_attribute_t *attrs, uint_t count, in crypto_key_derive()
H A Dkcf_object.c42 crypto_object_attribute_t *attrs, uint_t count, in crypto_object_create()
117 crypto_object_id_t object_handle, crypto_object_attribute_t *attrs, in crypto_object_copy()
157 crypto_object_attribute_t *attrs, uint_t count, crypto_call_req_t *crq) in crypto_object_get_attribute_value()
196 crypto_object_attribute_t *attrs, uint_t count, crypto_call_req_t *crq) in crypto_object_set_attribute_value()
271 crypto_object_attribute_t *attrs, uint_t count, void **cookie, in crypto_object_find_init()
/titanic_50/usr/src/uts/common/crypto/core/
H A Dkcf_prov_lib.c282 crypto_object_attribute_t *k_attrs = NULL; in crypto_copy_key_to_ctx()
290 count * sizeof (crypto_object_attribute_t); in crypto_copy_key_to_ctx()
300 k_attrs = (crypto_object_attribute_t *)(void *)((caddr_t)key + in crypto_copy_key_to_ctx()
304 count * sizeof (crypto_object_attribute_t); in crypto_copy_key_to_ctx()
/titanic_50/usr/src/uts/common/inet/kssl/
H A Dksslioctl.c71 crypto_object_attribute_t *attrs; in privateKey_free()
74 attrs_size = privkey->ck_count * sizeof (crypto_object_attribute_t); in privateKey_free()
284 crypto_object_attribute_t *newattrs; in extract_private_key()
310 sizeof (crypto_object_attribute_t); in extract_private_key()
710 crypto_object_attribute_t *attrs; in kssl_get_obj_handle()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/kssl/kssladm/
H A Dkssladm_create.c162 bufsize += sizeof (crypto_object_attribute_t) + in kmf_to_kssl()
173 bufsize += sizeof (crypto_object_attribute_t) + in kmf_to_kssl()