aboutsummaryrefslogtreecommitdiff
path: root/src/common
Commit message (Expand)AuthorAge
* r15231@catbus: nickm | 2007-09-20 16:04:30 -0400••• Patch from karsten: remove cbc and make unit tests handle aes-ctr-with-iv. svn:r11538 Nick Mathewson2007-09-20
* r14532@Kushana: nickm | 2007-09-20 13:25:38 -0400••• Clean up some macros in aes.c svn:r11537 Nick Mathewson2007-09-20
* r15210@catbus: nickm | 2007-09-20 13:04:05 -0400••• Re-optimize counter-mode: save about 15% on my core2 by (1) not regenerating the entire counter buffer every time we encrypt a block of keystream (2) using the platform-optimized htonl to convert to big-endian (It's a single instruction on 486 and later ) and (3) not even keeping a separate "counter" and "buffer" when the platform is big-endian. The third still needs testing. svn:r11536 Nick Mathewson2007-09-20
* poke at svn until it compiles. nick, you should decide if this•••is what you meant to do. svn:r11529 Roger Dingledine2007-09-20
* r15172@catbus: nickm | 2007-09-19 11:50:02 -0400••• New (untested) code to implement AES-with-IV. Currently, IVs are generated randomly. Once tested, should be (almost) a drop-in replacement for the CBC functions. svn:r11519 Nick Mathewson2007-09-19
* r15171@catbus: nickm | 2007-09-19 11:44:54 -0400••• Switch our AES implementation from "128 bit counter with to 64 bits set to 0" to a proper implementation of counter mode. Also, add an aes_set_iv function to initialize the counter to a nonzero value. svn:r11518 Nick Mathewson2007-09-19
* minor style tweaks•••svn:r11490 Roger Dingledine2007-09-18
* add some crypto/util functions from karsten, as the first•••step of integrating his new hidden service stuff svn:r11489 Roger Dingledine2007-09-18
* r14448@Kushana: nickm | 2007-09-17 14:26:56 -0400••• Unify all of the divergent median/nth-percentile code in container.[ch] svn:r11457 Nick Mathewson2007-09-17
* r14363@Kushana: nickm | 2007-09-08 16:25:45 -0400••• Another round of whitespeace fixes. svn:r11407 Nick Mathewson2007-09-08
* r14359@Kushana: nickm | 2007-09-08 15:07:17 -0400••• Add some generic skew-and-tolerance functions so we can handle time more sanely. svn:r11406 Nick Mathewson2007-09-08
* r14869@catbus: nickm | 2007-08-31 08:49:26 -0400••• Fix a segfault in expand_filename("~"). Found by lindi. svn:r11332 Nick Mathewson2007-08-31
* r14832@catbus: nickm | 2007-08-29 15:00:27 -0400••• Use (and debug) new file-writing functions in order to simplify code that formerly built big strings in RAM. svn:r11301 Nick Mathewson2007-08-29
* r14831@catbus: nickm | 2007-08-29 14:17:42 -0400••• Refactor write_chunks_to_file_impl: break out the "pick a temporary name if it makes sense, and open the right filename" logic and the "close the file and unlink or rename if necessary" logic. This will let us write big files in a smarter way than "Build a big string" or "make a list of chunks", once we get around to using it. svn:r11300 Nick Mathewson2007-08-29
* r14227@Kushana: nickm | 2007-08-27 11:33:28 -0400••• Add a new ClientDNSRejectInternalAddresses option (default: on) to refuse to believe that any address can map to or from an internal address. This blocks some kinds of potential browser-based attacks, especially on hosts using DNSPort. Also clarify behavior in some comments. Backport candiate? svn:r11287 Nick Mathewson2007-08-27
* Handle unexpected whitespace better in malformed descriptors. Bug•••found using Benedikt Boss's new Tor fuzzer! Bugfix on 0.2.0.x. svn:r11229 Roger Dingledine2007-08-20
* r14651@catbus: nickm | 2007-08-17 21:37:03 -0400••• Another attempt to confirm to msvc for bug 482. svn:r11162 Nick Mathewson2007-08-18
* redefine BITARRAY_MASK as a function of BITARRAY_SHIFT•••svn:r11160 Peter Palfrader2007-08-17
* r14639@catbus: nickm | 2007-08-17 17:45:28 -0400••• Compile without warnings on MinGW, even with --enable-gcc-warnings enabled. svn:r11157 Nick Mathewson2007-08-17
* r14634@catbus: nickm | 2007-08-17 16:43:49 -0400••• Try to fix bug 482: do not rely on s6_addr16 or s6_addr32 on MSVC. How ugly. svn:r11155 Nick Mathewson2007-08-17
* r14051@Kushana: nickm | 2007-08-15 15:55:36 -0400••• Fix an XXXX020 and a few DOCDOCs. svn:r11127 Nick Mathewson2007-08-15
* r14093@catbus: nickm | 2007-08-08 01:49:54 -0400••• Include fewer redundant headers; use the compiler search paths better. svn:r11060 Nick Mathewson2007-08-08
* r14091@catbus: nickm | 2007-08-08 01:13:17 -0400••• Fix an annoying warning on OpenBSD: only include malloc.h if we are using it. svn:r11059 Nick Mathewson2007-08-08
* r13926@Kushana: nickm | 2007-08-03 00:55:23 -0700••• Fix compilation with HAVE_GETADDRINFO unset svn:r11042 Nick Mathewson2007-08-03
* r13907@Kushana: nickm | 2007-08-02 10:29:13 -0700••• Try (once again) to fix mingw build wrt detecting ipv6 types. svn:r11037 Nick Mathewson2007-08-02
* r13873@Kushana: nickm | 2007-07-31 10:54:05 -0700••• Split over-optimized digestmap_set code into a generic part and a digestmap-specific part. svn:r11012 Nick Mathewson2007-08-01
* r13872@Kushana: nickm | 2007-07-31 08:27:54 -0700••• Rename IN4_ADDR and IN6_ADDR to try to avoid conflicting with Windows definitions. This may fix the windows build. svn:r11011 Nick Mathewson2007-08-01
* r13871@Kushana: nickm | 2007-07-31 08:10:58 -0700••• Fix warning aobut unused parameter on platforms without mallinfo. svn:r11010 Nick Mathewson2007-08-01
* r14024@catbus: nickm | 2007-07-30 14:13:58 -0400••• Glibc (and maybe others) define a mallinfo() that can be used to see how the platform malloc is acting inside. When we have it, dump its output on dumpmemusage(). svn:r10996 Nick Mathewson2007-07-30
* r14015@catbus: nickm | 2007-07-30 13:18:05 -0400••• Add missing code documentation in src/common svn:r10991 Nick Mathewson2007-07-30
* r13988@catbus: nickm | 2007-07-29 16:32:36 -0400••• Cheesy attempt to break some censorware. Not a long-term fix, but it will be intersting to watch the epidemiology of the workarounds as the censors apply them. svn:r10975 Nick Mathewson2007-07-29
* r13964@catbus: nickm | 2007-07-28 22:55:10 -0400••• Change "IN_ADDR" macro to "IN4_ADDR" in an attempt to fix mingw compilation svn:r10963 Nick Mathewson2007-07-29
* r13944@catbus: nickm | 2007-07-27 15:52:35 -0400••• Fix warnings on platforms where rlim values can be signed. Add an 8k buffer freelist. svn:r10948 Nick Mathewson2007-07-27
* r13934@catbus: nickm | 2007-07-27 10:41:00 -0400••• Fix spelling; add a comment. svn:r10943 Nick Mathewson2007-07-27
* Maybe fix #471. Compute the size of bitfields more correctly. Nick, please ...•••svn:r10941 Peter Palfrader2007-07-27
* r13926@catbus: nickm | 2007-07-26 17:21:06 -0400••• Add a bit-array type with reasonably fast inline functions. svn:r10938 Nick Mathewson2007-07-26
* r13920@catbus: nickm | 2007-07-26 16:25:25 -0400••• whitespace fixes svn:r10935 Nick Mathewson2007-07-26
* r13858@catbus: nickm | 2007-07-22 18:44:02 -0400••• Fix/note some relatively trivial mem usage issues svn:r10905 Nick Mathewson2007-07-22
* r13856@catbus: nickm | 2007-07-20 14:30:44 -0400••• slightly smarter heuristic about when to use obsolete ::a.b.c.d format. svn:r10893 Nick Mathewson2007-07-20
* r13850@catbus: nickm | 2007-07-20 12:25:24 -0400••• Fix some bugs in ntop/pton. svn:r10891 Nick Mathewson2007-07-20
* r13848@catbus: nickm | 2007-07-19 16:47:16 -0400••• Use our own version of inet_ntop and inet_pton everywhere, to avoid partitioning attacks. svn:r10888 Nick Mathewson2007-07-19
* r13840@catbus: nickm | 2007-07-19 16:00:43 -0400••• Apparently, this problem can occur on the whole BSD family. "Yay." svn:r10884 Nick Mathewson2007-07-19
* r13838@catbus: nickm | 2007-07-19 15:50:16 -0400••• Apparently, OSX does not define s6_addr32 or s6_addr16. How silly. svn:r10883 Nick Mathewson2007-07-19
* r13836@catbus: nickm | 2007-07-19 15:43:04 -0400••• Some older GCCs think that iph4 could be used uninitialized. Fix that. svn:r10882 Nick Mathewson2007-07-19
* r13834@catbus: nickm | 2007-07-19 15:40:42 -0400••• Another patch from croup: drop support for address masks that do not correspond to bit prefixes. Nobody has used this for a while, and we have given warnings for a long time. svn:r10881 Nick Mathewson2007-07-19
* r13827@catbus: nickm | 2007-07-19 14:42:25 -0400••• Merge in some generic address manipulation code from croup. Needs some work. svn:r10880 Nick Mathewson2007-07-19
* r13788@catbus: nickm | 2007-07-16 14:26:25 -0400••• Patch from croup: rewrite the logic of get_next_token() to do the right thing with input that ends at weird places, or aligns with block boundaries after mmap. should fix bug 455. Needs fuzzing. svn:r10847 Nick Mathewson2007-07-16
* free some more memory on exit•••svn:r10837 Roger Dingledine2007-07-16
* r13687@catbus: nickm | 2007-07-10 16:08:14 -0400••• Possible partial fix for bug 455: use eos logic everywhere. svn:r10786 Nick Mathewson2007-07-10
* r13631@catbus: nickm | 2007-07-06 10:17:22 -0400••• Try to fix win32 build again. svn:r10750 Nick Mathewson2007-07-06