X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb-python/blobdiff_plain/fd60c6b42110938afc5b142c871f23d0c1a77d7f..75e81374e45c342f15e4eaa658770548c472b15e:/group.c diff --git a/group.c b/group.c index cc8bbc1..83608d3 100644 --- a/group.c +++ b/group.c @@ -964,7 +964,7 @@ static PyMethodDef ge_pymethods[] = { METH (check, "X.check() -> check X really belongs to its group") METH (toint, "X.toint() -> X converted to an integer") KWMETH(toec, "\ -X.toec(curve = ecpt) -> X converted to elliptic curve point") +X.toec(curve = ECPt) -> X converted to elliptic curve point") METH (tobuf, "X.tobuf() -> X in buffer representation") METH (toraw, "X.toraw() -> X in raw representation") #undef METHNAME @@ -1079,7 +1079,7 @@ static PyMethodDef group_pymethods[] = { #define METHNAME(name) gmeth_##name METH (mexp, "\ G.mexp([(X0, N0), (X1, N1), ...]) -> X0^N0 X1^N1 ...") - KWMETH(checkgroup, "G.checkgroup(rand = random): check group is good") + KWMETH(checkgroup, "G.checkgroup(rng = rand): check group is good") #undef METHNAME { 0 } };