aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto.h
Commit message (Collapse)AuthorAge
* 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
* and its headerRoger Dingledine2005-11-30
| | | | svn:r5478
* remove some functions that are not used; #if0 out some files that are not ↵Nick Mathewson2005-11-30
| | | | | | likely to be used. svn:r5471
* 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
* 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
* Helper functions to perform our truncated base64 encoding on hexdigests.Nick Mathewson2005-09-18
| | | | svn:r5087
* Load hardware acceleration options when/where available. Can anybody test this?Nick Mathewson2005-06-20
| | | | svn:r4467
* 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
* New whitespace normalization rule: no blank line at EOF.Nick Mathewson2005-06-09
| | | | svn:r4378
* 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
* Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson2004-11-29
| | | | | | every file. svn:r3019
* remove emacs droppings, since nick says he doesn't need them anymoreRoger Dingledine2004-11-26
| | | | svn:r2989
* Implement two flavors of authentication for control connections: one for ↵Nick Mathewson2004-11-03
| | | | | | trusted FS, one for untrusted FS. svn:r2664
* canonicalize "src" and "dest" arg order in crypto.c (and others)Roger Dingledine2004-11-02
| | | | svn:r2644
* Pass with -Wstrict-prototypesNick Mathewson2004-10-27
| | | | svn:r2614
* 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
* 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
* now base16_encode() and base32_encode() can't ever failRoger Dingledine2004-07-22
| | | | svn:r2103
* 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
* Not every RSA decrypt should warn on failure.Nick Mathewson2004-05-12
| | | | svn:r1853
* doxygen markup for common/*.hRoger Dingledine2004-05-10
| | | | svn:r1840
* Doxygenate common.Nick Mathewson2004-05-10
| | | | svn:r1829
* some patches on the patchesRoger Dingledine2004-05-01
| | | | svn:r1761
* Finish documenting the functions in commonNick Mathewson2004-05-01
| | | | svn:r1758
* Handle windows socket errors correctly; comment most of common.Nick Mathewson2004-05-01
| | | | svn:r1756
* Remove IVs from cipher code, since AES-ctr has none.Nick Mathewson2004-04-28
| | | | svn:r1742
* Refactor crypto error handling to be more like TLS error handling:Nick Mathewson2004-04-26
| | | | | | | | | | | | | crypto_perror is a no-no, since an operation can set more than one error. Also, fix a bug in the unix crypto_seed_rng: mixing stdio with /dev/urandom is a bad idea, since fopen can make all kinds of weird extraneous syscalls (mmap, fcntl, stat64, etc.) and since fread tends to buffer data in big chunks, thus depleting the entropy pool. svn:r1717
* Fix base32 implementation; make base32 implementation follow standard; add ↵Nick Mathewson2004-04-08
| | | | | | more tests for base32 svn:r1574
* Force hybrid encryption on for key negotiationNick Mathewson2004-04-06
| | | | svn:r1509
* Document stuff, reduce magic numbers, add emacs magicNick Mathewson2004-04-06
| | | | svn:r1502
* add more constantsNick Mathewson2004-04-05
| | | | svn:r1488
* use the right variable when comparing hashes; maybe fix "Hash of session" bugNick Mathewson2004-04-05
| | | | svn:r1481
* Refactor the heck out of crypto interface: admit that we will stick with one ↵Nick Mathewson2004-04-03
| | | | | | ciphersuite at a time, make const things const, and stop putting openssl in the headers. svn:r1458
* refactor; start adding debugging logs to midpoint rend stuffNick Mathewson2004-04-02
| | | | svn:r1445
* Add new functions to wrap digest and sign/checksig.Nick Mathewson2004-04-01
| | | | svn:r1436
* Separate "generate-DH-key" from "get-DH-key" without breaking old interfaceNick Mathewson2004-04-01
| | | | svn:r1431
* Add helpful hybrid encryption functionsNick Mathewson2004-04-01
| | | | svn:r1423