summaryrefslogtreecommitdiffstats
path: root/libtommath/bn_mp_karatsuba_sqr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtommath/bn_mp_karatsuba_sqr.c')
-rw-r--r--libtommath/bn_mp_karatsuba_sqr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtommath/bn_mp_karatsuba_sqr.c b/libtommath/bn_mp_karatsuba_sqr.c
index 764e85a..90624d0 100644
--- a/libtommath/bn_mp_karatsuba_sqr.c
+++ b/libtommath/bn_mp_karatsuba_sqr.c
@@ -22,7 +22,7 @@
* is essentially the same algorithm but merely
* tuned to perform recursive squarings.
*/
-int mp_karatsuba_sqr (mp_int * a, mp_int * b)
+int mp_karatsuba_sqr (const mp_int * a, mp_int * b)
{
mp_int x0, x1, t1, t2, x0x0, x1x1;
int B, err;