func (curve Curve) EllipticCurve() (ellipticCurve elliptic.Curve, ok bool) {
	switch curve {
	case CurveP256:
		return elliptic.P256(), true
	case CurveP384:
		return elliptic.P384(), true
	case CurveP521:
		return elliptic.P521(), true
	default:
		return nil, false
	}
}
// EllipticCurve returns the elliptic.Curve for the given Curve.
EllipticCurve returns the elliptic.Curve for the given Curve.
// EllipticCurve returns the elliptic . Curve for the given Curve .
func (curve Curve) EllipticCurve() (ellipticCurve elliptic.Curve, ok bool) {
	switch curve {
	case CurveP256:
		return elliptic.P256(), true
	case CurveP384:
		return elliptic.P384(), true
	case CurveP521:
		return elliptic.P521(), true
	default:
		return nil, false
	}
}
func ( curve Curve ) EllipticCurve ( ) ( ellipticCurve elliptic . Curve , ok bool ) { switch curve { case CurveP256 : return elliptic . P256 ( ) , true case CurveP384 : return elliptic . P384 ( ) , true case CurveP521 : return elliptic . P521 ( ) , true default : return nil , false } }
EllipticCurve returns the elliptic.Curve for the given Curve.
EllipticCurve returns the elliptic . Curve for the given Curve .