Lines Matching refs:globs
58 struct filter_prov_globals_st *globs = get_globals(); in filter_gettable_params() local
60 return OSSL_PROVIDER_gettable_params(globs->deflt); in filter_gettable_params()
65 struct filter_prov_globals_st *globs = get_globals(); in filter_get_params() local
67 return OSSL_PROVIDER_get_params(globs->deflt, params); in filter_get_params()
73 struct filter_prov_globals_st *globs = get_globals(); in filter_get_capabilities() local
75 return OSSL_PROVIDER_get_capabilities(globs->deflt, capability, cb, arg); in filter_get_capabilities()
82 struct filter_prov_globals_st *globs = get_globals(); in filter_query() local
85 globs->query_count++; in filter_query()
86 for (i = 0; i < globs->num_dispatch; i++) { in filter_query()
87 if (globs->dispatch[i].operation == operation_id) { in filter_query()
88 *no_cache = globs->no_cache; in filter_query()
89 return globs->dispatch[i].alg; in filter_query()
94 return OSSL_PROVIDER_query_operation(globs->deflt, operation_id, no_cache); in filter_query()
100 struct filter_prov_globals_st *globs = get_globals(); in filter_unquery() local
103 if (!TEST_ulong_gt(globs->query_count, 0)) in filter_unquery()
104 globs->error = 1; in filter_unquery()
106 globs->query_count--; in filter_unquery()
108 for (i = 0; i < globs->num_dispatch; i++) in filter_unquery()
109 if (globs->dispatch[i].alg == algs) in filter_unquery()
111 OSSL_PROVIDER_unquery_operation(globs->deflt, operation_id, algs); in filter_unquery()
116 struct filter_prov_globals_st *globs = get_globals(); in filter_teardown() local
118 OSSL_PROVIDER_unload(globs->deflt); in filter_teardown()
119 OSSL_LIB_CTX_free(globs->libctx); in filter_teardown()
120 memset(globs, 0, sizeof(*globs)); in filter_teardown()
168 struct filter_prov_globals_st *globs = get_globals(); in filter_provider_set_filter() local
172 const OSSL_ALGORITHM *provalgs = OSSL_PROVIDER_query_operation(globs->deflt, in filter_provider_set_filter()
184 if (globs->num_dispatch >= MAX_FILTERS) in filter_provider_set_filter()
209 globs->dispatch[globs->num_dispatch].alg[algnum++] = *algs; in filter_provider_set_filter()
218 globs->dispatch[globs->num_dispatch].operation = operation; in filter_provider_set_filter()
219 globs->no_cache = no_cache; in filter_provider_set_filter()
220 globs->num_dispatch++; in filter_provider_set_filter()
224 OSSL_PROVIDER_unquery_operation(globs->deflt, operation, provalgs); in filter_provider_set_filter()
235 struct filter_prov_globals_st *globs = get_globals(); in filter_provider_check_clean_finish() local
237 return TEST_ulong_eq(globs->query_count, 0) && !globs->error; in filter_provider_check_clean_finish()