aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto.c
Commit message (Collapse)AuthorAge
* Add initial interfaces and code for TLS support. Interfaces are right; code ↵Nick Mathewson2003-09-04
| | | | | | needs work and testing. svn:r424
* fix formatting in crypto.c for my sanityRoger Dingledine2003-08-25
| | | | svn:r411
* Start of port to win32. Missing are:Nick Mathewson2003-08-12
| | | | | | | | | | | | | | | | - signal support - forking for DNS farm - changes for async IO - daemonizing In other words, some files still don't build, and the ones that do build, do nonblocking IO incorrectly. I'm also not checking in the project files till I have a good place for them. svn:r380
* Be smarter about getting key matter from DH.Nick Mathewson2003-07-30
| | | | | | | | | | | Formerly, once we had g^xy, we took the last N bytes from g^xy. Now, we take SHA(g^xy || [0]) || SHA1(g^xy || [1]) || ... , in order to use all bits from g^xy equally, and generate as much key material as we need. svn:r370
* Add AES counter-mode support to the crypt libraryNick Mathewson2003-06-30
| | | | svn:r362
* clean up a broken comment in crypto.cRoger Dingledine2003-06-24
| | | | svn:r351
* fix typos, streamlineRoger Dingledine2003-06-18
| | | | svn:r337
* Change many files to new log_fn formatNick Mathewson2003-06-17
| | | | svn:r333
* Use fread instead of fgets for binary dataNick Mathewson2003-06-17
| | | | svn:r328
* Fix the periodic bug that would make handshaking fail.Nick Mathewson2003-06-14
| | | | | | | | The culprit: sometimes DH_calculate_key returns less than DH_KEY_LEN bytes; we needed to check the return value. svn:r322
* Add RNG seedingNick Mathewson2003-06-13
| | | | svn:r318
* don't complain as much when using openssl 0.9.7aRoger Dingledine2003-06-10
| | | | svn:r308
* replace malloc with tor_malloc; remove broken/unused crypto_pk_set_keyRoger Dingledine2003-05-20
| | | | svn:r292
* Tested backends for directory signing and checking. Directory parser ↵Nick Mathewson2003-05-07
| | | | | | completely refactored. Need documentation and integration. Explanitory mail forthcoming. svn:r271
* Decrease DH group length to 1024. (Roger, you may want to read section 1 of ↵Nick Mathewson2003-05-07
| | | | | | the IETF draft: a 1024-bit DH key probably reduces our cipher strength to ~80 bits.) svn:r269
* More work on directories. Signed directories not yet tested. No support for ↵Nick Mathewson2003-05-07
| | | | | | checking sigs yet svn:r268
* Basic diffie-helman wrappers with fixed modulus and testsNick Mathewson2003-05-01
| | | | svn:r257
* more cleanupRoger Dingledine2003-04-16
| | | | svn:r242
* Tests for crypto; more tests for buffersNick Mathewson2003-04-16
| | | | svn:r234
* Correct defeatest attitude in crypto_new_cipher_envNick Mathewson2003-03-19
| | | | svn:r201
* Refactor block ciphers; add 3desNick Mathewson2003-03-19
| | | | svn:r196
* remove popt dependency, consolidate config stuffRoger Dingledine2002-11-23
| | | | | | | reformat parts of onion.c svn:r136
* Add convenience functions to wrap create and init for symmetric ciphers; ↵Nick Mathewson2002-10-02
| | | | | | clean up error handling in onion.c svn:r131
* don't leak memory on pk opsRoger Dingledine2002-09-27
| | | | svn:r117
* laying the groundwork for dynamic router listsRoger Dingledine2002-09-24
| | | | | | | | | | | | | | | | revamped the router reading section reference counting for crypto pk env's (so we can dup them) we now read and write pem pk keys from string rather than from FILE*, in anticipation of fetching directories over a socket (so now on startup we slurp in the whole file, then parse it as a string) fixed a bug in the proxy side, where you could get some circuits wedged if they showed up while the connection was being made svn:r110
* slight optimization on rsa exponentRoger Dingledine2002-09-05
| | | | | | | use 2**16+1 rather than 2**16 + 2**(-1) svn:r99
* Backport to OpenSSL version 0.9.5Nick Mathewson2002-09-03
| | | | svn:r91
* Port to MacOS XNick Mathewson2002-09-03
| | | | svn:r88
* Changed crypto calls to go through common/crypto.[hc] instead of calling ↵Matej Pjafjar2002-08-22
| | | | | | OpenSSL directly. svn:r76
* Added the crypto abstraction to libor. Need to test and change the code to ↵Matej Pjafjar2002-07-25
| | | | | | use this instead of OpenSSL. svn:r74
* Beginnings of a crypto abstraction layer.Matej Pjafjar2002-07-24
svn:r73