aboutsummaryrefslogtreecommitdiff
path: root/gnu/gnunet/crypto
Commit message (Collapse)AuthorAge
* Update copyright notices.Maxime Devos2021-09-21
|
* crypto/struct: Define /ecc-signature-purpose.Maxime Devos2021-09-21
| | | | * gnu/gnunet/util/struct.scm (/ecc-signature-purpose): New variable.
* Implement self-documenting ‘network structures’Maxime Devos2021-09-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | In contrast to scheme-bytestructures and (gnu gnunet utils netstruct), this allows associating a synopsis, a documention string (docstring) and arbitrary properties with structures and fields. Code compilation should be faster now as well and the compiled '.go' should be smaller due to less excessive use of syntax-rules. TODO: update old modules * Makefile.am (modules): compile new modules gnu/gnunet/netstruct/procedural.scm and gnu/gnunet/netstruct/syntactic.scm. * README.org (Network Structures): document new modules. * gnu/gnunet/crypto/struct.scm: use new module. * gnu/gnunet/hashcode/struct.scm: likewise. * gnu/gnunet/nse/struct.scm: likewise. * gnu/gnunet/util/struct.scm: likewise. * gnu/gnunet/netstruct/procedural.scm: new module for defining and using network structures procedurally. * gnu/gnunet/netstruct/syntactic.scm: likewise, but syntactically and with some inlining.
* Define various common network structuresMaxime Devos2021-09-21
TODO: the struct.go files are rather large, a more instruction-efficient mechanism is in order. * gnu/gnunet/crypto/struct.scm: new module. * gnu/gnunet/hashcode/struct.scm: new module. * gnu/gnunet/util/struct.scm: new module.