1. 18 Jan, 2012 1 commit
    • Nick Mathewson's avatar
      Rename nonconformant identifiers. · 26e789fb
      Nick Mathewson authored
      Fixes bug 4893.
      
      These changes are pure mechanical, and were generated with this
      perl script:
      
        /usr/bin/perl -w -i.bak -p
      
        s/crypto_pk_env_t/crypto_pk_t/g;
        s/crypto_dh_env_t/crypto_dh_t/g;
        s/crypto_cipher_env_t/crypto_cipher_t/g;
        s/crypto_digest_env_t/crypto_digest_t/g;
      
        s/aes_free_cipher/aes_cipher_free/g;
        s/crypto_free_cipher_env/crypto_cipher_free/g;
        s/crypto_free_digest_env/crypto_digest_free/g;
        s/crypto_free_pk_env/crypto_pk_free/g;
      
        s/_crypto_dh_env_get_dh/_crypto_dh_get_dh/g;
        s/_crypto_new_pk_env_rsa/_crypto_new_pk_from_rsa/g;
        s/_crypto_pk_env_get_evp_pkey/_crypto_pk_get_evp_pkey/g;
        s/_crypto_pk_env_get_rsa/_crypto_pk_get_rsa/g;
      
        s/crypto_new_cipher_env/crypto_cipher_new/g;
        s/crypto_new_digest_env/crypto_digest_new/g;
        s/crypto_new_digest256_env/crypto_digest256_new/g;
        s/crypto_new_pk_env/crypto_pk_new/g;
      
        s/crypto_create_crypto_env/crypto_cipher_new/g;
      
        s/connection_create_listener/connection_listener_new/g;
        s/smartlist_create/smartlist_new/g;
        s/transport_create/transport_new/g;
      26e789fb
  2. 10 Jan, 2012 4 commits
  3. 28 Dec, 2011 1 commit
  4. 25 Nov, 2011 2 commits
  5. 11 Nov, 2011 3 commits
  6. 16 Mar, 2011 1 commit
  7. 03 Jan, 2011 1 commit
  8. 15 Oct, 2010 1 commit
    • Nick Mathewson's avatar
      Improve accuracy of comment about aes_crypt performance · 96ab83d3
      Nick Mathewson authored
      The old comment was from before I tried a huge pile of crazy stuff to
      make the inner loop faster.  Short answer: GCC already knows how to
      unroll loops pretty well.  Other short answer: we should have made the
      relay payload size an even multiple of 4, 8, or ideally 16.
      96ab83d3
  9. 10 Jul, 2010 1 commit
    • Nick Mathewson's avatar
      Rename log.h to torlog.h · 14bc4dcc
      Nick Mathewson authored
      This should make us conflict less with system files named "log.h".
      Yes, we shouldn't have been conflicting with those anyway, but some
      people's compilers act very oddly.
      
      The actual change was done with one "git mv", by editing
      Makefile.am, and running
         find . -name '*.[ch]' | xargs perl -i -pe 'if (/^#include.*\Wlog.h/) {s/log.h/torlog.h/; }'
      14bc4dcc
  10. 27 Feb, 2010 1 commit
  11. 26 Feb, 2010 1 commit
  12. 22 Feb, 2010 1 commit
  13. 12 Dec, 2009 1 commit
    • Sebastian Hahn's avatar
      *_free functions now accept NULL · 3807db00
      Sebastian Hahn authored
      Some *_free functions threw asserts when passed NULL. Now all of them
      accept NULL as input and perform no action when called that way.
      
      This gains us consistence for our free functions, and allows some
      code simplifications where an explicit null check is no longer necessary.
      3807db00
  14. 27 May, 2009 1 commit
  15. 04 May, 2009 1 commit
  16. 02 May, 2009 1 commit
  17. 04 Jan, 2009 1 commit
  18. 11 Mar, 2008 1 commit
  19. 21 Feb, 2008 1 commit
  20. 12 Feb, 2008 1 commit
    • Nick Mathewson's avatar
      r18051@catbus: nickm | 2008-02-12 15:20:43 -0500 · f3eaeb99
      Nick Mathewson authored
       Re-tune mempool parametes based on testing on peacetime: use smaller chuncks, free them a little more aggressively, and try very hard to concentrate allocations on fuller chunks.  Also, lots of new documentation.
      
      
      svn:r13484
      f3eaeb99
  21. 09 Feb, 2008 1 commit
  22. 07 Feb, 2008 2 commits
  23. 12 Dec, 2007 1 commit
  24. 04 Oct, 2007 1 commit
    • Nick Mathewson's avatar
      r15530@catbus: nickm | 2007-10-04 12:16:27 -0400 · 6f7847b3
      Nick Mathewson authored
       Add a bunch of function documentation; clean up a little code; fix some XXXXs; tag the nonsensical EXTRAINFO_PURPOSE_GENERAL as nonsesnse; note another bit of "do not cache special routers" code to nuke.
      
      
      svn:r11761
      6f7847b3
  25. 02 Oct, 2007 1 commit
  26. 20 Sep, 2007 3 commits
  27. 19 Sep, 2007 1 commit
    • Nick Mathewson's avatar
      r15171@catbus: nickm | 2007-09-19 11:44:54 -0400 · 7e93139a
      Nick Mathewson authored
       Switch our AES implementation from "128 bit counter with to 64 bits set to 0" to a proper implementation of counter mode.  Also, add an aes_set_iv function to initialize the counter to a nonzero value.
      
      
      svn:r11518
      7e93139a
  28. 01 Mar, 2007 1 commit
  29. 28 Feb, 2007 1 commit
  30. 27 Feb, 2007 2 commits