+2014-08-28 Niels Möller <nisse@lysator.liu.se>
+
+ * eccdata.c (output_curve): Don't output ecc_redc_g.
+ * ecc-internal.h (struct ecc_curve): Deleted unused field redc_g.
+ Updated all instances.
+
2014-08-27 Niels Möller <nisse@lysator.liu.se>
* ecc-modq.c (ecc_modq_inv): Use q_bit_size.
const mp_limb_t *b;
/* Group order. */
const mp_limb_t *q;
- /* Generator, x coordinate followed by y (affine coordinates). */
+ /* Generator, x coordinate followed by y (affine coordinates).
+ Currently used only by the test suite. */
const mp_limb_t *g;
- /* Generator with coordinates in Montgomery form. */
- const mp_limb_t *redc_g;
/* If non-NULL, the constant needed for transformation to the
equivalent Edwards curve. */
const mp_limb_t *edwards_root;
output_bignum ("ecc_d", ecc->d, limb_size, bits_per_limb);
output_bignum ("ecc_q", ecc->q, limb_size, bits_per_limb);
output_point ("ecc_g", ecc, &ecc->g, 0, limb_size, bits_per_limb);
- output_point ("ecc_redc_g", ecc, &ecc->g, 1, limb_size, bits_per_limb);
bits = output_modulo ("ecc_Bmodp", ecc->p, limb_size, bits_per_limb);
printf ("#define ECC_BMODP_SIZE %u\n",