Lines Matching defs:method
51 /* set_method takes a pointer to a method and its given size and sets
53 * future to support making a copy of the method so that a stable ABI for
56 static int set_method(void **out_member, const void *method, size_t method_size,
58 const struct openssl_method_common_st *common = method;
63 *out_member = (void*) method;
67 int ENGINE_set_DH_method(ENGINE *engine, const DH_METHOD *method,
69 return set_method((void **)&engine->dh_method, method, method_size,
77 int ENGINE_set_DSA_method(ENGINE *engine, const DSA_METHOD *method,
79 return set_method((void **)&engine->dsa_method, method, method_size,
87 int ENGINE_set_RSA_method(ENGINE *engine, const RSA_METHOD *method,
89 return set_method((void **)&engine->rsa_method, method, method_size,
97 int ENGINE_set_ECDSA_method(ENGINE *engine, const ECDSA_METHOD *method,
99 return set_method((void **)&engine->ecdsa_method, method, method_size,
112 struct openssl_method_common_st *method = method_in;
114 if (method == NULL) {
117 assert(method->is_static);