Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/ecdh_extra/
Decdh_test.cc39 std::string curve_name; in GetCurve() local
40 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()
/external/boringssl/src/crypto/fipsmodule/ecdsa/
Decdsa_test.cc307 std::string curve_name; in GetCurve() local
308 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()
/external/boringssl/src/crypto/fipsmodule/ec/
Dec.c343 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()
Dec_test.cc799 std::string curve_name; in GetCurve() local
800 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()
Dinternal.h205 int curve_name; // optional NID for named curve member
/external/python/cpython3/Lib/test/
Dssl_servers.py198 if args.curve_name:
199 context.set_ecdh_curve(args.curve_name)
/external/python/cpython2/Lib/test/
Dssl_servers.py199 if args.curve_name:
200 context.set_ecdh_curve(args.curve_name)
/external/scapy/scapy/layers/tls/
Dkeyexchange.py555 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]()
/external/python/cpython2/Doc/library/
Dssl.rst1272 .. method:: SSLContext.set_ecdh_curve(curve_name)
1276 as secure. The *curve_name* parameter should be a string describing
/external/python/cpython3/Doc/library/
Dssl.rst1749 .. method:: SSLContext.set_ecdh_curve(curve_name)
1753 as secure. The *curve_name* parameter should be a string describing