diff options
author | Matt Johnston <matt@ucc.asn.au> | 2015-06-04 22:25:28 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2015-06-04 22:25:28 +0800 |
commit | e7ac4c1ab3eee827d781ececf6c7342c432b91d3 (patch) | |
tree | 0a2ae08f9975d50dd7d4a490f4e79ae9db764fc8 /libtomcrypt/src/pk/ecc/ltc_ecc_mulmod_timing.c | |
parent | ecd850521816dc2a78792fc53dd9c6c80d5d1b91 (diff) | |
parent | 9fdab3ced8374b991bfadce0056cf5bdf7cfb3d6 (diff) |
Merge pull request #13 from gazoo74/fix-warnings
Fix warnings
Diffstat (limited to 'libtomcrypt/src/pk/ecc/ltc_ecc_mulmod_timing.c')
-rw-r--r-- | libtomcrypt/src/pk/ecc/ltc_ecc_mulmod_timing.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libtomcrypt/src/pk/ecc/ltc_ecc_mulmod_timing.c b/libtomcrypt/src/pk/ecc/ltc_ecc_mulmod_timing.c index b94a50c..8cbcdf3 100644 --- a/libtomcrypt/src/pk/ecc/ltc_ecc_mulmod_timing.c +++ b/libtomcrypt/src/pk/ecc/ltc_ecc_mulmod_timing.c @@ -40,7 +40,7 @@ int ltc_ecc_mulmod(void *k, ecc_point *G, ecc_point *R, void *modulus, int map) int i, j, err; void *mu, *mp; unsigned long buf; - int first, bitbuf, bitcpy, bitcnt, mode, digidx; + int bitcnt, mode, digidx; LTC_ARGCHK(k != NULL); LTC_ARGCHK(G != NULL); @@ -98,8 +98,6 @@ int ltc_ecc_mulmod(void *k, ecc_point *G, ecc_point *R, void *modulus, int map) bitcnt = 1; buf = 0; digidx = mp_get_digit_count(k) - 1; - bitcpy = bitbuf = 0; - first = 1; /* perform ops */ for (;;) { |