Fix #6070
authorFlorian Dold <florian.dold@gmail.com>
Wed, 6 May 2020 14:42:05 +0000 (20:12 +0530)
committerFlorian Dold <florian.dold@gmail.com>
Wed, 6 May 2020 14:51:12 +0000 (20:21 +0530)
commite273b24b93243c06ccb36f96a9d48fe49019bfc6
tree9ae2b883040aba4fa5b85c549d5506869edf35b8
parentd7028a584bf96fb5b84c765a885159cabb95dea2
Fix #6070

Use same endianess for EdSA and ECDSA private keys.

The encoding of (R,S) of ECDSA signatures is still big-endian, to match
RFC 6967.  This is different from the (R,S) of EdDSA, which is
little-endian according to RFC 8032.
src/util/crypto_ecc.c
src/util/crypto_mpi.c