aboutsummaryrefslogtreecommitdiff
path: root/python/python-axolotl-curve25519/patches
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2018-04-15 20:23:25 +1200
committerDavid Spencer <idlemoor@slackbuilds.org>2018-06-18 08:35:22 +0100
commit41b19224adf1dd61ffb03b54facffdf11563e3e6 (patch)
treec018163a8143916906aac7f9d517112e8626c4d5 /python/python-axolotl-curve25519/patches
parent4f702df40fe9449a0575ca207ae2be4792f8ff89 (diff)
python/python-axolotl-curve25519: Updated for version 0.4.1.post2.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'python/python-axolotl-curve25519/patches')
-rw-r--r--python/python-axolotl-curve25519/patches/2bd1f5556fed92afb4efc2a95846a1c0f8332baf.patch43
-rw-r--r--python/python-axolotl-curve25519/patches/87303fb7cffc99c13895c9888b270b740a7245d0.patch40
-rw-r--r--python/python-axolotl-curve25519/patches/e31fe347051e8dd051514398c56a816a3a71f8a4.patch22
3 files changed, 0 insertions, 105 deletions
diff --git a/python/python-axolotl-curve25519/patches/2bd1f5556fed92afb4efc2a95846a1c0f8332baf.patch b/python/python-axolotl-curve25519/patches/2bd1f5556fed92afb4efc2a95846a1c0f8332baf.patch
deleted file mode 100644
index 1e0af50bac..0000000000
--- a/python/python-axolotl-curve25519/patches/2bd1f5556fed92afb4efc2a95846a1c0f8332baf.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 2bd1f5556fed92afb4efc2a95846a1c0f8332baf Mon Sep 17 00:00:00 2001
-From: Josue Ortega <josueortega@debian.org.gt>
-Date: Sun, 15 Feb 2015 15:28:36 -0600
-Subject: [PATCH] Fixed prototype definition
-
----
- curve/ed25519/additions/zeroize.c | 4 ++--
- curve/ed25519/additions/zeroize.h | 2 +-
- 2 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/curve/ed25519/additions/zeroize.c b/curve/ed25519/additions/zeroize.c
-index 37c1f70..be4a8e3 100644
---- a/curve/ed25519/additions/zeroize.c
-+++ b/curve/ed25519/additions/zeroize.c
-@@ -3,14 +3,14 @@
- void zeroize(unsigned char* b, size_t len)
- {
- size_t count = 0;
-- unsigned long retval = 0;
-+ //unsigned long retval = 0;
- volatile unsigned char *p = b;
-
- for (count = 0; count < len; count++)
- p[count] = 0;
- }
-
--void zeroize_stack()
-+void zeroize_stack(void)
- {
- unsigned char m[ZEROIZE_STACK_SIZE];
- zeroize(m, sizeof m);
-diff --git a/curve/ed25519/additions/zeroize.h b/curve/ed25519/additions/zeroize.h
-index 80fcffb..7949924 100644
---- a/curve/ed25519/additions/zeroize.h
-+++ b/curve/ed25519/additions/zeroize.h
-@@ -7,6 +7,6 @@
-
- void zeroize(unsigned char* b, size_t len);
-
--void zeroize_stack();
-+void zeroize_stack(void);
-
- #endif
diff --git a/python/python-axolotl-curve25519/patches/87303fb7cffc99c13895c9888b270b740a7245d0.patch b/python/python-axolotl-curve25519/patches/87303fb7cffc99c13895c9888b270b740a7245d0.patch
deleted file mode 100644
index 4e172f7d40..0000000000
--- a/python/python-axolotl-curve25519/patches/87303fb7cffc99c13895c9888b270b740a7245d0.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 87303fb7cffc99c13895c9888b270b740a7245d0 Mon Sep 17 00:00:00 2001
-From: Josue Ortega <josueortega@debian.org.gt>
-Date: Sun, 15 Feb 2015 15:29:41 -0600
-Subject: [PATCH] Fixed differ in signedness [-Wpointer-sign] warning
-
----
- curve25519module.c | 8 +++++---
- 1 file changed, 5 insertions(+), 3 deletions(-)
-
-diff --git a/curve25519module.c b/curve25519module.c
-index 4c8ec96..f4bd3d7 100644
---- a/curve25519module.c
-+++ b/curve25519module.c
-@@ -47,7 +47,8 @@ calculateSignature(PyObject *self, PyObject *args)
- return NULL;
- }
-
-- curve25519_sign(signature, privatekey, message, messagelen, random);
-+ curve25519_sign((unsigned char *)signature, (unsigned char *)privatekey,
-+ (unsigned char *)message, messagelen, (unsigned char *)random);
-
- return PyBytes_FromStringAndSize((char *)signature, 64);
- }
-@@ -73,7 +74,8 @@ verifySignature(PyObject *self, PyObject *args)
- return NULL;
- }
-
-- int result = curve25519_verify(signature, publickey, message, messagelen);
-+ int result = curve25519_verify((unsigned char *)signature, (unsigned char *)publickey,
-+ (unsigned char *)message, messagelen);
-
- return Py_BuildValue("i", result);
-
-@@ -173,4 +175,4 @@ curve25519_functions[] = {
- (void)Py_InitModule("axolotl_curve25519", curve25519_functions);
- }
-
--#endif
-\ No newline at end of file
-+#endif
diff --git a/python/python-axolotl-curve25519/patches/e31fe347051e8dd051514398c56a816a3a71f8a4.patch b/python/python-axolotl-curve25519/patches/e31fe347051e8dd051514398c56a816a3a71f8a4.patch
deleted file mode 100644
index c6113a6358..0000000000
--- a/python/python-axolotl-curve25519/patches/e31fe347051e8dd051514398c56a816a3a71f8a4.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From e31fe347051e8dd051514398c56a816a3a71f8a4 Mon Sep 17 00:00:00 2001
-From: Josue Ortega <josueortega@debian.org.gt>
-Date: Sun, 15 Feb 2015 15:27:54 -0600
-Subject: [PATCH] Removed unused variable
-
----
- curve/ed25519/additions/curve_sigs.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/curve/ed25519/additions/curve_sigs.c b/curve/ed25519/additions/curve_sigs.c
-index 51f2052..fa78eaf 100644
---- a/curve/ed25519/additions/curve_sigs.c
-+++ b/curve/ed25519/additions/curve_sigs.c
-@@ -7,7 +7,7 @@ void curve25519_keygen(unsigned char* curve25519_pubkey_out,
- const unsigned char* curve25519_privkey_in)
- {
- ge_p3 ed; /* Ed25519 pubkey point */
-- fe ed_y, ed_y_plus_one, one_minus_ed_y, inv_one_minus_ed_y;
-+ fe ed_y_plus_one, one_minus_ed_y, inv_one_minus_ed_y;
- fe mont_x;
-
- /* Perform a fixed-base multiplication of the Edwards base point,