aboutsummaryrefslogtreecommitdiff
path: root/src/util
Commit message (Collapse)AuthorAge
* replace Christian's FIXME with an explanationFlorian Dold2020-05-26
|
* add additional test condition for GNS cryptoFlorian Dold2020-05-26
|
* fix bit check in hashMartin Schanzenbach2020-05-25
|
* Improved BIO APIAlessio Vanni2020-05-19
| | | | | | | | | | | | | | | | | | | | BIO now supports reading from and writing to in-memory buffers. For reading, an allocated buffer (array) and a size is passed as arguments to the function opening the handle. For writing, a GNUNET_Buffer is created and used internally. The buffer contents can be extracted using the relevant function. There is a new API in addition to the existing read/write: this new API is more "declarative" in nature and is meant to mimic APIs like GNUNET_SQ. The read/write operations are defined in an array of specs which are then "commited" in a single (non-atomic) operation, rather than explicitly executing multiple function calls and checking their return value. Also there are small changes to GNUNET_Buffer to account for BIO's new features. Signed-off-by: Christian Grothoff <christian@grothoff.org>
* fix ftbfsChristian Grothoff2020-05-19
|
* Fix #6070Florian Dold2020-05-06
| | | | | | | | 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.
* move from tweetnacl (+custom hacks) -> only sodiumFlorian Dold2020-05-06
|
* stylefixChristian Grothoff2020-04-30
|
* check for integer overflow in buffer lib (fixes #6217)Florian Dold2020-04-24
|
* Merge branch 'schanzen/argon_pow'Schanzenbach, Martin2020-04-22
|\
| * purge scrypt; add argon2Martin Schanzenbach2020-04-21
| |
| * simplify pow even more; add timestamp to revocation powSchanzenbach, Martin2020-04-18
| |
| * revertSchanzenbach, Martin2020-04-17
| |
| * mergeSchanzenbach, Martin2020-04-17
| |\
| | * add argon2 for LSD0001Schanzenbach, Martin2020-04-17
| | |
| * | update paramsSchanzenbach, Martin2020-04-17
| | |
| * | add argon2 for LSD0001Schanzenbach, Martin2020-04-17
| |/
* | defining GNUNET_array_concatenate() for #6190Christian Grothoff2020-04-21
| |
* | use nzChristian Grothoff2020-04-21
| |
* | make GNUNET_freez default, have GNUNET_free_nz for cases where that does not ↵Christian Grothoff2020-04-21
|/ | | | work
* add integer overflow guards and avoid (unlimited) stack allocationChristian Grothoff2020-04-15
|
* take care of odd memset() callsChristian Grothoff2020-04-15
|
* do create directory if it doesn't existChristian Grothoff2020-04-11
|
* fixing #6149Christian Grothoff2020-04-11
|
* indentationChristian Grothoff2020-04-10
|
* fix sign api for to address #6164Christian Grothoff2020-04-08
|
* improve comments (#6164)Christian Grothoff2020-04-07
|
* constChristian Grothoff2020-04-07
|
* fix #6157Christian Grothoff2020-04-03
|
* fix #6155Christian Grothoff2020-04-03
|
* fix #6158Christian Grothoff2020-04-03
|
* fix warningsChristian Grothoff2020-04-03
|
* bad sizeofChristian Grothoff2020-04-03
|
* fix zero testChristian Grothoff2020-04-03
|
* fix #6159 and related issuesChristian Grothoff2020-04-03
|
* adding a GNUNET_memcmp_priv for constant-time comparing of data; fixes #6152 ↵Christian Grothoff2020-04-03
| | | | (modulo actually finding specific places where this SHOULD be used instead of GNUNET_memcmp)
* fix #6153Christian Grothoff2020-04-03
|
* fix #6154Christian Grothoff2020-04-03
|
* fix #6146Christian Grothoff2020-04-02
|
* ftbfsChristian Grothoff2020-03-29
|
* allow passing of fancy time to timetravel optionChristian Grothoff2020-03-29
|
* use strtok_r in code that could plausibly be used from multi-threaded ↵Christian Grothoff2020-03-19
| | | | applications
* use void * instead of char * for RSA key material to make it more clear that ↵Christian Grothoff2020-03-17
| | | | these are not 0-terminated strings
* use void * instead of char * for RSA key material to make it more clear that ↵Christian Grothoff2020-03-17
| | | | these are not 0-terminated strings
* implement new simplified POW for LSD001Schanzenbach, Martin2020-03-15
|
* do not log as error, give better messageChristian Grothoff2020-03-13
|
* c89Christian Grothoff2020-03-10
|
* make static analysis happierChristian Grothoff2020-03-03
|
* remove 'illegal' (non-reentrant) log logic from signal handlerChristian Grothoff2020-03-03
|
* better task orderingChristian Grothoff2020-02-15
|