Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-06-05 | afferify COPYING and the contrib folders | psyc://loupsycedyglgamf.onion/~lynX | |
2018-06-05 | less heteronormative function names (SCNR) | psyc://loupsycedyglgamf.onion/~lynX | |
2018-06-06 | fix ftbfs | Schanzenbach, Martin | |
2018-06-06 | rps service: rename option in config | Julius Bünger | |
2018-06-06 | rps: split tests and profiler, proper shutdown | Julius Bünger | |
2018-06-06 | whitespace | Christian Grothoff | |
2018-06-06 | changes for AGPL handling | Christian Grothoff | |
2018-06-05 | style fix | Christian Grothoff | |
2018-06-05 | fix KX in Cadet for revocation-style sequencing | Christian Grothoff | |
2018-06-05 | resume curl download if we paused it before | Christian Grothoff | |
2018-06-05 | follow twister change e01669953d7a8e82a505fca2308e57e971d43c67: check return ↵ | Christian Grothoff | |
value on upload_cb registration with curl | |||
2018-06-05 | code cleanup, fix strlen | Christian Grothoff | |
2018-06-05 | update gitignore | Christian Grothoff | |
2018-06-05 | fix handling of chunked encoding by proxy, and handling of connection ↵ | Christian Grothoff | |
termination | |||
2018-06-05 | typo | Christian Grothoff | |
2018-06-05 | use real GNS record types in tests to avoid failures in new extra ↵ | Christian Grothoff | |
serialization/deserialization checking | |||
2018-06-04 | testcase cleanup | Christian Grothoff | |
2018-06-04 | fix a few disting issues | Christian Grothoff | |
2018-06-04 | script was removed | Christian Grothoff | |
2018-06-04 | fix typo in Makefile.am | Christian Grothoff | |
2018-06-04 | use DEBUG_KX for new core log messages | Christian Grothoff | |
2018-06-04 | merge benchmark changes | Christian Grothoff | |
2018-06-04 | add function for getopt uint16_t arguments | Christian Grothoff | |
2018-06-03 | more logging | Christian Grothoff | |
2018-06-03 | more crypto KX logging | Christian Grothoff | |
2018-06-03 | more core KX logging | Christian Grothoff | |
2018-06-03 | fix logic | Christian Grothoff | |
2018-06-03 | proper datacache expiration by proximity first | Christian Grothoff | |
2018-06-03 | more logging | Christian Grothoff | |
2018-05-31 | add more logging for core KX to improve diagnostics | Christian Grothoff | |
2018-05-31 | Niibe writes: | Christian Grothoff | |
Sorry, I was not reading the code of GNUnet well. I overlooked how the eddsa_d_to_a function was written and its intention. I read it again. Indeed, the eddsa_d_to_a function tries to handle the case where gcry_mpi_print returns rawmpilen < 32, putting "left pad" by DIGEST. The problem is: DIGEST is not cleared (although comment says so). I think that the stack had zero-byte for some reason on your 32-bit machine. Here is the correction. Clear DIGEST, as comment says. diff --git a/src/util/crypto_ecc.c b/src/util/crypto_ecc.c index 8d9091b23..280603234 100644 --- a/src/util/crypto_ecc.c +++ b/src/util/crypto_ecc.c @@ -1273,24 +1273,15 @@ eddsa_d_to_a (gcry_mpi_t d) b = 256 / 8; /* number of bytes in `d` */ + memset (hvec, 0, sizeof hvec); /* Note that we clear DIGEST so we can use it as input to left pad the key with zeroes for hashing. */ - memset (hvec, 0, sizeof hvec); + memset (digest, 0, sizeof digest); rawmpilen = sizeof (rawmpi); GNUNET_assert (0 == gcry_mpi_print (GCRYMPI_FMT_USG, rawmpi, rawmpilen, &rawmpilen, d)); - if (rawmpilen < 32) - { - memmove (rawmpi + 32 - rawmpilen, - rawmpi, - rawmpilen); - memset (rawmpi, - 0, - 32 - rawmpilen); - rawmpilen = 32; - } hvec[0].data = digest; hvec[0].off = 0; hvec[0].len = b > rawmpilen ? (b - rawmpilen) : 0; -- | |||
2018-05-31 | add -2 flag to gnunet-gns-benchmark | Christian Grothoff | |
2018-05-30 | add proximity considerations to datacache | Christian Grothoff | |
2018-05-30 | disable xu transport, header missing | Christian Grothoff | |
2018-05-30 | reduce loop counters to more practical levels | Christian Grothoff | |
2018-05-30 | style fix | Christian Grothoff | |
2018-05-30 | Merge branch 'master' of ssh://gnunet.org/gnunet | Christian Grothoff | |
2018-05-28 | adding xu transport | Christian Grothoff | |
2018-05-28 | add patch from Niibe Yutaka for | Christian Grothoff | |
#5328 | |||
2018-05-28 | skip validation logic | Christian Grothoff | |
2018-05-28 | skip validation logic | Christian Grothoff | |
2018-05-28 | track hello passing | Christian Grothoff | |
2018-05-27 | gitignore: Add pytest specific | Nils Gillmann | |
Signed-off-by: Nils Gillmann <ng0@n0.is> | |||
2018-05-27 | add TODO notes in doc/documentation | Nils Gillmann | |
Signed-off-by: Nils Gillmann <ng0@n0.is> | |||
2018-05-26 | Merge branch 'h2020' of git+ssh://gnunet.org/gnunet into h2020 | Christian Grothoff | |
2018-05-26 | disable LAN/loopback for AC | Christian Grothoff | |
2018-05-26 | build xt | Christian Grothoff | |
2018-05-26 | exclude SOA-only zones | Christian Grothoff | |
2018-05-26 | xt transport for experiments: | Christian Grothoff | |
2018-05-25 | Add gnunetgnsrecord to Libs | Pascal Mainini | |