Lines Matching defs:curve
610 * For Suite B ciphersuite determines curve: we already know
622 /* If not Suite B just return first preference shared curve */
822 * so if it is not sent we can just choose any curve.
1388 * specified EC curve.
1390 int tls_check_sigalg_curve(const SSL *s, int curve)
1409 && lu->curve != NID_undef
1410 && curve == lu->curve)
1517 /* For TLS 1.3 or Suite B check curve matches signature algorithm */
1519 int curve = ssl_get_EC_curve_nid(pkey);
1521 if (lu->curve != NID_undef && curve != lu->curve) {
1527 /* Check curve matches extensions */
3166 int curve = -1;
3190 if (curve == -1)
3191 curve = ssl_get_EC_curve_nid(tmppkey);
3192 if (lu->curve != NID_undef && curve != lu->curve)
3246 int curve = -1;
3248 /* For Suite B need to match signature algorithm to curve */
3250 curve = ssl_get_EC_curve_nid(s->cert->pkeys[SSL_PKEY_ECC]
3280 if (curve == -1 || lu->curve == curve)