summaryrefslogtreecommitdiff
path: root/examples
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 /examples
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 'examples')
-rw-r--r--examples/ecc-benchmark.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/ecc-benchmark.c b/examples/ecc-benchmark.c
index 42035ca0..a529cf16 100644
--- a/examples/ecc-benchmark.c
+++ b/examples/ecc-benchmark.c
@@ -315,6 +315,7 @@ const struct ecc_curve * const curves[] = {
&_nettle_curve448,
&_nettle_secp_521r1,
&_nettle_gost_gc256b,
+ &_nettle_gost_gc512a,
};
#define numberof(x) (sizeof (x) / sizeof ((x)[0]))