Lines Matching defs:curve
528 /* Check a curve is one of our preferences */
536 /* Check curve matches Suite B preferences */
560 * Return |nmatch|th shared curve or NID_undef if there is no match.
562 * For nmatch == -2, return the NID of the curve to use for
576 * For Suite B ciphersuite determines curve: we already know
587 /* If not Suite B just return first preference shared curve */
642 * Bitmap of curves included to detect duplicates: only works while curve
647 EC_GROUP *curve;
658 /* NB: 25 is last curve ID supported by FIPS module */
665 curve = EC_GROUP_new_by_curve_name(curves[i]);
666 if (!curve || EC_METHOD_get_field_type(EC_GROUP_method_of(curve))
668 if (curve)
669 EC_GROUP_free(curve);
673 EC_GROUP_free(curve);
758 /* Determine curve ID */
761 /* If we have an ID set it, otherwise set arbitrary explicit curve */
809 /* Check curve is consistent with client and server preferences */
817 * so if it is not sent we can just choose any curve.
829 /* For clients can only check sent curve list */
922 /* Allow any curve: not just those peer supports */
939 /* Check this curve is acceptable */
942 /* If auto or setting curve from callback assume OK */
945 /* Otherwise check curve is acceptable */
959 /* Need a shared curve */
1097 /* Check compression and curve matches extensions */
1397 * 2 bytes for the curve list length
1398 * + curve list length
1956 0x00, 0x06, /* 6 bytes of curve ids */
3241 * If we are client and using an elliptic curve cryptography cipher