/illumos-gate/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 | 333 } crypto_object_attribute_t; typedef 350 crypto_object_attribute_t *cku_a_oattr;
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelUtil.c | 184 crypto_object_attribute_t *attrs, *cur_attr; in get_rsa_private_key() 196 RSA_PRI_ATTR_COUNT * sizeof (crypto_object_attribute_t)); in get_rsa_private_key() 318 crypto_object_attribute_t *attrs, *cur_attr; in get_rsa_public_key() 329 RSA_PUB_ATTR_COUNT * sizeof (crypto_object_attribute_t)); in get_rsa_public_key() 393 crypto_object_attribute_t *attrs, *cur_attr; in get_dsa_private_key() 404 DSA_ATTR_COUNT * sizeof (crypto_object_attribute_t)); in get_dsa_private_key() 455 crypto_object_attribute_t *attrs, *cur_attr; in get_dsa_public_key() 466 DSA_ATTR_COUNT * sizeof (crypto_object_attribute_t)); in get_dsa_public_key() 517 crypto_object_attribute_t *attrs, *cur_attr; in get_ec_private_key() 529 attrs = calloc(EC_ATTR_COUNT, sizeof (crypto_object_attribute_t)); in get_ec_private_key() [all …]
|
H A D | kernelKeys.c | 1979 crypto_object_attribute_t *attrs = NULL; in get_base_key_attributes() 1986 attrs = malloc(count * sizeof (crypto_object_attribute_t)); in get_base_key_attributes() 1991 bzero(attrs, count * sizeof (crypto_object_attribute_t)); in get_base_key_attributes() 2068 attrs = malloc(count * sizeof (crypto_object_attribute_t)); in get_base_key_attributes() 2073 bzero(attrs, count * sizeof (crypto_object_attribute_t)); in get_base_key_attributes()
|
/illumos-gate/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 | 950 crypto_object_attribute_t *, uint_t, crypto_object_id_t *, 953 crypto_object_id_t, crypto_object_attribute_t *, uint_t, 961 crypto_object_attribute_t *, uint_t, crypto_req_handle_t); 964 crypto_object_attribute_t *, uint_t, crypto_req_handle_t); 966 crypto_object_attribute_t *, uint_t, void **, 986 crypto_mechanism_t *, crypto_object_attribute_t *, uint_t, 989 crypto_session_id_t, crypto_mechanism_t *, crypto_object_attribute_t *, 990 uint_t, crypto_object_attribute_t *, uint_t, crypto_object_id_t *, 997 crypto_object_attribute_t *, uint_t, 1000 crypto_mechanism_t *, crypto_key_t *, crypto_object_attribute_t *, [all …]
|
H A D | crypto.c | 2197 crypto_object_attribute_t *attrs; in crypto_free_key_attributes() 2206 len = key->ck_count * sizeof (crypto_object_attribute_t); in crypto_free_key_attributes() 2263 crypto_object_attribute_t **k_attrs_out, size_t *k_attrs_size_out, in copyin_attributes() 2268 crypto_object_attribute_t *k_attrs = NULL; in copyin_attributes() 2322 k_attrs_len = count * sizeof (crypto_object_attribute_t); in copyin_attributes() 2395 crypto_object_attribute_t *k_attrs = NULL; in copyin_key() 4564 crypto_object_attribute_t *k_attrs, caddr_t u_attrs) in copyout_attributes() 4614 crypto_object_attribute_t *k_attrs = NULL; in object_create() 4708 crypto_object_attribute_t *k_attrs = NULL; in object_copy() 4876 crypto_object_attribute_t *k_attrs = NULL; in object_get_attribute_value() [all …]
|
H A D | dca.c | 3522 crypto_object_attribute_t * 3537 dca_attr_lookup_uint32(crypto_object_attribute_t *attrp, uint_t atnum, in dca_attr_lookup_uint32() 3540 crypto_object_attribute_t *bap; in dca_attr_lookup_uint32() 3557 dca_attr_lookup_uint8_array(crypto_object_attribute_t *attrp, uint_t atnum, in dca_attr_lookup_uint8_array() 3560 crypto_object_attribute_t *bap; in dca_attr_lookup_uint8_array() 3577 crypto_object_attribute_t * 3578 dca_find_attribute(crypto_object_attribute_t *attrp, uint_t atnum, in dca_find_attribute()
|
H A D | dca_dsa.c | 383 crypto_object_attribute_t *attr; in dca_dsainit()
|
H A D | dca_rsa.c | 392 crypto_object_attribute_t *attr; in dca_rsainit()
|
/illumos-gate/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()
|
/illumos-gate/usr/src/uts/common/crypto/core/ |
H A D | kcf_prov_lib.c | 84 crypto_object_attribute_t *k_attrs = NULL; in crypto_copy_key_to_ctx() 92 count * sizeof (crypto_object_attribute_t); in crypto_copy_key_to_ctx() 102 k_attrs = (crypto_object_attribute_t *)(void *)((caddr_t)key + in crypto_copy_key_to_ctx() 106 count * sizeof (crypto_object_attribute_t); in crypto_copy_key_to_ctx()
|