Home | History | Annotate | Download | only in ssl

Lines Matching refs:method

56   EC_GROUP *group = EC_GROUP_new_by_curve_name(ctx->method->nid);
100 EC_GROUP *group = EC_GROUP_new_by_curve_name(ctx->method->nid);
377 const SSL_ECDH_METHOD *method = method_from_group_id(group_id);
378 if (method == NULL) {
381 return method->name;
385 const SSL_ECDH_METHOD *method = method_from_nid(nid);
386 if (method == NULL) {
389 *out_group_id = method->group_id;
394 const SSL_ECDH_METHOD *method = method_from_name(name, len);
395 if (method == NULL) {
398 *out_group_id = method->group_id;
405 const SSL_ECDH_METHOD *method = method_from_group_id(group_id);
406 if (method == NULL) {
410 ctx->method = method;
417 ctx->method = &kDHEMethod;
422 if (ctx->method == NULL) {
425 ctx->method->cleanup(ctx);
426 ctx->method = NULL;
431 return ctx->method->group_id;
435 if (ctx->method == NULL) {
438 return ctx->method->get_key(cbs, out);
442 if (ctx->method == NULL) {
445 return ctx->method->add_key(cbb, out_contents);
449 return ctx->method->offer(ctx, out_public_key);
456 return ctx->method->accept(ctx, out_public_key, out_secret, out_secret_len,
463 return ctx->method->finish(ctx, out_secret, out_secret_len, out_alert,