From b9f98cb7360ddf563419ad236911347ba71a0961 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Sat, 23 Aug 2014 23:02:17 +0200 Subject: Reordered struct ecc_curve, moved function pointers before pointers to bignum constants. --- ecc-384.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'ecc-384.c') diff --git a/ecc-384.c b/ecc-384.c index e5ec87e5..dff0cd01 100644 --- a/ecc-384.c +++ b/ecc-384.c @@ -156,16 +156,18 @@ const struct ecc_curve nettle_secp_384r1 = ECC_REDC_SIZE, ECC_PIPPENGER_K, ECC_PIPPENGER_C, + + ecc_384_modp, + ECC_REDC_SIZE != 0 ? ecc_generic_redc : NULL, + ecc_384_modp, + ecc_generic_modq, + ecc_p, ecc_b, ecc_q, ecc_g, ecc_redc_g, NULL, - ecc_384_modp, - ECC_REDC_SIZE != 0 ? ecc_generic_redc : NULL, - ecc_384_modp, - ecc_generic_modq, ecc_Bmodp, ecc_Bmodp_shifted, ecc_pp1h, -- cgit v1.2.1