Lines Matching refs:evp
19 #define DEFINE_ALGORITHMS(name, evp) DEFINE_STACK_OF(evp) \ argument
20 static int cmp_##evp(const evp *const *a, const evp *const *b); \
21 static void collect_##evp(evp *obj, void *stack); \
24 static STACK_OF(evp) *name##_collection; \
25 static int cmp_##evp(const evp *const *a, const evp *const *b) \
27 return strcmp(OSSL_PROVIDER_get0_name(evp##_get0_provider(*a)), \
28 OSSL_PROVIDER_get0_name(evp##_get0_provider(*b))); \
30 static void collect_##evp(evp *obj, void *stack) \
32 STACK_OF(evp) *obj_stack = stack; \
34 if (sk_##evp##_push(obj_stack, obj) > 0) \
35 evp##_up_ref(obj); \
39 name##_collection = sk_##evp##_new(cmp_##evp); \
40 evp##_do_all_provided(libctx, collect_##evp, name##_collection); \
44 sk_##evp##_pop_free(name##_collection, evp##_free); \
581 #define EVP_FUZZ(source, evp, f) \ argument
583 evp *alg = sk_##evp##_value(source, *algorithm % sk_##evp##_num(source)); \
588 fuzzed_params = fuzz_params((OSSL_PARAM*) evp##_settable_ctx_params(alg), &buf, &len); \