package dhellman import ( "git.ali33.ru/fcg-xvii/curve/v2" "git.ali33.ru/fcg-xvii/curve/v2/tools" ) func CurveKeyPair(curve *tools.Curve) (curve.KeyPair, error) { pair, err := randomCurveKeyPair(curve) return pair, err }