ecc: Allow the use of an uncompressed public key.
authorWerner Koch <wk@gnupg.org>
Sat, 7 Sep 2013 08:06:46 +0000 (10:06 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 24 Sep 2013 12:42:11 +0000 (14:42 +0200)
commitdf013c9820709421ef9550158ac5df0060d73379
tree4e6da0f0bd65a175a9f095460dde6a2147ade543
parentd5f91466695c5736f441c9bf1998436184a4bf61
ecc: Allow the use of an uncompressed public key.

* cipher/ecc.c (eddsa_encodepoint): Factor most code out to ...
(eddsa_encode_x_y): new fucntion.
(eddsa_decodepoint): Allow use of an uncompressed public key.
* tests/t-ed25519.c (N_TESTS): Adjust.
* tests/t-ed25519.inp: Add test 1025.
cipher/ecc.c
tests/t-ed25519.c
tests/t-ed25519.inp