summaryrefslogtreecommitdiff
path: root/ecc-internal.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2017-04-09 15:48:01 +0200
committerNiels Möller <nisse@lysator.liu.se>2017-04-09 15:48:01 +0200
commitb84dff15db04301e1858e0f80ca1c3bb874b88cc (patch)
treebab202e1b31e9e60ba52910abe191bb4ce3ef4c6 /ecc-internal.h
parent0143b03dc4b79b6ea6a22234bb4ac94b06ba60c7 (diff)
downloadnettle-b84dff15db04301e1858e0f80ca1c3bb874b88cc.tar.gz
Define accessor functions to get address of ecc curve structs.
Diffstat (limited to 'ecc-internal.h')
-rw-r--r--ecc-internal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ecc-internal.h b/ecc-internal.h
index ce1e34fb..94fc218b 100644
--- a/ecc-internal.h
+++ b/ecc-internal.h
@@ -73,6 +73,12 @@
#define sec_modinv _nettle_sec_modinv
#define curve25519_eh_to_x _nettle_curve25519_eh_to_x
+extern const struct ecc_curve _nettle_secp_192r1;
+extern const struct ecc_curve _nettle_secp_224r1;
+extern const struct ecc_curve _nettle_secp_256r1;
+extern const struct ecc_curve _nettle_secp_384r1;
+extern const struct ecc_curve _nettle_secp_521r1;
+
/* Keep this structure internal for now. It's misnamed (since it's
really implementing the equivalent twisted Edwards curve, with
different coordinates). And we're not quite ready to provide