Lines Matching defs:curve
215 * If it's related to EC, check there is a curve associated with the
256 const char *curve;
272 lws_cose_curve_name_to_id(const char *curve)
277 if (!strcmp(cose_curves[n].curve, curve))
290 return cose_curves[n].curve;
788 int use_mask, int bits, const char *curve,
870 if (!curve) {
871 lwsl_err("%s: must have a named curve\n", __func__);
880 lwsl_notice("%s: generating ECDSA key on curve %s\n", __func__,
881 curve);
883 n = lws_genecdsa_new_keypair(&ctx, curve, ck->e);
890 ck->e[LWS_GENCRYPTO_EC_KEYEL_CRV].len = (uint32_t)strlen(curve);
1044 lwsl_err("%s: no curve type\n", __func__);
1081 /* we didn't already encode his curve */