summaryrefslogtreecommitdiff
path: root/crates/tor-proto/src/crypto
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'virtual_hop' into 'main'Nick Mathewson2023-05-181-24/+93
|\
| * proto: Try to improve the documentation in crypto/cell.rsNick Mathewson2023-05-181-24/+86
| * tor-proto: Code to construct crypto layers for virtual hops.Nick Mathewson2023-05-181-0/+7
* | hs_ntor: several documentation cleanups.Nick Mathewson2023-05-171-6/+14
* | hs_ntor: make encrypt_and_mac take a typed public keyNick Mathewson2023-05-171-10/+6
* | hs_ntor: remove the last lingering AsRef<[u8]>Nick Mathewson2023-05-171-7/+7
* | hs_ntor: Add a test vector case extracted from C tor.Nick Mathewson2023-05-171-0/+104
* | hs_ntor: Calculate MAC on introduce1 message correctly.Nick Mathewson2023-05-171-3/+12
* | hs_ntor: Make internal no-rng variants of the handshake functions.Nick Mathewson2023-05-171-2/+25
* | hs_ntor: Move extra data outside of the "input" fields.Nick Mathewson2023-05-171-59/+33
* | hs_ntor: Use MAC implementation from tor-hscryptoNick Mathewson2023-05-171-35/+16
* | hs_ntor: Use correct PK types from tor_hscrypto.Nick Mathewson2023-05-171-20/+24
* | hs_ntor: Use Subcredential type from tor-hscryptoNick Mathewson2023-05-171-4/+3
|/
* Use non-deprecated *Secret::random_from_rng.Nick Mathewson2023-05-133-13/+13
* Rename onion-* cargo features to hs-* in tor-* cratesIan Jackson2023-02-282-2/+2
* tor-cell: Refactor relay cells to copy much lessNick Mathewson2023-02-151-18/+8
* Allow clippy::unchecked_duration_subtraction in testsNick Mathewson2023-01-275-0/+5
* tor-proto: Expose support for doing onion service handshakesNick Mathewson2023-01-172-17/+18
* tor-proto: Rename "hs" experimental feature to "onion-common"Nick Mathewson2023-01-171-1/+1
* test lint blocks: Add many many automaticallyIan Jackson2022-12-124-0/+33
* test lint blocks: Do some semi-manuallyIan Jackson2022-12-121-1/+9
* Fix a bunch of "needless borrow" warnings on nightlyNick Mathewson2022-11-181-2/+2
* fix clippy::needless_borrowtrinity-1686a2022-09-101-1/+1
* Merge branch 'zeroize' into 'main'Nick Mathewson2022-08-047-75/+90
|\
| * tor-proto: Use correct SecretBuf in handshakes.Nick Mathewson2022-08-014-17/+27
| * tor-proto: Replace SecretBytes with SecretBuf.Nick Mathewson2022-08-017-60/+65
* | Rename `.inc` and other included files to end in `.rs`eta2022-07-261-1/+1
|/
* tor-proto: Stop using write_infallible in handshake code.Nick Mathewson2022-07-113-138/+174
* Remove "write_and_consume_infallible".Nick Mathewson2022-07-111-7/+12
* Rename "write" methods on tor-bytes to "write_infallible".Nick Mathewson2022-07-113-112/+112
* Implement a higher-level API for the ntor v3 handshakeeta2022-07-081-23/+162
* Update `rsa` dependency (and use `x25519-dalek` prerelease)eta2022-07-061-6/+5
* tor-proto: split and elaborate tor_bytes::Error instancesNick Mathewson2022-06-233-9/+28
* tor-proto: clean up error names and messagesNick Mathewson2022-06-236-17/+17
* Use testing_rng() in tests throughout our crates.Nick Mathewson2022-06-025-7/+12
* Upgrade to AES 0.8Nick Mathewson2022-04-263-4/+4
* squash! Bump every crate's edition to 2021.Nick Mathewson2022-04-252-3/+0
* tor-proto: Rename BadHandshake to BadCircHandshakeNick Mathewson2022-02-234-6/+6
* Eliminate RequestedResourceAbsent kind.Nick Mathewson2022-02-224-17/+44
* Update tor-proto errors to latest API.Nick Mathewson2022-02-151-1/+1
* tor-proto: use InternalError for internal errors.Nick Mathewson2022-02-152-4/+12
* Remove many needless borrows and slicesIan Jackson2022-02-021-4/+4
* prefer 'unwrap_or_default' to manual constructorDaniel Eades2022-01-011-1/+1
* Merge remote-tracking branch 'origin/mr/180'Nick Mathewson2021-12-081-11/+10
|\
| * In CryptInit, return a Result in initialize()Neel Chauhan2021-12-081-11/+10
* | Upgrade to digest v0.10.0Nick Mathewson2021-12-072-4/+4
|/
* Remove some XXXs about zeroizing from tor-proto.Nick Mathewson2021-12-071-2/+0
* Resolve roughly half of the XXXXs.Nick Mathewson2021-12-064-8/+11
* add constructorsdagon2021-11-301-17/+53
* add semicolons if nothing returnedDaniel Eades2021-11-251-1/+1