diff options
author | Niels Möller <nisse@lysator.liu.se> | 2014-08-28 11:25:48 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2014-08-28 11:25:48 +0200 |
commit | 91784d65b7cd71a4128ee6d74043178f3aa2d09f (patch) | |
tree | 4b26e8fc37643f0f7c38bfd9a22433da947d55ca /testsuite/testutils.c | |
parent | a67a7286c9ea748652d463160a5f863de10ae644 (diff) | |
download | nettle-91784d65b7cd71a4128ee6d74043178f3aa2d09f.tar.gz |
ecc_j_to_a interface change, optionally reduce x mod q.
Diffstat (limited to 'testsuite/testutils.c')
-rw-r--r-- | testsuite/testutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/testutils.c b/testsuite/testutils.c index 9739c9ed..33c3c40e 100644 --- a/testsuite/testutils.c +++ b/testsuite/testutils.c @@ -1376,7 +1376,7 @@ test_ecc_mul_j (unsigned curve, unsigned n, const mp_limb_t *p) const struct ecc_curve *ecc = ecc_curves[curve]; mp_limb_t *np = xalloc_limbs (ecc_size_a (ecc)); mp_limb_t *scratch = xalloc_limbs (ecc_j_to_a_itch(ecc)); - ecc_j_to_a (ecc, 1, np, p, scratch); + ecc_j_to_a (ecc, 0, np, p, scratch); test_ecc_mul_a (curve, n, np); |