summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* tor-netdoc: add a peek() method to util::Pausable.Nick Mathewson2020-05-161-0/+19
|
* Implement microdescriptor parsing.Nick Mathewson2020-05-157-1/+200
| | | | | Additionally, move and refactor related types to reduce friction for microdescriptor parsing implementation.
* tor-netdoc: Move RelayFamily into its own module.Nick Mathewson2020-05-153-22/+30
|
* tor-proto: use caret_int!() for cell and relay commands.Nick Mathewson2020-05-154-175/+157
|
* tor_cert: use caret_int!() to make real types for cert elementsNick Mathewson2020-05-155-68/+75
|
* Add a new caret_int!() macro for use with integer-wrapping typesNick Mathewson2020-05-152-119/+202
| | | | | | Unlike caret_enum!, these types are for use with things like cell commands or certificate types, where the entire space of integer values is possible, and only some are recognized.
* tor-netdoc: extract fingerprint logic from routerdesc.rsNick Mathewson2020-05-152-20/+57
|
* netdoc: Improve parsing implementation for RelayFamily.Nick Mathewson2020-05-151-5/+5
|
* netdoc: Relax error types that can be used when parsing.Nick Mathewson2020-05-152-7/+34
|
* netdoc: teach MaybeItem about parse_args_as_str().Nick Mathewson2020-05-152-13/+13
| | | | This simplifies a couple of places in routerdesc parsing.
* tor-netdoc: Extract family parsing into its own function.Nick Mathewson2020-05-152-20/+25
|
* Extract RelayPlatform parsing.Nick Mathewson2020-05-151-13/+17
|
* netdoc: get positions right in version parsing.Nick Mathewson2020-05-151-6/+6
|
* netdoc: use improved API for parsing ed25519 certificates.Nick Mathewson2020-05-153-34/+80
|
* netdoc: use new router object parsing API for RSA public keys.Nick Mathewson2020-05-151-28/+12
|
* Netdoc: better parsing for objects.Nick Mathewson2020-05-152-0/+63
| | | | | If I'm right this will let us simplify our code for parsing things from directory objects by a lot.
* Remove 'idx' field from BadArgument.Nick Mathewson2020-05-154-13/+11
| | | | | Having byte-level positions means we don't need to complain about particular arguments.
* netdoc: remove ArgError.Nick Mathewson2020-05-152-44/+23
|
* netdoc: Make args_as_vec() non-public.Nick Mathewson2020-05-131-1/+1
| | | | It returns a Ref, and that's kinda implementation-dependent.
* Improve reported positions of parsing errors.Nick Mathewson2020-05-132-5/+39
|
* netdoc: remove the Item::off field as redundantNick Mathewson2020-05-133-11/+73
| | | | | Now that we are okay with using slice offset pointer math, we can remove the 'off' field from Item entirely.
* netdoc: rename Position to Pos.Nick Mathewson2020-05-134-55/+55
| | | | We use this type a lot, so let's give it a short name.
* netdoc: use a more flexible error-position type based on raw pointersNick Mathewson2020-05-131-1/+32
| | | | | Astonishingly, this is safe, though I wish that it were impossible to use mismatched strings.
* netdoc: Add an "at()" method to replace an error's location.Nick Mathewson2020-05-131-0/+9
|
* routerdesc: enforce position of identity-ed25519.Nick Mathewson2020-05-122-11/+19
|
* tor-proto: Simplify ct::lookup API.Nick Mathewson2020-05-102-10/+7
|
* One more disclaimer in the READMENick Mathewson2020-05-091-0/+8
|
* improve the README a littleNick Mathewson2020-05-091-3/+27
|
* Document most of tor-protoNick Mathewson2020-05-0911-12/+239
| | | | (except for the worst parts that need refactoring the most)
* tor-proto: Fix a logic error in KDF-TOR implementation.Nick Mathewson2020-05-091-2/+2
|
* Note a type that should get moved some dayNick Mathewson2020-05-091-0/+2
|
* tor-netdoc: require documentation, and fill in final missing docsNick Mathewson2020-05-094-33/+42
|
* Netdoc: allow doc comments and visibility modifier in decl_keyword!Nick Mathewson2020-05-092-4/+6
|
* netdoc: document routerdoc.rsNick Mathewson2020-05-091-34/+112
|
* Netdoc: remove dead code or annotate it as allowed.Nick Mathewson2020-05-093-19/+24
|
* netdoc: Document rules.rs, and refactor slightly.Nick Mathewson2020-05-093-18/+94
|
* netdoc: Improved error type for Section::GetRequired.Nick Mathewson2020-05-091-2/+5
|
* Make the members of TokenFmt private, and simplify the API in the process.Nick Mathewson2020-05-092-44/+44
|
* Move Item verification to be a method of TokenFmt.Nick Mathewson2020-05-092-37/+44
|
* Move MaybeItem into tokenize.rsNick Mathewson2020-05-092-39/+41
|
* Document parse.rs in tor-netdoc, and note things to move or fixNick Mathewson2020-05-091-4/+82
|
* Fix a logic error when finding position of unexpected keyword.Nick Mathewson2020-05-091-1/+1
| | | | This appears to be a bad copy-paste.
* Document more of 'netdoc', including errors.Nick Mathewson2020-05-094-30/+118
|
* netdoc and version docsNick Mathewson2020-05-088-43/+364
|
* clean up tor-cert documentation a little.Nick Mathewson2020-05-082-22/+62
|
* tor-bytes: add the missing documentationNick Mathewson2020-05-085-18/+224
|
* Use links for traits in llcrypto docsNick Mathewson2020-05-084-5/+9
|
* Upgrade to a modern version of "sha-1".Nick Mathewson2020-05-083-47/+7
| | | | | Apparently the "sha1" crate doesn't implement the RustCrypto API, but the "sha-1" crate does.
* make id field in RSAIdentity privateNick Mathewson2020-05-083-9/+8
|
* most missing docs for llcryptoNick Mathewson2020-05-086-22/+70
|