/titanic_50/usr/src/uts/common/sys/crypto/ |
H A D | spi.h | 401 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 D | api.h | 286 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 D | dca.h | 904 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 D | ops_impl.h | 169 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 D | common.h | 332 } crypto_object_attribute_t; typedef 349 crypto_object_attribute_t *cku_a_oattr;
|
/titanic_50/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelUtil.c | 292 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 D | kernelKeys.c | 1984 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 D | ecc.c | 180 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 D | dprov.c | 929 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 D | crypto.c | 2161 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 D | dca.c | 3566 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 D | dca_dsa.c | 385 crypto_object_attribute_t *attr; in dca_dsainit()
|
H A D | dca_rsa.c | 394 crypto_object_attribute_t *attr; in dca_rsainit()
|
/titanic_50/usr/src/uts/common/crypto/api/ |
H A D | kcf_keys.c | 41 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 D | kcf_object.c | 42 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 D | kcf_prov_lib.c | 282 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 D | ksslioctl.c | 71 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 D | kssladm_create.c | 162 bufsize += sizeof (crypto_object_attribute_t) + in kmf_to_kssl() 173 bufsize += sizeof (crypto_object_attribute_t) + in kmf_to_kssl()
|