Fix ECDSA/ECDH key exchange
authorFlorian Dold <florian.dold@gmail.com>
Mon, 6 Jan 2020 13:02:40 +0000 (14:02 +0100)
committerFlorian Dold <florian.dold@gmail.com>
Mon, 6 Jan 2020 13:02:40 +0000 (14:02 +0100)
commit1ad2fb331548adf635e9cff8786b468e54666371
tree1eeafe3a8aa5a32ea78ead24fe742110133e0805
parent2111817ee190b99561f067277c3b081da27e2afa
Fix ECDSA/ECDH key exchange

Libgcrypt interprets the private key as little endian, while tweetnacl
interprets it as big endian.  This caused the key exchange to fail.
src/util/.gitignore
src/util/crypto_ecc.c
src/util/tweetnacl-gnunet.c
src/util/tweetnacl-gnunet.h