aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto.h
Commit message (Collapse)AuthorAge
* Remove minor biasing problem from crypto_pseudo_rand_intNick Mathewson2003-11-12
| | | | svn:r799
* Make crypto_pseudo_rand* never fail.Nick Mathewson2003-11-12
| | | | svn:r797
* Update LICENSE and copyright dates.Nick Mathewson2003-10-08
| | | | svn:r560
* Add code to parse fingerprint files and compare routers against fingerprint ↵Nick Mathewson2003-09-26
| | | | | | files. svn:r490
* Refactor common file code into util.c; add published to descriptorsNick Mathewson2003-09-26
| | | | svn:r487
* Refactor buffers; implement descriptors.Nick Mathewson2003-09-25
| | | | | | | | | | | | | | | | | 'buf_t' is now an opaque type defined in buffers.c . Router descriptors now include all keys; routers generate keys as needed on startup (in a newly defined "data directory"), and generate their own descriptors. Descriptors are now self-signed. Implementation is not complete: descriptors are never published; and upon receiving a descriptor, the directory doesn't do anything with it. At least "routers.or" and orkeygen are now obsolete, BTW. svn:r483
* Make crypto structures private to crypto.cNick Mathewson2003-09-10
| | | | svn:r437
* Add initial interfaces and code for TLS support. Interfaces are right; code ↵Nick Mathewson2003-09-04
| | | | | | needs work and testing. svn:r424
* 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
* Add RNG seedingNick Mathewson2003-06-13
| | | | svn:r318
* 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
* Choose correct abstraction for topic_foo. Abstract random-integer codeNick Mathewson2003-04-17
| | | | svn:r249
* Refactor block ciphers; add 3desNick Mathewson2003-03-19
| | | | svn:r196
* Add convenience functions to wrap create and init for symmetric ciphers; ↵Nick Mathewson2002-10-02
| | | | | | clean up error handling in onion.c svn:r131
* 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
* 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