aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto.h
Commit message (Collapse)AuthorAge
* 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
* Add more key manipulation functions, and base32 functions, to cryptoNick Mathewson2004-03-30
| | | | svn:r1395
* more pesky tabsRoger Dingledine2004-03-12
| | | | svn:r1265
* add crypto_cipher_rewind to reverse crypto_cipher_advanceRoger Dingledine2003-12-23
| | | | svn:r957
* document an openssl gotchaRoger Dingledine2003-12-17
| | | | svn:r947
* change crypto_digest_new_env to crypto_new_digest_envRoger Dingledine2003-12-16
| | | | | | | | | (and same with _free_) to match our conventions i think our conventions may be getting too ad hoc svn:r940
* rename digest_copy to digest_dup, make it return, make gcc happierRoger Dingledine2003-12-16
| | | | svn:r939
* Add more fine-grained SHA1 functionality.Nick Mathewson2003-12-16
| | | | svn:r937
* Make router/directory parsing nondestructive and more const-friendlyNick Mathewson2003-12-08
| | | | svn:r890
* 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