Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
| * | add proximity considerations to datacache | Christian Grothoff | 2018-05-30 | |
| | | ||||
| * | disable xu transport, header missing | Christian Grothoff | 2018-05-30 | |
| | | ||||
| * | adding xu transport | Christian Grothoff | 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-28 | |
| | | ||||
| * | Merge branch 'h2020' of git+ssh://gnunet.org/gnunet into h2020 | Christian Grothoff | 2018-05-26 | |
| |\ | ||||
| | * | build xt | Christian Grothoff | 2018-05-26 | |
| | | | ||||
| * | | disable LAN/loopback for AC | Christian Grothoff | 2018-05-26 | |
| |/ | ||||
| * | xt transport for experiments: | Christian Grothoff | 2018-05-26 | |
| | | ||||
* | | Niibe writes: | Christian Grothoff | 2018-05-31 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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; -- | |||
* | | add -2 flag to gnunet-gns-benchmark | Christian Grothoff | 2018-05-31 | |
| | | ||||
* | | 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-30 | |
|\ \ | ||||
| * | | add patch from Niibe Yutaka for | Christian Grothoff | 2018-05-28 | |
| | | | | | | | | | | | | #5328 | |||
| * | | gitignore: Add pytest specific | Nils Gillmann | 2018-05-27 | |
| | | | | | | | | | | | | Signed-off-by: Nils Gillmann <ng0@n0.is> | |||
| * | | add TODO notes in doc/documentation | Nils Gillmann | 2018-05-27 | |
| | | | | | | | | | | | | Signed-off-by: Nils Gillmann <ng0@n0.is> | |||
| * | | exclude SOA-only zones | Christian Grothoff | 2018-05-26 | |
| |/ | ||||
| * | Add gnunetgnsrecord to Libs | Pascal Mainini | 2018-05-25 | |
| | | ||||
| * | Merge branch 'master' of gnunet.org:gnunet | Nils Gillmann | 2018-05-23 | |
| |\ | ||||
| | * | stop DNS lookup immediately instead of async to avoid use-after free if we ↵ | Christian Grothoff | 2018-05-23 | |
| | | | | | | | | | | | | get BOTH an IPv4 and IPv6 response | |||
| * | | c-tutorial: grammar fixes and general improvements | Nils Gillmann | 2018-05-23 | |
| |/ | | | | | | | Signed-off-by: Nils Gillmann <ng0@n0.is> | |||
| * | fix bug where we might fail the resolution of the same DHT heap node twice ↵ | Christian Grothoff | 2018-05-23 | |
| | | | | | | | | due to async cleanup | |||
| * | more flakes. | Nils Gillmann | 2018-05-23 | |
| | | | | | | | | Signed-off-by: Nils Gillmann <ng0@n0.is> | |||
| * | test_integration_boostrap_and_connect: flake8 | Nils Gillmann | 2018-05-23 | |
| | | | | | | | | Signed-off-by: Nils Gillmann <ng0@n0.is> | |||
| * | integration-tests: clique: flake8 | Nils Gillmann | 2018-05-23 | |
| | | | | | | | | Signed-off-by: Nils Gillmann <ng0@n0.is> | |||
| * | integration-tests: gnunet-testing: flake8 | Nils Gillmann | 2018-05-23 | |
| | | | | | | | | Signed-off-by: Nils Gillmann <ng0@n0.is> | |||
| * | integration-tests reconnect_nat: flake8 | Nils Gillmann | 2018-05-23 | |
| | | | | | | | | Signed-off-by: Nils Gillmann <ng0@n0.is> | |||
| * | Merge branch 'master' of gnunet.org:gnunet | Nils Gillmann | 2018-05-23 | |
| |\ | ||||
| | * | starting with another CADET testcase (unfinished) | Christian Grothoff | 2018-05-23 | |
| | | | ||||
| | * | no need to dup cfg | Christian Grothoff | 2018-05-22 | |
| | | | ||||
| | * | fix indentation | Christian Grothoff | 2018-05-22 | |
| | | | ||||
| | * | log on success, too | Christian Grothoff | 2018-05-22 | |
| | | | ||||
| * | | integration-tests disconnect_nat flake8 | Nils Gillmann | 2018-05-23 | |
| | | | | | | | | | | | | Signed-off-by: Nils Gillmann <ng0@n0.is> | |||
| * | | revocation: test_local_revocation: Adjust to flake8 | Nils Gillmann | 2018-05-23 | |
| |/ | | | | | | | Signed-off-by: Nils Gillmann <ng0@n0.is> | |||
| * | + | Nils Gillmann | 2018-05-22 | |
| | | | | | | | | Signed-off-by: Nils Gillmann <ng0@n0.is> | |||
| * | fix test locations | Nils Gillmann | 2018-05-22 | |
| | | | | | | | | Signed-off-by: Nils Gillmann <ng0@n0.is> | |||
| * | test_gnunet_statistics: flake8 | Nils Gillmann | 2018-05-22 | |
| | | | | | | | | Signed-off-by: Nils Gillmann <ng0@n0.is> | |||
| * | testbed/buildvars.py: flake8 | Nils Gillmann | 2018-05-22 | |
| | | | | | | | | Signed-off-by: Nils Gillmann <ng0@n0.is> | |||
| * | + | Nils Gillmann | 2018-05-22 | |
| | | | | | | | | Signed-off-by: Nils Gillmann <ng0@n0.is> | |||
| * | janitor: flake8ism | Nils Gillmann | 2018-05-22 | |
| | | | | | | | | Signed-off-by: Nils Gillmann <ng0@n0.is> | |||
| * | pyexpect: flake8ism | Nils Gillmann | 2018-05-22 | |
| | | | | | | | | Signed-off-by: Nils Gillmann <ng0@n0.is> | |||
| * | + | Nils Gillmann | 2018-05-22 | |
| | | | | | | | | Signed-off-by: Nils Gillmann <ng0@n0.is> | |||
| * | text_gnunet_fs_psd.py.in: Fix loading pxpect + flake8'ism | Nils Gillmann | 2018-05-22 | |
| | | | | | | | | Signed-off-by: Nils Gillmann <ng0@n0.is> | |||
| * | find_typedefs.py: Comment about variable 'li' | Nils Gillmann | 2018-05-22 | |
| | | | | | | | | Signed-off-by: Nils Gillmann <ng0@n0.is> | |||
| * | contrib/scripts/terminate.py.in: bump the year | Nils Gillmann | 2018-05-22 | |
| | | | | | | | | Signed-off-by: Nils Gillmann <ng0@n0.is> | |||
| * | contrib/scripts/terminate.py.in: indent fixes + comments | Nils Gillmann | 2018-05-22 | |
| | | | | | | | | Signed-off-by: Nils Gillmann <ng0@n0.is> | |||
| * | ++ | Nils Gillmann | 2018-05-22 | |
| | | | | | | | | Signed-off-by: Nils Gillmann <ng0@n0.is> | |||
| * | More flakes | Nils Gillmann | 2018-05-22 | |
| | | | | | | | | Signed-off-by: Nils Gillmann <ng0@n0.is> |