Roger Dingledine
|
7459d067a5
now base16_encode() and base32_encode() can't ever fail
|
21 jaren geleden |
Roger Dingledine
|
156cfb00fa
oh, and it should compile too
|
21 jaren geleden |
Roger Dingledine
|
6e571c8c4c
make base16_encode() fail more obviously when it fails
|
21 jaren geleden |
Nick Mathewson
|
7d8de8cd10
More digest/nickname fixes
|
21 jaren geleden |
Nick Mathewson
|
541add90a1
Track routers by hash of identity key; use hex hash of identity key in place of nickname; accept (and use) hash of identity key in EXTEND cells.
|
21 jaren geleden |
Roger Dingledine
|
8ca162c472
put a comment reminding us that we do hashes in software only
|
21 jaren geleden |
Roger Dingledine
|
6dc576bab7
bugfix: our integrity-checking digest was checking only the most
|
21 jaren geleden |
Nick Mathewson
|
9c3fba5c3b
Not every RSA decrypt should warn on failure.
|
21 jaren geleden |
Roger Dingledine
|
3cdf2d67da
it's amazing what a bit of punctuation can do for appearances
|
21 jaren geleden |
Nick Mathewson
|
c0ea93337d
Doxygenate common.
|
21 jaren geleden |
Roger Dingledine
|
1558fb7650
some patches on the patches
|
21 jaren geleden |
Nick Mathewson
|
9a041591ac
Finish documenting the functions in common
|
21 jaren geleden |
Nick Mathewson
|
908ccb9dcd
Handle windows socket errors correctly; comment most of common.
|
21 jaren geleden |
Nick Mathewson
|
ddb15b8f67
Remove IVs from cipher code, since AES-ctr has none.
|
21 jaren geleden |
Roger Dingledine
|
5d1510883e
use nick's _ARRAYSIZE abstraction
|
21 jaren geleden |
Nick Mathewson
|
7055f837ab
Make Tor build on win32 with VC6 without warnings.
|
21 jaren geleden |
Nick Mathewson
|
ac622d94dc
Workarounds for a couple of pieces of windows strangeness.
|
21 jaren geleden |
Roger Dingledine
|
4e0dd5bd33
some compilers don't like an array of length zero
|
21 jaren geleden |
Nick Mathewson
|
f6dbe5a0d4
Refactor crypto error handling to be more like TLS error handling:
|
21 jaren geleden |
Roger Dingledine
|
37192bd25e
use tor_assert and PUBLIC_KEY_OK
|
21 jaren geleden |
Nick Mathewson
|
70bbd0cafa
Add assert on crypto_pk_write_private_key,and macros to make sure we have real keys
|
21 jaren geleden |
Roger Dingledine
|
6a45028ccb
don't warn when private_decrypt_hybrid fails
|
21 jaren geleden |
Nick Mathewson
|
c44016e86e
Merge flagday into main branch.
|
21 jaren geleden |
Nick Mathewson
|
306adfc8bd
Fix two dumb leaks in crypto.c
|
21 jaren geleden |
Nick Mathewson
|
aa7cfd93e5
Fix base32 implementation; make base32 implementation follow standard; add more tests for base32
|
21 jaren geleden |
Nick Mathewson
|
f24519e4b9
Set correct address and port mappings on outgoing rendezvous connections
|
21 jaren geleden |
Nick Mathewson
|
2fc106d210
Force hybrid encryption on for key negotiation
|
21 jaren geleden |
Nick Mathewson
|
6290d027c9
Continue attack on magic numbers; use new crypto wrappers where possible
|
21 jaren geleden |
Nick Mathewson
|
12ede0a2c4
use the right variable when comparing hashes; maybe fix "Hash of session" bug
|
21 jaren geleden |
Nick Mathewson
|
84b9e90d5f
i2d_RSAPublicKey advances the pointer it receives past the ASN1-encoded string.
|
21 jaren geleden |