Searched refs:curve_name (Results 1 – 10 of 10) sorted by relevance
39 std::string curve_name; in GetCurve() local40 if (!t->GetAttribute(&curve_name, key)) { in GetCurve()44 if (curve_name == "P-224") { in GetCurve()47 if (curve_name == "P-256") { in GetCurve()51 if (curve_name == "P-384") { in GetCurve()54 if (curve_name == "P-521") { in GetCurve()58 t->PrintLine("Unknown curve '%s'", curve_name.c_str()); in GetCurve()
307 std::string curve_name; in GetCurve() local308 if (!t->GetAttribute(&curve_name, key)) { in GetCurve()312 if (curve_name == "P-224") { in GetCurve()315 if (curve_name == "P-256") { in GetCurve()319 if (curve_name == "P-384") { in GetCurve()322 if (curve_name == "P-521") { in GetCurve()325 if (curve_name == "secp160r1") { in GetCurve()329 ADD_FAILURE() << "Unknown curve: " << curve_name; in GetCurve()
343 if (group->curve_name != NID_undef || group->generator != NULL || in EC_GROUP_set_generator()541 ret->curve_name = nid; in DEFINE_BSS_GET()555 group->curve_name != NID_undef || in EC_GROUP_free()574 a->curve_name != NID_undef) { in EC_GROUP_dup()590 if (a->curve_name != b->curve_name) { in EC_GROUP_cmp()593 if (a->curve_name != NID_undef) { in EC_GROUP_cmp()643 int EC_GROUP_get_curve_name(const EC_GROUP *group) { return group->curve_name; } in EC_GROUP_get_curve_name()
799 std::string curve_name; in GetCurve() local800 if (!t->GetAttribute(&curve_name, key)) { in GetCurve()804 if (curve_name == "P-224") { in GetCurve()807 if (curve_name == "P-256") { in GetCurve()811 if (curve_name == "P-384") { in GetCurve()814 if (curve_name == "P-521") { in GetCurve()818 t->PrintLine("Unknown curve '%s'", curve_name.c_str()); in GetCurve()
205 int curve_name; // optional NID for named curve member
198 if args.curve_name:199 context.set_ecdh_curve(args.curve_name)
199 if args.curve_name:200 context.set_ecdh_curve(args.curve_name)
555 curve_name = _tls_named_curves.get(self.named_curve)556 if curve_name is None:560 curve_cls = ec._CURVE_TYPES.get(curve_name)589 curve_name = _tls_named_curves[self.named_curve]590 curve = ec._CURVE_TYPES[curve_name]()
1272 .. method:: SSLContext.set_ecdh_curve(curve_name)1276 as secure. The *curve_name* parameter should be a string describing
1749 .. method:: SSLContext.set_ecdh_curve(curve_name)1753 as secure. The *curve_name* parameter should be a string describing