Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-06-09 | remove crypto_bug.c | Christian Grothoff | |
2018-06-07 | paragraph for gnunet devs that don't know how to use the web | psyc://loupsycedyglgamf.onion/~lynX | |
2018-06-07 | config: file name expansion in all -f cases | Julius Bünger | |
2018-06-07 | glitch in the license text detected by hyazinthe, thank you! | psyc://loupsycedyglgamf.onion/~lynX | |
2018-06-06 | second batch complete. WE ARE AFFERO AGPL NOW! | psyc://loupsycedyglgamf.onion/~lynX | |
2018-06-05 | first batch of license fixes (boring) | psyc://loupsycedyglgamf.onion/~lynX | |
2018-06-06 | whitespace | Christian Grothoff | |
2018-06-06 | changes for AGPL handling | Christian Grothoff | |
2018-06-05 | update gitignore | Christian Grothoff | |
2018-06-05 | typo | Christian Grothoff | |
2018-06-04 | merge benchmark changes | Christian Grothoff | |
2018-06-04 | add function for getopt uint16_t arguments | 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-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 | add patch from Niibe Yutaka for | Christian Grothoff | |
#5328 | |||
2018-05-23 | more flakes. | Nils Gillmann | |
Signed-off-by: Nils Gillmann <ng0@n0.is> | |||
2018-05-20 | do not crash on multiple CNAMEs | Christian Grothoff | |
2018-05-20 | fix off-by-one error in cadet connection construction, also enforce better ↵ | Christian Grothoff | |
timeouts for retransmissions of handshake | |||
2018-05-19 | disable crypto bug workaround | Christian Grothoff | |
2018-05-17 | bump loop length | Christian Grothoff | |
2018-05-17 | work-around for crypto bug (to be documented more) | Christian Grothoff | |
2018-05-17 | deduplicate code in crypto_ecc | Christian Grothoff | |
2018-05-17 | extend test to show crypto issue | Christian Grothoff | |
2018-05-16 | log key material hashes | Christian Grothoff | |
2018-05-13 | get rid of plain memcpy calls | Christian Grothoff | |
2018-05-10 | more verbose logging | Christian Grothoff | |
2018-05-09 | implement new functions in libgnunetsq, clean up sqlite namestore plugin, ↵ | Christian Grothoff | |
implement flow control in namestore API and tests | |||
2018-05-08 | expand test_mq testcase | Christian Grothoff | |
2018-05-06 | Switch to $GNUNET_TMP in all configuration files. | Nils Gillmann | |
Signed-off-by: Nils Gillmann <ng0@n0.is> | |||
2018-05-05 | define GNUNET_TMP | Christian Grothoff | |
2018-05-02 | misc improvements to statistics and large-scale behavior of ↵ | Christian Grothoff | |
zoneimport/zonemaster | |||
2018-04-30 | eliminate DHT PUT OK message by using MQ feature of calling continuation ↵ | Christian Grothoff | |
when transmission is complete | |||
2018-04-30 | enable more parallelism with DHT queue, but limit to 1000 entries, then kill ↵ | Christian Grothoff | |
hard | |||
2018-04-24 | clarify issue | Christian Grothoff | |
2018-04-24 | do not crash if service violates IPC protocol | Christian Grothoff | |
2018-04-10 | more work on gnunet-zoneimport, some bugfix in flat namestore, misc. style fixes | Christian Grothoff | |
2018-03-31 | make some functions static, ensure shutdown tasks could be run repeatedly if ↵ | Christian Grothoff | |
1st shutdown did not finish the process | |||
2018-03-08 | disable debug instrumentation again | Christian Grothoff | |
2018-03-08 | better error reporting from scheduler | Christian Grothoff | |
2018-03-03 | handle case where resolver operation is cancelled during success callback | Christian Grothoff | |
2018-03-03 | fix logging | Christian Grothoff | |
2018-03-03 | fix newline, reduce verbosity | Christian Grothoff | |
2018-03-02 | better py3 support | Christian Grothoff | |
2018-02-01 | improve documentation | lurchi | |
2018-02-01 | scheduler API change to allow use with js event loop | lurchi | |
- GNUNET_SCHEDUELR_run_with_driver has been replaced with GNUNET_SCHEDULER_driver_init and GNUNET_SCHEDUELR_driver_done - GNUNET_SCHEDULER_run_from_driver has been renamed to GNUNET_SCHEDULER_do_work (as it's no longer being called from a driver callback) - documentation has been updated | |||
2018-01-30 | log unsent queued messages only on DEBUG | Florian Dold | |
2018-01-27 | really make GNUNET_SCHEDULER_run_from_driver more graceful (must have been late) | lurchi | |
2018-01-24 | make GNUNET_SCHEDULER_run_from_driver more graceful | lurchi | |
GNUNET_SCHEDULER_run_from_driver may now be called without any tasks being ready if the timeout has not been reached yet. A warning is printed because it may be a programming error in the driver (see comments) |