I'm looking at implementing elliptic curve point compression a la SEC1
(admittedly, mostly to reduce the number of "feature not supported" code
paths in a library, but it seems like a somewhat useful ability).
Nettle/Hogweed already implements it internally for curve25519, but I want
to implement it for the "secp" curves as well.
Point compression is easy enough, but point decompression requires some
curve math, potentially dependent on the specific curve, and some of it is
redundant …
[View More]with what's already done in ecc_point_set(). So I was thinking
about moving this functionality into Hogweed as a function along the lines
of ecc_point_set_compressed(), which would take, instead of a y-coordinate,
an int containing the sign/parity of the y-coordinate.
So my question for the list and for the maintainers is, is this a
reasonable API to add to Hogweed? Is there interest in including it in
Hogweed if I were to take the time to turn it into a tidy patch?
[View Less]
Hi Niels,
since a while (max a few weeks), I see sporadic failures when cloning
nettle.
E.g. when building nettle on the OSS-Fuzz platform:
Step #1: [0m[91mfatal: unable to access
'https://git.lysator.liu.se/nettle/nettle.git/': Couldn't connect to server
Step #1: The command '/bin/sh -c git clone --depth=1
https://git.lysator.liu.se/nettle/nettle.git' returned a non-zero code: 128
Is there an access limit for IP address or something like that ?
And if yes, do you recommend to set up a …
[View More]mirror ?
Regards, Tim
[View Less]
Hello colleagues,
I have been working on support for two particularly strange GOST
curves, which are defined in Weierstrass form, but there exists a
birationally equivalent Untwisted Edwards form (so all sign/verify
calculations should be done in Edwards form).
Major issues came from the fact that I have tried defining generator
point in Edwards form (which is more logical).
During this rework I thought about switching ecc_point from bearing
just x and y coordinates to have per-curve defined …
[View More]coordinates (like
projectile or inverted).
WDYT?
--
With best wishes
Dmitry
[View Less]