tor/src/trunnel
Isis Lovecruft fe3aca1491
crypto: Refactor (P)RNG functionality into new crypto_rand module.
* ADD new /src/common/crypto_rand.[ch] module.
 * ADD new /src/common/crypto_util.[ch] module (contains the memwipe()
   function, since all crypto_* modules need this).
 * FIXES part of #24658: https://bugs.torproject.org/24658
2018-04-06 21:45:28 +00:00
..
hs Fix spelling mistakes corresponding to ticket #23650 2018-02-07 10:41:57 -05:00
README Mention trunnel in CodingStandards; describe how in trunnel/README 2015-10-14 10:40:27 -04:00
channelpadding_negotiation.c Re-run trunnel. Cosmetic changes only. 2017-08-24 16:13:01 -04:00
channelpadding_negotiation.h Re-run trunnel. Cosmetic changes only. 2017-08-24 16:13:01 -04:00
channelpadding_negotiation.trunnel Netflow record collapsing defense. 2017-05-08 13:49:21 -04:00
ed25519_cert.c Re-run trunnel. Cosmetic changes only. 2017-08-24 16:13:01 -04:00
ed25519_cert.h Re-run trunnel. Cosmetic changes only. 2017-08-24 16:13:01 -04:00
ed25519_cert.trunnel Put comment in the trunnel file, so it wont go away. 2017-08-08 20:31:47 -04:00
include.am trunnel: Add prop224 RENDEZVOUS1 cell definition 2017-07-25 13:11:40 -04:00
link_handshake.c Re-run trunnel. Cosmetic changes only. 2017-08-24 16:13:01 -04:00
link_handshake.h Re-run trunnel. Cosmetic changes only. 2017-08-24 16:13:01 -04:00
link_handshake.trunnel Add trunnel-generated items for link handshake code. 2015-05-28 10:41:49 -04:00
pwbox.c Re-run trunnel. Cosmetic changes only. 2017-08-24 16:13:01 -04:00
pwbox.h Re-run trunnel. Cosmetic changes only. 2017-08-24 16:13:01 -04:00
pwbox.trunnel Use trunnel for crypto_pwbox encoding/decoding. 2014-09-25 11:58:14 -04:00
trunnel-local.h crypto: Refactor (P)RNG functionality into new crypto_rand module. 2018-04-06 21:45:28 +00:00

README

This directory contains code for use with, and code made by, the
automatic code generation tool "Trunnel".

Trunnel generates binary parsers and formatters for simple data
structures. It aims for human-readable, obviously-correct outputs over
maximum efficiency or flexibility.

The .trunnel files are the inputs here; the .c and .h files are the outputs.

To add a new structure:
   - Add a new .trunnel file or expand an existing one to describe the format
     of the structure.
   - Regenerate the .c and .h files.  To do this, you run
     "scripts/codegen/run_trunnel.sh".  You'll need trunnel installed.
   - Add the .trunnel, .c, and .h files to include.am

For the Trunnel source code, and more documentation about using Trunnel,
see https://gitweb.torproject.org/trunnel.git , especially
    https://gitweb.torproject.org/trunnel.git/tree/README
and https://gitweb.torproject.org/trunnel.git/tree/doc/trunnel.md