Home
last modified time | relevance | path

Searched refs:kcf_provider_desc_t (Results 1 – 24 of 24) sorted by relevance

/titanic_50/usr/src/uts/common/sys/crypto/
H A Dsched_impl.h99 kcf_provider_desc_t *pt_pd;
154 kcf_provider_desc_t *sn_provider;
202 kcf_provider_desc_t *an_provider;
305 kcf_provider_desc_t *kc_prov_desc; /* Prov. descriptor */
306 kcf_provider_desc_t *kc_sw_prov_desc; /* Prov. descriptor */
476 boolean_t kcf_get_next_logical_provider_member(kcf_provider_desc_t *,
477 kcf_provider_desc_t *, kcf_provider_desc_t **);
480 kcf_provider_desc_t *, kcf_provider_desc_t **,
483 kcf_provider_desc_t *, kcf_provider_desc_t **);
486 kcf_provider_desc_t *, int);
[all …]
H A Dimpl.h240 } kcf_provider_desc_t; typedef
330 kcf_provider_desc_t *pm_prov_desc; /* Common desc. */
500 kcf_provider_desc_t *ps_provider;
501 kcf_provider_desc_t *ps_real_provider;
517 kcf_provider_desc_t *sd_provider;
539 kcf_provider_desc_t **cm_provider_array;
1327 int crypto_build_permitted_mech_names(kcf_provider_desc_t *,
1330 extern int kcf_add_mech_provider(short, kcf_provider_desc_t *,
1332 extern void kcf_remove_mech_provider(char *, kcf_provider_desc_t *);
1334 extern kcf_provider_desc_t *kcf_alloc_provider_desc(crypto_provider_info_t *);
[all …]
H A Dops_impl.h163 kcf_provider_desc_t *so_pd;
224 kcf_provider_desc_t *po_pd;
/titanic_50/usr/src/uts/common/crypto/core/
H A Dkcf_prov_tabs.c67 static kcf_provider_desc_t **prov_tab = NULL;
89 prov_tab = kmem_zalloc(prov_tab_max * sizeof (kcf_provider_desc_t *), in kcf_prov_tab_init()
102 kcf_prov_tab_add_provider(kcf_provider_desc_t *prov_desc) in kcf_prov_tab_add_provider()
157 kcf_provider_desc_t *prov_desc; in kcf_prov_tab_rem_provider()
203 kcf_provider_desc_t *
206 kcf_provider_desc_t *prov_desc; in kcf_prov_tab_lookup()
324 kcf_provider_desc_t *
328 kcf_provider_desc_t *desc; in kcf_alloc_provider_desc()
332 desc = kmem_zalloc(sizeof (kcf_provider_desc_t), KM_SLEEP); in kcf_alloc_provider_desc()
396 kcf_free_provider_desc(kcf_provider_desc_t *desc) in kcf_free_provider_desc()
[all …]
H A Dkcf_cryptoadm.c60 static int dup_mech_names(kcf_provider_desc_t *, crypto_mech_name_t **,
252 filter_providers(uint_t count, kcf_provider_desc_t **provider_array, in filter_providers()
256 kcf_provider_desc_t *prov1, *prov2; in filter_providers()
289 kcf_provider_desc_t **provider_array; in crypto_get_dev_list()
290 kcf_provider_desc_t *pd; in crypto_get_dev_list()
437 kcf_provider_desc_t **provider_array; in crypto_get_dev_info()
438 kcf_provider_desc_t *pd; in crypto_get_dev_info()
510 kcf_provider_desc_t *provider; in crypto_get_soft_info()
553 kcf_change_mechs(kcf_provider_desc_t *provider, uint_t count, in kcf_change_mechs()
638 kcf_provider_desc_t *provider = NULL; in crypto_load_dev_disabled()
[all …]
H A Dkcf_callprov.c52 static int kcf_emulate_dual(kcf_provider_desc_t *, crypto_ctx_t *,
73 kcf_insert_triedlist(kcf_prov_tried_t **list, kcf_provider_desc_t *pd, in kcf_insert_triedlist()
93 is_in_triedlist(kcf_provider_desc_t *pd, kcf_prov_tried_t *triedl) in is_in_triedlist()
111 kcf_check_prov_mech_keylen(kcf_provider_desc_t *provider, in kcf_check_prov_mech_keylen()
188 is_valid_provider_for_mech(kcf_provider_desc_t *pd, kcf_mech_entry_t *me, in is_valid_provider_for_mech()
225 kcf_provider_desc_t *old, kcf_provider_desc_t **new, crypto_func_group_t fg) in kcf_get_hardware_provider()
227 kcf_provider_desc_t *provider, *real_pd = old; in kcf_get_hardware_provider()
228 kcf_provider_desc_t *gpd = NULL; /* good provider */ in kcf_get_hardware_provider()
229 kcf_provider_desc_t *bpd = NULL; /* busy provider */ in kcf_get_hardware_provider()
385 kcf_provider_desc_t *old, kcf_provider_desc_t **new) in kcf_get_hardware_provider_nomech()
[all …]
H A Dkcf_sched.c92 static kcf_areq_node_t *kcf_areqnode_alloc(kcf_provider_desc_t *,
111 kcf_new_ctx(crypto_call_req_t *crq, kcf_provider_desc_t *pd, in kcf_new_ctx()
151 kcf_areqnode_alloc(kcf_provider_desc_t *pd, kcf_context_t *ictx, in kcf_areqnode_alloc()
248 kcf_provider_desc_t *pd; in process_req_hwp()
499 kcf_provider_desc_t *old_pd; in kcf_resubmit_request()
500 kcf_provider_desc_t *new_pd; in kcf_resubmit_request()
596 kcf_submit_request(kcf_provider_desc_t *pd, crypto_ctx_t *ctx, in kcf_submit_request()
818 kcf_provider_desc_t *pd = kcf_ctx->kc_prov_desc; in kcf_free_context()
1013 kcf_provider_desc_t *pd; in kcfpool_svc()
1588 kcf_provider_desc_t *pd; in crypto_cancel_req()
[all …]
H A Dkcf_mech_tabs.c383 kcf_provider_desc_t *prov_desc, kcf_prov_mech_desc_t **pmdpp) in kcf_add_mech_provider()
627 kcf_remove_mech_provider(char *mech_name, kcf_provider_desc_t *prov_desc) in kcf_remove_mech_provider()
792 kcf_provider_desc_t *pd; in auto_unload_flag_set()
/titanic_50/usr/src/uts/common/crypto/api/
H A Dkcf_object.c46 kcf_provider_desc_t *pd = provider; in crypto_object_create()
47 kcf_provider_desc_t *real_provider = pd; in crypto_object_create()
83 kcf_provider_desc_t *pd = provider; in crypto_object_destroy()
84 kcf_provider_desc_t *real_provider = pd; in crypto_object_destroy()
121 kcf_provider_desc_t *pd = provider; in crypto_object_copy()
122 kcf_provider_desc_t *real_provider = pd; in crypto_object_copy()
160 kcf_provider_desc_t *pd = provider; in crypto_object_get_attribute_value()
161 kcf_provider_desc_t *real_provider = pd; in crypto_object_get_attribute_value()
199 kcf_provider_desc_t *pd = provider; in crypto_object_set_attribute_value()
200 kcf_provider_desc_t *real_provider = pd; in crypto_object_set_attribute_value()
[all …]
H A Dkcf_session.c46 kcf_provider_desc_t *real_provider; in crypto_session_open()
47 kcf_provider_desc_t *pd = provider; in crypto_session_open()
87 kcf_provider_desc_t *real_provider; in crypto_session_close()
88 kcf_provider_desc_t *pd = provider; in crypto_session_close()
126 kcf_provider_desc_t *pd = provider; in crypto_session_login()
127 kcf_provider_desc_t *real_provider = pd; in crypto_session_login()
162 kcf_provider_desc_t *pd = provider; in crypto_session_logout()
163 kcf_provider_desc_t *real_provider = pd; in crypto_session_logout()
H A Dkcf_keys.c45 kcf_provider_desc_t *pd = provider; in crypto_key_generate()
46 kcf_provider_desc_t *real_provider = pd; in crypto_key_generate()
84 kcf_provider_desc_t *pd = provider; in crypto_key_generate_pair()
85 kcf_provider_desc_t *real_provider = pd; in crypto_key_generate_pair()
124 kcf_provider_desc_t *pd = provider; in crypto_key_wrap()
125 kcf_provider_desc_t *real_provider = pd; in crypto_key_wrap()
164 kcf_provider_desc_t *pd = provider; in crypto_key_unwrap()
165 kcf_provider_desc_t *real_provider = pd; in crypto_key_unwrap()
204 kcf_provider_desc_t *pd = provider; in crypto_key_derive()
205 kcf_provider_desc_t *real_provider = pd; in crypto_key_derive()
H A Dkcf_sign.c53 kcf_provider_desc_t *pd = provider; in crypto_sign_init_prov()
54 kcf_provider_desc_t *real_provider = pd; in crypto_sign_init_prov()
96 kcf_provider_desc_t *pd; in crypto_sign_init()
151 kcf_provider_desc_t *pd; in crypto_sign_single()
179 kcf_provider_desc_t *pd; in crypto_sign_update()
206 kcf_provider_desc_t *pd; in crypto_sign_final()
233 kcf_provider_desc_t *pd = provider; in crypto_sign_prov()
234 kcf_provider_desc_t *real_provider = pd; in crypto_sign_prov()
263 kcf_provider_desc_t *pd; in sign_sr_atomic_common()
353 kcf_provider_desc_t *pd = provider; in crypto_sign_recover_prov()
[all …]
H A Dkcf_verify.c53 kcf_provider_desc_t *pd = provider; in crypto_verify_init_prov()
54 kcf_provider_desc_t *real_provider = pd; in crypto_verify_init_prov()
97 kcf_provider_desc_t *pd; in crypto_verify_init()
152 kcf_provider_desc_t *pd; in crypto_verify_single()
181 kcf_provider_desc_t *pd; in crypto_verify_update()
208 kcf_provider_desc_t *pd; in crypto_verify_final()
235 kcf_provider_desc_t *pd = provider; in crypto_verify_prov()
236 kcf_provider_desc_t *real_provider = pd; in crypto_verify_prov()
265 kcf_provider_desc_t *pd; in verify_vr_atomic_common()
355 kcf_provider_desc_t *pd = provider; in crypto_verify_recover_prov()
[all …]
H A Dkcf_digest.c100 kcf_provider_desc_t *pd = provider; in crypto_digest_prov()
101 kcf_provider_desc_t *real_provider = pd; in crypto_digest_prov()
134 kcf_provider_desc_t *pd; in crypto_digest()
215 kcf_provider_desc_t *pd = provider; in crypto_digest_init_prov()
216 kcf_provider_desc_t *real_provider = pd; in crypto_digest_init_prov()
276 kcf_provider_desc_t *pd; in crypto_digest_init()
341 kcf_provider_desc_t *pd; in crypto_digest_update()
390 kcf_provider_desc_t *pd; in crypto_digest_final()
427 kcf_provider_desc_t *pd; in crypto_digest_key_prov()
461 kcf_provider_desc_t *pd; in crypto_digest_single()
H A Dkcf_mac.c100 kcf_provider_desc_t *pd = provider; in crypto_mac_prov()
101 kcf_provider_desc_t *real_provider = pd; in crypto_mac_prov()
136 kcf_provider_desc_t *pd; in crypto_mac()
224 kcf_provider_desc_t *pd = provider; in crypto_mac_verify_prov()
225 kcf_provider_desc_t *real_provider = pd; in crypto_mac_verify_prov()
260 kcf_provider_desc_t *pd; in crypto_mac_verify()
378 kcf_provider_desc_t *pd = provider; in crypto_mac_init_prov()
379 kcf_provider_desc_t *real_provider = pd; in crypto_mac_init_prov()
440 kcf_provider_desc_t *pd; in crypto_mac_init()
527 kcf_provider_desc_t *pd; in crypto_mac_update()
[all …]
H A Dkcf_cipher.c113 kcf_provider_desc_t *pd = provider; in crypto_cipher_init_prov()
114 kcf_provider_desc_t *real_provider = pd; in crypto_cipher_init_prov()
166 kcf_provider_desc_t *tpd = NULL; in crypto_cipher_init_prov()
235 kcf_provider_desc_t *pd; in crypto_cipher_init()
324 kcf_provider_desc_t *pd = provider; in crypto_encrypt_prov()
325 kcf_provider_desc_t *real_provider = pd; in crypto_encrypt_prov()
361 kcf_provider_desc_t *pd; in crypto_encrypt()
478 kcf_provider_desc_t *pd; in crypto_encrypt_update()
538 kcf_provider_desc_t *pd; in crypto_encrypt_final()
605 kcf_provider_desc_t *pd = provider; in crypto_decrypt_prov()
[all …]
H A Dkcf_miscapi.c508 kcf_provider_desc_t *pd; in crypto_key_check()
584 kcf_provider_desc_t *pd = provider; in crypto_key_check_prov()
585 kcf_provider_desc_t *real_provider = pd; in crypto_key_check_prov()
778 match_ext_info(kcf_provider_desc_t *pd, char *label, char *manuf, char *serial, in match_ext_info()
814 kcf_provider_desc_t **provider_array, *pd; in crypto_get_provider()
856 kcf_provider_desc_t *pd; in crypto_get_provinfo()
857 kcf_provider_desc_t *real_provider; in crypto_get_provinfo()
859 pd = (kcf_provider_desc_t *)hndl; in crypto_get_provinfo()
880 KCF_PROV_REFRELE((kcf_provider_desc_t *)provider); in crypto_release_provider()
H A Dkcf_dual.c62 kcf_provider_desc_t *pd = provider; in crypto_encrypt_mac_prov()
63 kcf_provider_desc_t *real_provider = pd; in crypto_encrypt_mac_prov()
184 kcf_provider_desc_t *pd; in crypto_encrypt_mac()
427 kcf_provider_desc_t *pd = provider; in crypto_encrypt_mac_init_prov()
428 kcf_provider_desc_t *real_provider = pd; in crypto_encrypt_mac_init_prov()
564 kcf_provider_desc_t *pd; in crypto_encrypt_mac_init()
872 kcf_provider_desc_t *pd; in crypto_encrypt_mac_update()
975 kcf_provider_desc_t *pd; in crypto_encrypt_mac_final()
1140 kcf_provider_desc_t *pd; in crypto_mac_decrypt_common()
1403 kcf_provider_desc_t *pd = provider; in crypto_mac_decrypt_common_prov()
[all …]
H A Dkcf_ctxops.c81 kcf_provider_desc_t *pd; in crypto_create_ctx_template()
H A Dkcf_random.c200 kcf_provider_desc_t *pd; in kcf_rngprov_check()
226 kcf_provider_desc_t *pd = NULL; in rngprov_seed()
256 kcf_provider_desc_t *pd; in rngprov_getbytes()
331 kcf_provider_desc_t *pd; in rngprov_getbytes_nblk()
/titanic_50/usr/src/uts/common/crypto/spi/
H A Dkcf_spi.c58 static void remove_provider(kcf_provider_desc_t *);
60 kcf_provider_desc_t *);
61 static int init_prov_mechs(crypto_provider_info_t *, kcf_provider_desc_t *);
63 static void delete_kstat(kcf_provider_desc_t *);
137 kcf_provider_desc_t *prov_desc = NULL; in crypto_register_provider()
419 kcf_get_refcnt(kcf_provider_desc_t *pd, boolean_t do_lock) in kcf_get_refcnt()
447 kcf_provider_desc_t *desc; in crypto_unregister_provider()
612 kcf_provider_desc_t *pd; in crypto_provider_notification()
741 init_prov_mechs(crypto_provider_info_t *info, kcf_provider_desc_t *desc) in init_prov_mechs()
852 kcf_provider_desc_t *pd = (kcf_provider_desc_t *)ksp->ks_private; in kcf_prov_kstat_update()
[all …]
/titanic_50/usr/src/cmd/mdb/common/modules/crypto/
H A Dimpl.c55 kcf_provider_desc_t desc; in kcf_provider_desc()
56 kcf_provider_desc_t *ptr; in kcf_provider_desc()
66 ptr = (kcf_provider_desc_t *)addr; in kcf_provider_desc()
72 if (mdb_vread(&desc, sizeof (kcf_provider_desc_t), (uintptr_t)ptr) in kcf_provider_desc()
204 kcf_provider_desc_t **tab; in prov_tab()
205 kcf_provider_desc_t desc; in prov_tab()
206 kcf_provider_desc_t *ptr; in prov_tab()
224 tab = mdb_zalloc(prov_tab_max * sizeof (kcf_provider_desc_t *), in prov_tab()
231 if (mdb_vread(tab, prov_tab_max * sizeof (kcf_provider_desc_t *), in prov_tab()
259 if (mdb_vread(&desc, sizeof (kcf_provider_desc_t), in prov_tab()
/titanic_50/usr/src/uts/common/crypto/io/
H A Dcrypto.c648 crypto_build_function_list(crypto_function_list_t *fl, kcf_provider_desc_t *pd) in crypto_build_function_list()
850 kcf_provider_desc_t *provider; in get_function_list()
890 kcf_provider_desc_t *prev = NULL, *pd; in get_function_list()
1175 kcf_provider_desc_t **provider_array; in crypto_get_provider_list()
1321 ext_to_provider_data(int mode, kcf_provider_desc_t *provider, in ext_to_provider_data()
1375 fabricate_ext_info(kcf_provider_desc_t *provider, in fabricate_ext_info()
1415 kcf_provider_desc_t *provider, *real_provider; in get_provider_info()
1617 kcf_provider_desc_t *pd; in get_provider_mechanism_info()
1701 kcf_provider_desc_t *pd, *real_provider; in crypto_get_provider_session()
1898 kcf_provider_desc_t *provider; in crypto_open_session()
[all …]
H A Ddprov.c1574 static int dprov_get_sw_prov(crypto_mechanism_t *, kcf_provider_desc_t **,
5405 kcf_provider_desc_t *pd; in dprov_digest_task()
5521 kcf_provider_desc_t *pd; in dprov_mac_task()
5637 kcf_provider_desc_t *pd; in dprov_sign_task()
5857 kcf_provider_desc_t *pd; in dprov_verify_task()
6115 kcf_provider_desc_t *pd; in dprov_cipher_task()
6310 kcf_provider_desc_t **cipher_pd, kcf_provider_desc_t **mac_pd, in dprov_cipher_mac_key_pd()
6355 kcf_provider_desc_t *cipher_pd; in dprov_cipher_mac_task()
6356 kcf_provider_desc_t *mac_pd; in dprov_cipher_mac_task()
7407 kcf_provider_desc_t *pd; in dprov_key_task()
[all …]