aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto.c
Commit message (Collapse)AuthorAge
...
* Remove code that has been #if-0ed for a long time.Nick Mathewson2005-06-15
| | | | svn:r4435
* flesh out the source file descriptions for doxygenRoger Dingledine2005-06-11
| | | | svn:r4404
* Change end-of-file NLNL convention. It turns out arma I and I agree.Nick Mathewson2005-06-09
| | | | svn:r4382
* Possible bugfix for 151: backport candidate.Nick Mathewson2005-06-06
| | | | svn:r4318
* Make Tor compile with no warnings with gcc4.0 on OSXNick Mathewson2005-05-07
| | | | svn:r4184
* update copyright notices.Nick Mathewson2005-04-01
| | | | svn:r3982
* Try to make crash-on-shutdown bug harder to trigger.Nick Mathewson2005-04-01
| | | | svn:r3939
* Fix a few more instances of memory not freed on exit (found by weasel).Nick Mathewson2005-03-23
| | | | svn:r3830
* Tell openssl how to use locks and how to find thread ids -- this may prevent ↵Nick Mathewson2005-02-13
| | | | | | race conditions surrounding the error queue. svn:r3622
* Apply windows patch from Dmitri BelyNick Mathewson2005-02-12
| | | | svn:r3617
* Bugfix: we've been using openssl's BIO_get_mem_data incorrectly.Roger Dingledine2005-01-03
| | | | | | | | We assumed the pem-encoded data written by PEM_write_bio_RSAPrivateKey is nul-terminated, and at least sometimes, it's not. svn:r3263
* Note that length checking on base64_decode is kinda conservativeNick Mathewson2004-12-13
| | | | svn:r3144
* Belt *or* suspenders will be sufficient when casting things to unsigned char.Nick Mathewson2004-12-08
| | | | svn:r3122
* Solaris CC freaks out if isspace and friends get anything other than an int. ↵Nick Mathewson2004-12-08
| | | | | | We learned that, so we casted. But it is also a bad idea to cast a signed char to an int and expect things to work on win32. Now we cast to unsigned char, then to int, then pass to isspace. Ug svn:r3120
* Be more proactive about noticing underflows: size_t values greater than ↵Nick Mathewson2004-12-02
| | | | | | 0x800...00 are likely to be trouble. svn:r3064
* Spell-check strings and commentsNick Mathewson2004-12-01
| | | | svn:r3052
* Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson2004-11-29
| | | | | | every file. svn:r3019
* Normalize space: add one between every control keyword and control clause.Nick Mathewson2004-11-28
| | | | svn:r3003
* remove emacs droppings, since nick says he doesn't need them anymoreRoger Dingledine2004-11-26
| | | | svn:r2989
* Normalize whitespace; add a "tell me about all the unnormalized whitespace" ↵Nick Mathewson2004-11-09
| | | | | | target; fix a braino in dirserv.c svn:r2758
* Implement two flavors of authentication for control connections: one for ↵Nick Mathewson2004-11-03
| | | | | | trusted FS, one for untrusted FS. svn:r2664
* Use a stricter set of warnings; make them all pass.Nick Mathewson2004-11-02
| | | | svn:r2645
* canonicalize "src" and "dest" arg order in crypto.c (and others)Roger Dingledine2004-11-02
| | | | svn:r2644
* Split util into util (general utilities), container (smartlist and strmap), ↵Nick Mathewson2004-11-01
| | | | | | and compat (cross-platform compatability). svn:r2640
* Move all util functions that need openssl into crypto.c; make non-openssl ↵Nick Mathewson2004-10-30
| | | | | | functions that util needs into util. Now openssl can be separated. svn:r2628
* Tricksy compiler warnings! We hates them, hates them forever, my precious!Nick Mathewson2004-10-27
| | | | svn:r2615
* Pass with -Wstrict-prototypesNick Mathewson2004-10-27
| | | | svn:r2614
* Use strlcpy, not strncpyNick Mathewson2004-10-27
| | | | svn:r2603
* don't assert multiple things in the same tor_assert()Roger Dingledine2004-10-16
| | | | svn:r2545
* fix memory leak in router.c; start relying on NULL==(zero bytes)Nick Mathewson2004-10-16
| | | | svn:r2538
* a few more ints to size_tsRoger Dingledine2004-10-13
| | | | svn:r2461
* start the great migration from int to size_tRoger Dingledine2004-10-12
| | | | | | | and clean some deadweight from util.h svn:r2455
* fix signed/unsigned comparison, plus typoRoger Dingledine2004-10-12
| | | | svn:r2451
* Turn tor_strpartion into a swiss-army-knife function, so it can terminate or ↵Nick Mathewson2004-10-07
| | | | | | not-terminate appropriately. svn:r2429
* More complete docs for crypto.c; factor out string partitioning codeNick Mathewson2004-10-07
| | | | svn:r2427
* Make base-64-encoded DER work, including workaround for ugly openssl ↵Nick Mathewson2004-10-07
| | | | | | misfeature that makes base64 decoding fail when you strip out the newlines. svn:r2423
* Implement (temporarily) a base64-encoded-DER format for RSA keys; make it ↵Nick Mathewson2004-10-06
| | | | | | easier to generate fingerprints with no space svn:r2419
* Stop using openssl functions that rely on stdio; they can apparently lead to ↵Nick Mathewson2004-09-21
| | | | | | linker grief on win32. svn:r2354
* Some platforms have weird translations when you open files in "test" mode; ↵Nick Mathewson2004-09-08
| | | | | | make read/write_str_to_file aware. svn:r2336
* agree with nick: this legal-chars-in-filename stuff gets us nothingRoger Dingledine2004-08-24
| | | | svn:r2310
* As far as I can tell, CONFIG_LEGAL_FILENAME_CHARACTERS is both pointless and ↵Nick Mathewson2004-08-24
| | | | | | broken. #if it out, pending agreement from arma. This fixes a bug on win32 that rejected paths with a : in them. svn:r2309
* Fix base16_decode; trashing the stack is rude.Nick Mathewson2004-07-22
| | | | svn:r2110
* now base16_encode() and base32_encode() can't ever failRoger Dingledine2004-07-22
| | | | svn:r2103
* oh, and it should compile tooRoger Dingledine2004-07-21
| | | | svn:r2088
* make base16_encode() fail more obviously when it failsRoger Dingledine2004-07-21
| | | | svn:r2087
* More digest/nickname fixesNick Mathewson2004-07-02
| | | | svn:r2000
* Track routers by hash of identity key; use hex hash of identity key in place ↵Nick Mathewson2004-07-01
| | | | | | of nickname; accept (and use) hash of identity key in EXTEND cells. svn:r1994
* put a comment reminding us that we do hashes in software onlyRoger Dingledine2004-06-01
| | | | svn:r1925
* bugfix: our integrity-checking digest was checking only the mostRoger Dingledine2004-05-15
| | | | | | | | | recent cell, not the previous cells like we'd thought. this change is backward incompatible. svn:r1868
* Not every RSA decrypt should warn on failure.Nick Mathewson2004-05-12
| | | | svn:r1853