aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto.c
Commit message (Collapse)AuthorAge
* stick to nick's nul/null conventionRoger Dingledine2006-07-15
| | | | svn:r6763
* bandaid for bug 299. this is still a bug, since we don'tRoger Dingledine2006-06-05
| | | | | | | | initialize for hardware acceleration in certain configurations; but not critical until that is supported. svn:r6536
* Add a new warning to our "warn a lot" list: unused parameters. This means ↵Nick Mathewson2006-06-04
| | | | | | we have to explicitly "use" unuseds, but it can catch bugs. (It caught two coding mistakes so far.) svn:r6532
* Stop initializing the hardware accelerator engines simply becauseRoger Dingledine2006-05-24
| | | | | | | we overloaded the meaning of the argument to crypto_global_init(). svn:r6490
* Remove DER64 functions in trunk: they will never be used again unless the ↵Nick Mathewson2006-04-10
| | | | | | directory authorities switch back to 0.0.9tooearly. svn:r6376
* clean up the traces from tracking the 0.1.1.9-alpha stack-smashing bug.Roger Dingledine2006-03-26
| | | | svn:r6240
* More cleanups noticed by weasel; also, remove macros that nobody uses.Nick Mathewson2006-03-12
| | | | svn:r6143
* Start the process of converting warn to log_warn and so on.Roger Dingledine2006-02-13
| | | | | | | | | This is needed because Windows already has an err() that we can't clobber. And we need to be able to make the log functions a macro so we can print the function's name in the log entry. svn:r6000
* Happy new year!Roger Dingledine2006-02-09
| | | | svn:r5949
* Split PARANOIA_B into B1 and B2.Nick Mathewson2006-01-22
| | | | svn:r5849
* Split 0119_PARANOIA into 0119_PARANOIA_[ABC]. A is "this is suspicious, and ↵Nick Mathewson2006-01-17
| | | | | | we have not tried running without this yet". B is "this is suspicious, but the last time we tested, it was okay." C is "How could this possibly be the cause?" svn:r5840
* Add a (diabled by default) option in crypto.h to disable most of the ↵Nick Mathewson2006-01-10
| | | | | | interesting crypto-related changes made on 0.1.1.9. This will help hunt bug 234. svn:r5777
* Bite the bullet and limit all our source lines to 80 characters, the way IBM ↵Nick Mathewson2005-12-14
| | | | | | intended. svn:r5582
* Document CREATE_FAST better in the code. Move our key expansion algorithm ↵Nick Mathewson2005-12-08
| | | | | | into a separate function in crypto.c svn:r5530
* get rid of nick's crazy voodoo dh checking.Roger Dingledine2005-12-06
| | | | svn:r5518
* remove another unused functionRoger Dingledine2005-11-30
| | | | svn:r5477
* remove some functions that are not used; #if0 out some files that are not ↵Nick Mathewson2005-11-30
| | | | | | likely to be used. svn:r5471
* a smidgen more hint when we fail to seed the rngRoger Dingledine2005-11-21
| | | | svn:r5438
* Try to build with OpenSSL 0.9.6. Lets pay attention to see if anybody complains.Nick Mathewson2005-11-16
| | | | svn:r5398
* Oops. It looks like there *was* an easy way to make openssl do what we wanted.Nick Mathewson2005-11-14
| | | | svn:r5370
* correct nick's commentRoger Dingledine2005-11-11
| | | | svn:r5360
* Note that much of check_dh_key is voodoo; make x in DH be only 320 bits for ↵Nick Mathewson2005-11-11
| | | | | | DH speed improvement: this wants auditing. [We have blessing from Ian on this.] (Note that DH in SSL is not yet affected.) svn:r5359
* Call ERR_remove_state() on the main thread on shutdown,tooNick Mathewson2005-10-26
| | | | svn:r5322
* Per comments at the bottom of openssl/FAQ, call even more functions toNick Mathewson2005-10-25
| | | | | | | | clean up OpenSSL's toys when it's done playing. (Why isn't there an OpenSSL_free_everything() function?) svn:r5321
* Start dividing log messages into logging domains. No, LD_ is not the best ↵Nick Mathewson2005-10-18
| | | | | | of identifiers. src/or has not been converted yet. Domains dont do anything yet. svn:r5284
* Downgrade a few INFO level logs to DEBUG again. Also add two or three newPeter Palfrader2005-10-17
| | | | | | | | logs in cases where a calling function's log was downgraded and we wouldn't get any log message otherwise. svn:r5263
* Okay, try to use RAND_poll() from OpenSSL where available.Nick Mathewson2005-10-08
| | | | svn:r5229
* LOG_ERR is for when we know we're going to exit. use LOG_WARN in otherRoger Dingledine2005-10-07
| | | | | | | cases. svn:r5220
* disable RAND_poll() for the alpha of the day; at least 24 hours of testing ↵Nick Mathewson2005-10-07
| | | | | | is in order for something like that. svn:r5216
* Add half our entropy from RAND_poll in OpenSSL. These know how to use egd ↵Nick Mathewson2005-10-07
| | | | | | (if present) openbsd weirdness (if present), vms/os2 weirdness (if we ever port there), and more in the future. svn:r5215
* Once an hour (not just on startup) give OpenSSL some more entropy.Nick Mathewson2005-10-06
| | | | | | | | Add entropy in 512-bit chunks, not 160-bit chunks. (This latter change is voodoo.) svn:r5211
* Using RAND_pseudo_bytes instead of RAND_bytes is an accident waiting to ↵Nick Mathewson2005-10-06
| | | | | | happen, and does not really speed us up much when we do it. So stop doing it. svn:r5210
* Make doxygen marginally happierNick Mathewson2005-10-06
| | | | svn:r5208
* free EVP cipher information on shutdown to remove some spurious dmalloc ↵Nick Mathewson2005-10-03
| | | | | | complaints. svn:r5180
* Never call free() on tor_malloc()d memory. This is unlikely to be our ↵Nick Mathewson2005-09-30
| | | | | | current leak, but it may help dmalloc work. svn:r5168
* even better function start checks; give dmalloc a chance of working.Nick Mathewson2005-09-30
| | | | svn:r5162
* Reformat inconsistent function declarations.Nick Mathewson2005-09-30
| | | | svn:r5160
* Add a bunch more warnings to out warning suite; resolve them; pack structs a ↵Nick Mathewson2005-09-29
| | | | | | little better. svn:r5150
* Helper functions to perform our truncated base64 encoding on hexdigests.Nick Mathewson2005-09-18
| | | | svn:r5087
* Only do openssl accel stuff if version is at least 0.9.7Nick Mathewson2005-09-09
| | | | svn:r4973
* put quotes around user-supplied strings so they are more likely toRoger Dingledine2005-08-26
| | | | | | | realize if they add bad characters (like quotes) to the torrc svn:r4844
* a url for better referenceRoger Dingledine2005-08-15
| | | | svn:r4778
* fix whitespace issuesNick Mathewson2005-08-08
| | | | svn:r4752
* far far cleaner implementation of handshake checking logic. Backport candidate.Nick Mathewson2005-08-07
| | | | svn:r4736
* ok, so now it was just redundant. nick, do you recall what rfcRoger Dingledine2005-08-07
| | | | | | | you were trying to point to? svn:r4727
* note another potential security problem with generating key materialRoger Dingledine2005-08-06
| | | | | | | from our DH handshake. svn:r4724
* rfc 3536 "provides a glossary of terms used in the IETF when discussingRoger Dingledine2005-08-05
| | | | | | | internationalization." svn:r4723
* Appease insane windows compiler. (Oh no, an extra semi, the sky is falling!)Nick Mathewson2005-08-05
| | | | svn:r4722
* fix harmless copy-and-paste errorNick Mathewson2005-08-05
| | | | svn:r4718
* cover a few more cases; needs testing and once-overNick Mathewson2005-08-05
| | | | svn:r4717