aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto.h
Commit message (Collapse)AuthorAge
* Add a function to return a double in range [0,1).Nick Mathewson2010-06-22
|
* Merge remote branch 'origin/maint-0.2.1'Nick Mathewson2010-02-27
|\ | | | | | | | | | | Conflicts: src/common/test.h src/or/test.c
| * Update Tor Project copyright yearsNick Mathewson2010-02-27
| |
| * Update copyright to 2009.Karsten Loesing2009-05-04
| |
* | crypto_cipher_set_key cannot failSebastian Hahn2009-10-27
| | | | | | | | | | | | | | In 5e4d53d535a3cc9903250b3df0caa829f1c5e4bf we made it so that crypto_cipher_set_key cannot fail. The call will now always succeed, to returning a boolean for success/failure makes no sense.
* | Reduce log level for someone else sending us weak DH keys.Karsten Loesing2009-10-25
| | | | | | | | | | | | | | | | See task 1114. The most plausible explanation for someone sending us weak DH keys is that they experiment with their Tor code or implement a new Tor client. Usually, we don't care about such events, especially not on warn level. If we really care about someone not following the Tor protocol, we can set ProtocolWarnings to 1.
* | Parse detached signature documents with multiple flavors and algorithms.Nick Mathewson2009-10-15
| |
* | Refactor consensus signature storage for multiple digests and flavors.Nick Mathewson2009-10-15
| | | | | | | | | | | | | | | | This patch introduces a new type called document_signature_t to represent the signature of a consensus document. Now, each consensus document can have up to one document signature per voter per digest algorithm. Also, each detached-signatures document can have up to one signature per <voter, algorithm, flavor>.
* | Support for encoding and decoding 256-bit digests in base64Nick Mathewson2009-10-15
| |
* | Alter keygen function to generate keys of different lengths.Nick Mathewson2009-09-29
| |
* | Add basic support for SHA256.Nick Mathewson2009-08-19
| | | | | | | | This adds an openssl 0.9.8 dependency. Let's see if anybody cares.
* | Add support for dynamic OpenSSL hardware crypto acceleration engines.Martin Peck2009-05-23
| |
* | Update copyright to 2009.Karsten Loesing2009-05-02
|/
* Remove svn $Id$s from our source, and remove tor --version --version.Nick Mathewson2009-01-04
| | | | | | | | The subversion $Id$ fields made every commit force a rebuild of whatever file got committed. They were not actually useful for telling the version of Tor files in the wild. svn:r17867
* Use a consistent naming standard for header file guard macros, taking care ↵Nick Mathewson2008-12-29
| | | | | | not to collide with any system headers. This tripped us up on Android. svn:r17805
* Fix most DOCDOCs remaining and/or added by redox.Nick Mathewson2008-12-22
| | | | svn:r17734
* Add DOCDOC comments for all undocumented functions. Add missing *s to other ↵Nick Mathewson2008-12-22
| | | | | | comments so that they will get recognized as doxygen. svn:r17729
* Fix bug 889: share deep-copied keys between threads to avoid races in ↵Nick Mathewson2008-12-18
| | | | | | reference counts. Bugfix on 0.1.0.1-rc. svn:r17672
* The first of Karsten's proposal 121 patches: configure and maintain client ↵Nick Mathewson2008-08-08
| | | | | | authorization data. Tweaked a bit: see comments on or-dev. svn:r16475
* r15558@tombo: nickm | 2008-05-09 04:35:12 -0400Nick Mathewson2008-05-09
| | | | | | | New (temporary) tool to dump the modulus of a key. May help with a project of weasel's. svn:r14580
* r19004@catbus: nickm | 2008-03-21 15:18:43 -0400Nick Mathewson2008-03-21
| | | | | | | Use RAND_poll() again: the bug that made us stop using it has been fixed. svn:r14150
* r14399@tombo: nickm | 2008-02-22 14:09:38 -0500Nick Mathewson2008-02-22
| | | | | | | More 64-to-32 fixes. Partial backport candidate. still not done. svn:r13680
* r14374@tombo: nickm | 2008-02-21 16:57:39 -0500Nick Mathewson2008-02-21
| | | | | | | Fix all remaining shorten-64-to-32 errors in src/common. Some were genuine problems. Many were compatibility errors with libraries (openssl, zlib) that like predate size_t. Partial backport candidate. svn:r13665
* r14185@tombo: nickm | 2008-02-15 18:05:54 -0500Nick Mathewson2008-02-15
| | | | | | | Replace the hefty tor_strpartition with a simple function to replace its only (trivial) use. svn:r13532
* r14062@tombo: nickm | 2008-02-08 15:17:07 -0500Nick Mathewson2008-02-08
| | | | | | | Change DNs in x509 certificates to be harder to fingerprint. Raise common code. Refactor random hostname generation into crypto.c svn:r13429
* r17963@catbus: nickm | 2008-02-07 10:14:25 -0500Nick Mathewson2008-02-07
| | | | | | | Be more thorough about memory poisoning and clearing. Add an in-place version of aes_crypt in order to remove a memcpy from relay_crypt_one_payload. svn:r13414
* Update some copyright notices: it is now 2008.Nick Mathewson2008-02-07
| | | | svn:r13412
* clean up copyrights, and assign 2007 copyrights to The Tor Project, IncRoger Dingledine2007-12-12
| | | | svn:r12786
* r16455@catbus: nickm | 2007-11-06 12:48:00 -0500Nick Mathewson2007-11-06
| | | | | | | Parse CERT cells and act correctly when we get them. svn:r12396
* r16287@catbus: nickm | 2007-10-31 00:53:53 -0400Nick Mathewson2007-10-31
| | | | | | | HMAC-SHA-1 implementation, with unit tests based on vectors from RVFC2202. Steven's stuff will need this. svn:r12289
* r15231@catbus: nickm | 2007-09-20 16:04:30 -0400Nick Mathewson2007-09-20
| | | | | | | Patch from karsten: remove cbc and make unit tests handle aes-ctr-with-iv. svn:r11538
* r15172@catbus: nickm | 2007-09-19 11:50:02 -0400Nick Mathewson2007-09-19
| | | | | | | 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
* add some crypto/util functions from karsten, as the firstRoger Dingledine2007-09-18
| | | | | | | step of integrating his new hidden service stuff svn:r11489
* r13410@catbus: nickm | 2007-06-13 18:39:05 -0400Nick Mathewson2007-06-13
| | | | | | | Fix compilation on compilers that do not allow you to typedef the same type twice. svn:r10598
* r13383@catbus: nickm | 2007-06-13 13:53:04 -0400Nick Mathewson2007-06-13
| | | | | | | Expose a function to parse a private key from a string as CRYPTO_PRIVATE. For testing. svn:r10583
* r12980@Kushana: nickm | 2007-05-18 14:11:05 -0400Nick Mathewson2007-05-18
| | | | | | | 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
* r12595@catbus: nickm | 2007-04-30 18:32:34 -0400Nick Mathewson2007-04-30
| | | | | | | Move private function declarations from crypto.c into a new #ifdef CRYPTO_PRIVATE block in crypto.h svn:r10074
* r11775@catbus: nickm | 2007-02-12 16:39:09 -0500Nick Mathewson2007-02-12
| | | | | | | Update copyright dates. svn:r9570
* r11639@catbus: nickm | 2007-02-05 13:33:38 -0500Nick Mathewson2007-02-05
| | | | | | | Add documentation to src/common/*.h; improve documentation for SMARTLIST_FOREACH; remove never-used options and corresponding tests from tor_strpartition. svn:r9483
* r11629@catbus: nickm | 2007-02-02 15:06:17 -0500Nick Mathewson2007-02-02
| | | | | | | 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
* r8825@totoro: nickm | 2006-10-01 17:41:27 -0400Nick Mathewson2006-10-01
| | | | | | | Add function to return a random uint64_t. svn:r8570
* 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
* Happy new year!Roger Dingledine2006-02-09
| | | | svn:r5949
* I believe this resolves bug 234, the mysterious crash on 0.1.1.9Roger Dingledine2006-02-02
| | | | | | | | and later servers. I'm not sure yet, but better to have it in CVS while we speculate that it's the fix. svn:r5895
* 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