secp256 calculation bug (already fixed)

Hanno Böck hanno at hboeck.de
Sat Dec 12 21:48:58 CET 2015


Hi,

I had reported this privately to Niels Möller, but I'm re-sending it
here so it's publicly available and archived. (Niels didn't think it's
neccesary to keep this private.)

The attached example will show a bug in the nistp256 point
multiplication of nettle. It compiles a certain curve point with 1
which should not change the coordinates, however it does.

Was fixed here:
https://git.lysator.liu.se/nettle/nettle/commit/c71d2c9d20eeebb985e3872e4550137209e3ce4d


-- 
Hanno Böck
http://hboeck.de/

mail/jabber: hanno at hboeck.de
GPG: BBB51E42
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nettle-min.c
Type: text/x-c++src
Size: 1171 bytes
Desc: not available
URL: <http://lists.lysator.liu.se/pipermail/nettle-bugs/attachments/20151212/7efc91f7/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.lysator.liu.se/pipermail/nettle-bugs/attachments/20151212/7efc91f7/attachment.sig>


More information about the nettle-bugs mailing list