chiark
/
gitweb
/
~mdw
/
catacomb-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
catacomb/__init__.py: Settle on SHAKE256 for X448 box-key generation.
[catacomb-python]
/
ec.c
diff --git
a/ec.c
b/ec.c
index 63d97d8c26438db8e8d7e106823f7c769e745bc2..0489bc0f33e3b00d4a882b2be9772fdbaf8c0d17 100644
(file)
--- a/
ec.c
+++ b/
ec.c
@@
-835,7
+835,7
@@
static PyObject *ecmeth_mmul(PyObject *me, PyObject *arg)
static PyObject *meth__ECPtCurve_fromraw(PyObject *me, PyObject *arg)
{
char *p;
static PyObject *meth__ECPtCurve_fromraw(PyObject *me, PyObject *arg)
{
char *p;
-
in
t len;
+
Py_ssize_
t len;
buf b;
PyObject *rc = 0;
ec_curve *cc;
buf b;
PyObject *rc = 0;
ec_curve *cc;
@@
-857,7
+857,7
@@
static PyObject *meth__ECPtCurve_os2ecp(PyObject *me,
PyObject *arg, PyObject *kw)
{
char *p;
PyObject *arg, PyObject *kw)
{
char *p;
-
in
t len;
+
Py_ssize_
t len;
buf b;
PyObject *rc = 0;
ec_curve *cc;
buf b;
PyObject *rc = 0;
ec_curve *cc;
@@
-881,7
+881,7
@@
static PyObject *meth__ECPt_frombuf(PyObject *me, PyObject *arg)
{
buf b;
char *p;
{
buf b;
char *p;
-
in
t sz;
+
Py_ssize_
t sz;
PyObject *rc = 0;
ec pp = EC_INIT;
PyObject *rc = 0;
ec pp = EC_INIT;