Searched refs:prov_desc (Results 1 – 3 of 3) sorted by relevance
92 kcf_prov_tab_add_provider(kcf_provider_desc_t *prov_desc) in kcf_prov_tab_add_provider() argument109 prov_tab[i] = prov_desc; in kcf_prov_tab_add_provider()110 KCF_PROV_REFHOLD(prov_desc); in kcf_prov_tab_add_provider()111 KCF_PROV_IREFHOLD(prov_desc); in kcf_prov_tab_add_provider()117 prov_desc->pd_prov_id = i; in kcf_prov_tab_add_provider()123 prov_desc->pd_kcf_prov_handle = in kcf_prov_tab_add_provider()124 (crypto_kcf_provider_handle_t)prov_desc->pd_prov_id; in kcf_prov_tab_add_provider()137 kcf_provider_desc_t *prov_desc; in kcf_prov_tab_rem_provider() local146 ((prov_desc = prov_tab[prov_id]) == NULL)) { in kcf_prov_tab_rem_provider()161 KCF_PROV_IREFRELE(prov_desc); in kcf_prov_tab_rem_provider()[all …]
200 kcf_provider_desc_t *prov_desc, kcf_prov_mech_desc_t **pmdpp) in kcf_add_mech_provider() argument208 mech_info = &prov_desc->pd_mechanisms[mech_indx]; in kcf_add_mech_provider()249 prov_mech->pm_prov_desc = prov_desc; in kcf_add_mech_provider()250 prov_desc->pd_mech_indx[KCF_MECH2CLASS(kcf_mech_type)] in kcf_add_mech_provider()253 KCF_PROV_REFHOLD(prov_desc); in kcf_add_mech_provider()254 KCF_PROV_IREFHOLD(prov_desc); in kcf_add_mech_provider()269 "instead.", prov_desc->pd_description, in kcf_add_mech_provider()273 KCF_PROV_REFRELE(prov_desc); in kcf_add_mech_provider()305 kcf_remove_mech_provider(const char *mech_name, kcf_provider_desc_t *prov_desc) in kcf_remove_mech_provider() argument331 mech_entry->me_sw_prov->pm_prov_desc != prov_desc) { in kcf_remove_mech_provider()
53 kcf_provider_desc_t *prov_desc = NULL; in crypto_register_provider() local60 prov_desc = kcf_alloc_provider_desc(); in crypto_register_provider()61 KCF_PROV_REFHOLD(prov_desc); in crypto_register_provider()64 prov_desc->pd_description = info->pi_provider_description; in crypto_register_provider()67 prov_desc->pd_ops_vector = info->pi_ops_vector; in crypto_register_provider()70 if ((ret = init_prov_mechs(info, prov_desc)) != CRYPTO_SUCCESS) in crypto_register_provider()77 if ((ret = kcf_prov_tab_add_provider(prov_desc)) != CRYPTO_SUCCESS) { in crypto_register_provider()78 undo_register_provider(prov_desc, B_FALSE); in crypto_register_provider()89 mutex_enter(&prov_desc->pd_lock); in crypto_register_provider()90 prov_desc->pd_state = KCF_PROV_READY; in crypto_register_provider()[all …]