aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto.c
Commit message (Expand)AuthorAge
* r12980@Kushana: nickm | 2007-05-18 14:11:05 -0400••• Add a "swap" function to smartlist, add a "shuffle" function for smartlist to crypto.c, and make appropriate hashtable functions be more const. svn:r10208 Nick Mathewson2007-05-18
* r12777@catbus: nickm | 2007-05-16 21:52:23 -0400••• Fix dumb bug introduced in r10199 svn:r10202 Nick Mathewson2007-05-17
* r12769@catbus: nickm | 2007-05-16 17:32:01 -0400••• Fix warnings from -Wunsafe-loop-optimizations, which incidentally turned up a logic bug in connection_or_flush_from_first_active_circuit that would overcount the number of cells flushed. svn:r10199 Nick Mathewson2007-05-16
* r12638@catbus: nickm | 2007-05-02 17:37:30 -0400••• Remove the "RSA keys are 128-bits" assumption from crypto.c svn:r10096 Nick Mathewson2007-05-02
* r12595@catbus: nickm | 2007-04-30 18:32:34 -0400••• Move private function declarations from crypto.c into a new #ifdef CRYPTO_PRIVATE block in crypto.h svn:r10074 Nick Mathewson2007-04-30
* r12001@catbus: nickm | 2007-02-28 15:24:12 -0500••• Try to build without warnings on mingw with verbose warnings on. First attempt. svn:r9688 Nick Mathewson2007-02-28
* r11976@catbus: nickm | 2007-02-27 19:35:59 -0500••• Add some missing (redundant but helpful in most cases) static declarations, and remove a function nobody was calling. svn:r9672 Nick Mathewson2007-02-28
* r11775@catbus: nickm | 2007-02-12 16:39:09 -0500••• Update copyright dates. svn:r9570 Nick Mathewson2007-02-12
* more changes. i'm all caught up now.•••svn:r9495 Roger Dingledine2007-02-06
* r11639@catbus: nickm | 2007-02-05 13:33:38 -0500••• Add documentation to src/common/*.h; improve documentation for SMARTLIST_FOREACH; remove never-used options and corresponding tests from tor_strpartition. svn:r9483 Nick Mathewson2007-02-05
* r11629@catbus: nickm | 2007-02-02 15:06:17 -0500••• Removing the last DOCDOC comment hurt so much that I had to use Doxygen to identify undocumented macros and comments, and add 150 more DOCDOCs to point out where they were. Oops. Hey, kids! Fixing some of these could be your first Tor patch! svn:r9477 Nick Mathewson2007-02-02
* r9689@catbus: nickm | 2007-01-19 22:34:20 -0500••• And remove another strcpy. svn:r9375 Nick Mathewson2007-01-20
* i saw somebody on #tor paste a string where these were•••null. better safe than sorry. svn:r8767 Roger Dingledine2006-10-20
* r9274@Kushana: nickm | 2006-10-19 16:16:58 -0400••• Add unit tests for tor_mmap_file(); make tor_mmap_t.size always be the size of the file (not the size of the mapping); add an extra argument to read_file_to_str() so it can return the size of the result string. svn:r8762 Nick Mathewson2006-10-19
* r8957@totoro: nickm | 2006-10-08 22:35:17 -0400••• The otherwise regrettable MIPSpro C compiler warns about values set but never used, and about mixing enums and ints; these are good warnings, and so should be fixed. This removes some dead code and some potential bugs. Thanks to pnx. svn:r8664 Nick Mathewson2006-10-09
* fix something that looked scary to me. i believe this won't•••change any behavior currently, but it will avoiding calling noop code that might change for the worse some time. nick, please confirm. svn:r8623 Roger Dingledine2006-10-07
* r8825@totoro: nickm | 2006-10-01 17:41:27 -0400••• Add function to return a random uint64_t. svn:r8570 Nick Mathewson2006-10-01
* r9025@Kushana: nickm | 2006-09-29 18:33:13 -0400••• Differentiate more duplicated log entries svn:r8542 Nick Mathewson2006-09-29
* r9008@Kushana: nickm | 2006-09-29 13:50:10 -0400••• Doxygen comments for code in common. Also simplify a few code paths to be more clear/speedy/correct. svn:r8536 Nick Mathewson2006-09-29
* r8696@Kushana: nickm | 2006-08-31 14:43:44 -0400••• Try to appease some warnings with newer gccs that believe that ignoring a return value is okay, but casting a return value and then ignoring it is a sign of madness. svn:r8312 Nick Mathewson2006-08-31
* note a compile warning that we should investigate one day.•••svn:r7052 Roger Dingledine2006-08-14
* stick to nick's nul/null convention•••svn:r6763 Roger Dingledine2006-07-15
* bandaid for bug 299. this is still a bug, since we don't•••initialize for hardware acceleration in certain configurations; but not critical until that is supported. svn:r6536 Roger Dingledine2006-06-05
* Add a new warning to our "warn a lot" list: unused parameters. This means we...•••svn:r6532 Nick Mathewson2006-06-04
* Stop initializing the hardware accelerator engines simply because•••we overloaded the meaning of the argument to crypto_global_init(). svn:r6490 Roger Dingledine2006-05-24
* Remove DER64 functions in trunk: they will never be used again unless the dir...•••svn:r6376 Nick Mathewson2006-04-10
* clean up the traces from tracking the 0.1.1.9-alpha stack-smashing bug.•••svn:r6240 Roger Dingledine2006-03-26
* More cleanups noticed by weasel; also, remove macros that nobody uses.•••svn:r6143 Nick Mathewson2006-03-12
* Start the process of converting warn to log_warn and so on.•••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 Roger Dingledine2006-02-13
* Happy new year!•••svn:r5949 Roger Dingledine2006-02-09
* Split PARANOIA_B into B1 and B2.•••svn:r5849 Nick Mathewson2006-01-22
* Split 0119_PARANOIA into 0119_PARANOIA_[ABC]. A is "this is suspicious, and ...•••svn:r5840 Nick Mathewson2006-01-17
* Add a (diabled by default) option in crypto.h to disable most of the interest...•••svn:r5777 Nick Mathewson2006-01-10
* Bite the bullet and limit all our source lines to 80 characters, the way IBM ...•••svn:r5582 Nick Mathewson2005-12-14
* Document CREATE_FAST better in the code. Move our key expansion algorithm in...•••svn:r5530 Nick Mathewson2005-12-08
* get rid of nick's crazy voodoo dh checking.•••svn:r5518 Roger Dingledine2005-12-06
* remove another unused function•••svn:r5477 Roger Dingledine2005-11-30
* remove some functions that are not used; #if0 out some files that are not lik...•••svn:r5471 Nick Mathewson2005-11-30
* a smidgen more hint when we fail to seed the rng•••svn:r5438 Roger Dingledine2005-11-21
* Try to build with OpenSSL 0.9.6. Lets pay attention to see if anybody complains.•••svn:r5398 Nick Mathewson2005-11-16
* Oops. It looks like there *was* an easy way to make openssl do what we wanted.•••svn:r5370 Nick Mathewson2005-11-14
* correct nick's comment•••svn:r5360 Roger Dingledine2005-11-11
* Note that much of check_dh_key is voodoo; make x in DH be only 320 bits for D...•••svn:r5359 Nick Mathewson2005-11-11
* Call ERR_remove_state() on the main thread on shutdown,too•••svn:r5322 Nick Mathewson2005-10-26
* Per comments at the bottom of openssl/FAQ, call even more functions to•••clean up OpenSSL's toys when it's done playing. (Why isn't there an OpenSSL_free_everything() function?) svn:r5321 Nick Mathewson2005-10-25
* Start dividing log messages into logging domains. No, LD_ is not the best of...•••svn:r5284 Nick Mathewson2005-10-18
* Downgrade a few INFO level logs to DEBUG again. Also add two or three new•••logs in cases where a calling function's log was downgraded and we wouldn't get any log message otherwise. svn:r5263 Peter Palfrader2005-10-17
* Okay, try to use RAND_poll() from OpenSSL where available.•••svn:r5229 Nick Mathewson2005-10-08
* LOG_ERR is for when we know we're going to exit. use LOG_WARN in other•••cases. svn:r5220 Roger Dingledine2005-10-07
* disable RAND_poll() for the alpha of the day; at least 24 hours of testing is...•••svn:r5216 Nick Mathewson2005-10-07