Re: [PATCH 6/8] Implement curve448 primitives

2017-09-23 Thread Niels Möller
ni...@lysator.liu.se (Niels Möller) writes: > I'm considering rewriting the curve25519-case of eccdata, to also work > on the Edwards curve. I've spent most of the day doing this reorg of eccdata.c, together with a few smaller cleanups. Should make it easier to add curve448. Since it's going to

Re: [PATCH 6/8] Implement curve448 primitives

2017-09-23 Thread Niels Möller
Daiki Ueno writes: > The motivation behind this is that the formula converting the Edwards > curve coordinates to the Montgomery curve coordinates is simpler than > the other way around for curve448/edwards448. After a quick look at RFC7748, I see what you mean. I'm considering

[PATCH 6/8] Implement curve448 primitives

2017-08-05 Thread Daiki Ueno
From: Daiki Ueno This patch adds the necessary primitives for "curve448": namely, addition, doubling, scalar multiplication of the generator or an arbitrary point, inversion, and square root. Although the interface is similar to curve25519, the implementation is slightly