summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2019-11-30 10:29:23 +0100
committerNiels Möller <nisse@lysator.liu.se>2019-11-30 10:31:16 +0100
commit389c787e790fe81036f2ff5303c7afe21ceb2afd (patch)
treed7a62be30918072d8680f0608d0d93802984aff4 /examples
parentcdbbe64a60ae509fc5a74ae70f31f7e9ca4e54a5 (diff)
downloadnettle-389c787e790fe81036f2ff5303c7afe21ceb2afd.tar.gz
Implement Curve448 primitives
This patch adds the necessary primitives for "curve448", defined in RFC 7748. Those primitives are namely: addition, doubling, scalar multiplication of the generator or an arbitrary point, inversion, and square root.
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 ea0be173..c149e24d 100644
--- a/examples/ecc-benchmark.c
+++ b/examples/ecc-benchmark.c
@@ -335,6 +335,7 @@ const struct ecc_curve * const curves[] = {
&_nettle_curve25519,
&_nettle_secp_256r1,
&_nettle_secp_384r1,
+ &_nettle_curve448,
&_nettle_secp_521r1,
};