aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto.c
Commit message (Collapse)AuthorAge
...
* Make Tor build on win32 with VC6 without warnings.Nick Mathewson2004-04-28
| | | | svn:r1739
* Workarounds for a couple of pieces of windows strangeness.Nick Mathewson2004-04-28
| | | | svn:r1734
* some compilers don't like an array of length zeroRoger Dingledine2004-04-27
| | | | | | | | nick: should we remove support for IVs for now, since we don't use them and don't plan to use them? svn:r1732
* Refactor crypto error handling to be more like TLS error handling:Nick Mathewson2004-04-26
| | | | | | | | | | | | | crypto_perror is a no-no, since an operation can set more than one error. Also, fix a bug in the unix crypto_seed_rng: mixing stdio with /dev/urandom is a bad idea, since fopen can make all kinds of weird extraneous syscalls (mmap, fcntl, stat64, etc.) and since fread tends to buffer data in big chunks, thus depleting the entropy pool. svn:r1717
* use tor_assert and PUBLIC_KEY_OKRoger Dingledine2004-04-25
| | | | | | | but don't use tor_assert inside log.c, to avoid loops svn:r1696
* Add assert on crypto_pk_write_private_key,and macros to make sure we have ↵Nick Mathewson2004-04-25
| | | | | | real keys svn:r1694
* don't warn when private_decrypt_hybrid failsRoger Dingledine2004-04-25
| | | | svn:r1689
* Merge flagday into main branch.Nick Mathewson2004-04-24
| | | | svn:r1683
* Fix two dumb leaks in crypto.cNick Mathewson2004-04-12
| | | | svn:r1592
* Fix base32 implementation; make base32 implementation follow standard; add ↵Nick Mathewson2004-04-08
| | | | | | more tests for base32 svn:r1574
* Set correct address and port mappings on outgoing rendezvous connectionsNick Mathewson2004-04-06
| | | | svn:r1513
* Force hybrid encryption on for key negotiationNick Mathewson2004-04-06
| | | | svn:r1509
* Continue attack on magic numbers; use new crypto wrappers where possibleNick Mathewson2004-04-06
| | | | svn:r1504
* use the right variable when comparing hashes; maybe fix "Hash of session" bugNick Mathewson2004-04-05
| | | | svn:r1481
* i2d_RSAPublicKey advances the pointer it receives past the ASN1-encoded string.Nick Mathewson2004-04-05
| | | | svn:r1478
* Make "common" no longer depend on or.hNick Mathewson2004-04-03
| | | | svn:r1466
* Build without warnings against openssl 0.9.6Nick Mathewson2004-04-03
| | | | svn:r1459
* Refactor the heck out of crypto interface: admit that we will stick with one ↵Nick Mathewson2004-04-03
| | | | | | ciphersuite at a time, make const things const, and stop putting openssl in the headers. svn:r1458
* refactor; start adding debugging logs to midpoint rend stuffNick Mathewson2004-04-02
| | | | svn:r1445
* Add new functions to wrap digest and sign/checksig.Nick Mathewson2004-04-01
| | | | svn:r1436
* Separate "generate-DH-key" from "get-DH-key" without breaking old interfaceNick Mathewson2004-04-01
| | | | svn:r1431
* Add helpful hybrid encryption functionsNick Mathewson2004-04-01
| | | | svn:r1423
* make changes that ben laurie suggestedRoger Dingledine2004-03-31
| | | | | | | (ben, was this what you had in mind?) svn:r1415
* Parse and generate service descriptorsNick Mathewson2004-03-31
| | | | svn:r1403
* Resolve type-punning warningsNick Mathewson2004-03-30
| | | | svn:r1399
* Jump through a hoop, suppress a warningNick Mathewson2004-03-30
| | | | svn:r1398
* Add more key manipulation functions, and base32 functions, to cryptoNick Mathewson2004-03-30
| | | | svn:r1395
* isspace and friends take an int. solaris cares.Roger Dingledine2004-03-19
| | | | svn:r1303
* more pesky tabsRoger Dingledine2004-03-12
| | | | svn:r1265
* Make OP work on windows! (Also misc logging tweaks)Nick Mathewson2004-03-11
| | | | svn:r1258
* Get entropy in windows.Nick Mathewson2004-03-11
| | | | svn:r1257
* clarifying comment for crypto_pk_get_fingerprintRoger Dingledine2004-03-08
| | | | svn:r1243
* add crypto_cipher_rewind to reverse crypto_cipher_advanceRoger Dingledine2003-12-23
| | | | svn:r957
* document an openssl gotchaRoger Dingledine2003-12-17
| | | | svn:r947
* change crypto_digest_new_env to crypto_new_digest_envRoger Dingledine2003-12-16
| | | | | | | | | (and same with _free_) to match our conventions i think our conventions may be getting too ad hoc svn:r940
* rename digest_copy to digest_dup, make it return, make gcc happierRoger Dingledine2003-12-16
| | | | svn:r939
* Add more fine-grained SHA1 functionality.Nick Mathewson2003-12-16
| | | | svn:r937
* add a 'smartlist' building block that picks random elements from a listRoger Dingledine2003-12-13
| | | | svn:r897
* Make router/directory parsing nondestructive and more const-friendlyNick Mathewson2003-12-08
| | | | svn:r890
* assert that nobody asks for a random number between 0 and -1Roger Dingledine2003-12-03
| | | | svn:r875
* Remove minor biasing problem from crypto_pseudo_rand_intNick Mathewson2003-11-12
| | | | svn:r799
* Make crypto_pseudo_rand* never fail.Nick Mathewson2003-11-12
| | | | svn:r797
* change WARNING to WARNRoger Dingledine2003-10-10
| | | | svn:r570
* Update LICENSE and copyright dates.Nick Mathewson2003-10-08
| | | | svn:r560
* finish enforcing the log conventionRoger Dingledine2003-09-26
| | | | svn:r494
* Add code to parse fingerprint files and compare routers against fingerprint ↵Nick Mathewson2003-09-26
| | | | | | files. svn:r490
* Bugfixes in crypto_pk_write_private_key_to_filenameNick Mathewson2003-09-26
| | | | svn:r489
* Refactor common file code into util.c; add published to descriptorsNick Mathewson2003-09-26
| | | | svn:r487
* Refactor buffers; implement descriptors.Nick Mathewson2003-09-25
| | | | | | | | | | | | | | | | | 'buf_t' is now an opaque type defined in buffers.c . Router descriptors now include all keys; routers generate keys as needed on startup (in a newly defined "data directory"), and generate their own descriptors. Descriptors are now self-signed. Implementation is not complete: descriptors are never published; and upon receiving a descriptor, the directory doesn't do anything with it. At least "routers.or" and orkeygen are now obsolete, BTW. svn:r483
* Cipher lists need to be colon separated. Also make initialization more ↵Nick Mathewson2003-09-15
| | | | | | bulletproof svn:r459