summaryrefslogtreecommitdiff
path: root/ecc-internal.h
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2020-01-16 01:36:09 +0300
committerNiels Möller <nisse@lysator.liu.se>2020-01-16 18:59:06 +0100
commitcf4675dc7b7dcad802a47475af63ed30e07a54f6 (patch)
tree7af02756be36f1bb65c14ef89f1c989c8f8cdaff /ecc-internal.h
parent21638928596f4d0145ccb09ada6694b973cab882 (diff)
downloadnettle-cf4675dc7b7dcad802a47475af63ed30e07a54f6.tar.gz
Add support for GOST GC512A curve
Add support for GC512A curve ("TLS Supported Groups" registry, draft-smyshlyaev-tls12-gost-suites) also known as tc26-gost-3410-12-512-paramSetA (RFC 7836). Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'ecc-internal.h')
-rw-r--r--ecc-internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ecc-internal.h b/ecc-internal.h
index 53305bc0..cef13665 100644
--- a/ecc-internal.h
+++ b/ecc-internal.h
@@ -93,6 +93,7 @@ extern const struct ecc_curve _nettle_curve448;
/* GOST curves, visible with underscore prefix for now */
extern const struct ecc_curve _nettle_gost_gc256b;
+extern const struct ecc_curve _nettle_gost_gc512a;
#define ECC_MAX_SIZE ((521 + GMP_NUMB_BITS - 1) / GMP_NUMB_BITS)