Lines Matching defs:curve
116 std::transform(curves.begin(), curves.end(), arr.begin(), [env](auto& curve) {
117 return OneByteString(env->isolate(), OBJ_nid2sn(curve.nid));
143 node::Utf8Value curve(env->isolate(), args[0]);
145 int nid = OBJ_sn2nid(*curve);
152 "Failed to create key using named curve");
310 "Private key is not valid for specified curve.");
407 node::Utf8Value curve(env->isolate(), args[1]);
409 int nid = OBJ_sn2nid(*curve);
460 CHECK(args[offset]->IsString()); // curve name
604 CHECK(args[*offset]->IsString()); // curve name
779 "Failed to get elliptic-curve point coordinates");
822 env, "Unsupported JWK EC curve: %s.", OBJ_nid2sn(nid));
853 const char* curve = nullptr;
856 curve = "Ed25519";
859 curve = "Ed448";
862 curve = "X25519";
865 curve = "X448";
873 OneByteString(env->isolate(), curve)).IsNothing()) {
925 CHECK(args[offset]->IsString()); // curve name
926 Utf8Value curve(env->isolate(), args[offset].As<String>());
928 int nid = GetCurveFromName(*curve);
929 if (nid == NID_undef) { // Unknown curve