~mdw
/
catacomb-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mp.c: Fix Jacobi symbol notation in docstring.
[catacomb-python]
/
group.c
diff --git
a/group.c
b/group.c
index
cc8bbc1
..
83608d3
100644
(file)
--- 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, "\
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 =
ecp
t) -> X converted to elliptic curve point")
+X.toec(curve =
ECP
t) -> X converted to elliptic curve point")
METH (tobuf, "X.tobuf() -> X in buffer representation")
METH (toraw, "X.toraw() -> X in raw representation")
#undef METHNAME
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 ...")
#define METHNAME(name) gmeth_##name
METH (mexp, "\
G.mexp([(X0, N0), (X1, N1), ...]) -> X0^N0 X1^N1 ...")
- KWMETH(checkgroup, "G.checkgroup(r
and = random
): check group is good")
+ KWMETH(checkgroup, "G.checkgroup(r
ng = rand
): check group is good")
#undef METHNAME
{ 0 }
};
#undef METHNAME
{ 0 }
};