diff options
author | Niels Möller <nisse@lysator.liu.se> | 2014-08-25 21:17:39 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2014-08-25 21:17:39 +0200 |
commit | a45118aa18568472d7fb7a614b8ea5721f89d1ef (patch) | |
tree | 9ccc964fc2e82883d54dbeb894194124a393e3ac /ecc-192.c | |
parent | 3a64c5a7540c984bff15151eb3c83245f0110e8c (diff) | |
download | nettle-a45118aa18568472d7fb7a614b8ea5721f89d1ef.tar.gz |
Additional function pointers in struct ecc_curve.
To support curve25519 point operations.
Diffstat (limited to 'ecc-192.c')
-rw-r--r-- | ecc-192.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -39,6 +39,9 @@ #include <assert.h> +/* FIXME: Remove ecc.h include, once prototypes of more internal + functions are moved to ecc-internal.h */ +#include "ecc.h" #include "ecc-internal.h" #define USE_REDC 0 @@ -118,11 +121,19 @@ const struct ecc_curve nettle_secp_192r1 = ECC_PIPPENGER_K, ECC_PIPPENGER_C, + ECC_MUL_A_ITCH (ECC_LIMB_SIZE), + ECC_MUL_G_ITCH (ECC_LIMB_SIZE), + ECC_J_TO_A_ITCH (ECC_LIMB_SIZE), + ecc_192_modp, ecc_generic_redc, ecc_192_modp, ecc_generic_modq, + ecc_mul_a, + ecc_mul_g, + ecc_j_to_a, + ecc_p, ecc_b, ecc_q, |