Home
last modified time | relevance | path

Searched refs:curve_name (Results 1 – 6 of 6) sorted by relevance

/external/boringssl/src/crypto/ecdh/
Decdh_test.cc33 std::string curve_name; in GetCurve() local
34 if (!t->GetAttribute(&curve_name, key)) { in GetCurve()
38 if (curve_name == "P-224") { in GetCurve()
41 if (curve_name == "P-256") { in GetCurve()
45 if (curve_name == "P-384") { in GetCurve()
48 if (curve_name == "P-521") { in GetCurve()
52 t->PrintLine("Unknown curve '%s'", curve_name.c_str()); in GetCurve()
/external/boringssl/src/crypto/fipsmodule/ecdsa/
Decdsa_test.cc262 std::string curve_name; in GetCurve() local
263 if (!t->GetAttribute(&curve_name, key)) { in GetCurve()
267 if (curve_name == "P-224") { in GetCurve()
270 if (curve_name == "P-256") { in GetCurve()
274 if (curve_name == "P-384") { in GetCurve()
277 if (curve_name == "P-521") { in GetCurve()
281 ADD_FAILURE() << "Unknown curve: " << curve_name; in GetCurve()
/external/boringssl/src/crypto/fipsmodule/ec/
Dec.c388 if (group->curve_name != NID_undef || group->generator != NULL) { in EC_GROUP_set_generator()
498 ret->curve_name = nid; in EC_GROUP_new_by_curve_name()
537 ret->curve_name = a->curve_name; in EC_GROUP_dup()
559 return a->curve_name == NID_undef || in EC_GROUP_cmp()
560 b->curve_name == NID_undef || in EC_GROUP_cmp()
561 a->curve_name != b->curve_name; in EC_GROUP_cmp()
591 int EC_GROUP_get_curve_name(const EC_GROUP *group) { return group->curve_name; } in EC_GROUP_get_curve_name()
Dinternal.h120 int curve_name; /* optional NID for named curve */ member
/external/python/cpython2/Lib/test/
Dssl_servers.py199 if args.curve_name:
200 context.set_ecdh_curve(args.curve_name)
/external/python/cpython2/Doc/library/
Dssl.rst1238 .. method:: SSLContext.set_ecdh_curve(curve_name)
1242 as secure. The *curve_name* parameter should be a string describing