Lines Matching refs:curve
521 /* Check a curve is one of our preferences */
529 /* Check curve matches Suite B preferences */
553 * Return |nmatch|th shared curve or NID_undef if there is no match.
555 * For nmatch == -2, return the NID of the curve to use for
569 * For Suite B ciphersuite determines curve: we already know
580 /* If not Suite B just return first preference shared curve */
635 * Bitmap of curves included to detect duplicates: only works while curve
640 EC_GROUP *curve;
651 /* NB: 25 is last curve ID supported by FIPS module */
658 curve = EC_GROUP_new_by_curve_name(curves[i]);
659 if (!curve || EC_METHOD_get_field_type(EC_GROUP_method_of(curve))
661 if (curve)
662 EC_GROUP_free(curve);
666 EC_GROUP_free(curve);
751 /* Determine curve ID */
754 /* If we have an ID set it, otherwise set arbitrary explicit curve */
802 /* Check curve is consistent with client and server preferences */
810 * so if it is not sent we can just choose any curve.
822 /* For clients can only check sent curve list */
915 /* Allow any curve: not just those peer supports */
932 /* Check this curve is acceptable */
935 /* If auto or setting curve from callback assume OK */
938 /* Otherwise check curve is acceptable */
952 /* Need a shared curve */
1090 /* Check compression and curve matches extensions */
1847 0x00, 0x06, /* 6 bytes of curve ids */
3125 * If we are client and using an elliptic curve cryptography cipher