diff options
author | Niels Möller <nisse@lysator.liu.se> | 2014-08-02 21:28:08 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2014-08-02 21:28:08 +0200 |
commit | 98333dcd3a154ca5fffae044d594a338749ef96a (patch) | |
tree | cad273d73727810d3e5694ce5d004e6858e06b50 /ecc-mul-a-eh.c | |
parent | 7fa54ac583030a6a68b0c5bd12d1cdfddd0ee45c (diff) | |
download | nettle-98333dcd3a154ca5fffae044d594a338749ef96a.tar.gz |
Fixed window-based ecc_mul_a_eh.
Diffstat (limited to 'ecc-mul-a-eh.c')
-rw-r--r-- | ecc-mul-a-eh.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ecc-mul-a-eh.c b/ecc-mul-a-eh.c index ad017565..1e9f4fc7 100644 --- a/ecc-mul-a-eh.c +++ b/ecc-mul-a-eh.c @@ -91,8 +91,6 @@ ecc_mul_a_eh (const struct ecc_curve *ecc, } #else /* ECC_MUL_A_EH_WBITS > 1 */ -#error Not yet working - #define TABLE_SIZE (1U << ECC_MUL_A_EH_WBITS) #define TABLE_MASK (TABLE_SIZE - 1) @@ -111,7 +109,6 @@ table_init (const struct ecc_curve *ecc, TABLE(0)[ecc->size] = TABLE(0)[2*ecc->size] = 1; ecc_a_to_eh (ecc, TABLE(1), p, scratch); - mpn_copyi (TABLE(1), p, 3*ecc->size); for (j = 2; j < size; j += 2) { |