Home | History | Annotate | Download | only in ssl

Lines Matching defs:method

55   EC_GROUP *group = EC_GROUP_new_by_curve_name(ctx->method->nid);
111 EC_GROUP *group = EC_GROUP_new_by_curve_name(ctx->method->nid);
330 const SSL_ECDH_METHOD *method = method_from_curve_id(curve_id);
331 if (method == NULL) {
334 return method->name;
338 const SSL_ECDH_METHOD *method = method_from_nid(nid);
339 if (method == NULL) {
342 *out_curve_id = method->curve_id;
349 const SSL_ECDH_METHOD *method = method_from_curve_id(curve_id);
350 if (method == NULL) {
354 ctx->method = method;
361 ctx->method = &kDHEMethod;
366 if (ctx->method == NULL) {
369 ctx->method->cleanup(ctx);
370 ctx->method = NULL;
375 return ctx->method->generate_keypair(ctx, out_public_key);
381 return ctx->method->compute_secret(ctx, out_secret, out_secret_len, out_alert,