summaryrefslogtreecommitdiff
path: root/crypto/ec/ecp_nistp256.c
diff options
context:
space:
mode:
authorPawel Kowalski <p.kowalski2@partner.samsung.com>2017-11-24 11:45:40 +0100
committerPawel Kowalski <p.kowalski2@partner.samsung.com>2017-11-24 11:54:29 +0100
commit53fdd1d886c8daf5e80d06a25ee87bf49b6b35ab (patch)
tree8b4068e30a33d61ab6a737ed54fec5e6e8d56cd3 /crypto/ec/ecp_nistp256.c
parent2a125e21ef6079bd6da6d1e1c763c6ed068ca3f8 (diff)
parent16a871c1cbcffb9c2ba93e253f496a3254354653 (diff)
downloadopenssl-tizen_4.0_tv.tar.gz
openssl-tizen_4.0_tv.tar.bz2
openssl-tizen_4.0_tv.zip
Upstream version 1.0.2m Change-Id: I0324687ff87ce098888b7b6918c2f8c2bb4a5e73
Diffstat (limited to 'crypto/ec/ecp_nistp256.c')
-rw-r--r--crypto/ec/ecp_nistp256.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/ec/ecp_nistp256.c b/crypto/ec/ecp_nistp256.c
index 78d191a..1272966 100644
--- a/crypto/ec/ecp_nistp256.c
+++ b/crypto/ec/ecp_nistp256.c
@@ -977,7 +977,7 @@ static limb smallfelem_is_zero(const smallfelem small)
return result;
}
-static int smallfelem_is_zero_int(const smallfelem small)
+static int smallfelem_is_zero_int(const void *small)
{
return (int)(smallfelem_is_zero(small) & ((limb) 1));
}
@@ -1979,7 +1979,6 @@ static void make_points_affine(size_t num, smallfelem points[][3],
sizeof(smallfelem),
tmp_smallfelems,
(void (*)(void *))smallfelem_one,
- (int (*)(const void *))
smallfelem_is_zero_int,
(void (*)(void *, const void *))
smallfelem_assign,