1. 31 Mar, 2017 1 commit
  2. 15 Mar, 2017 1 commit
  3. 14 Dec, 2016 2 commits
  4. 16 Sep, 2016 2 commits
    • Nick Mathewson's avatar
      Add support for AES256 and AES192 · 6cb9c2cf
      Nick Mathewson authored
      (This will be used by prop224)
      6cb9c2cf
    • Nick Mathewson's avatar
      Simplify the crypto_cipher_t interface and structure · ff116b78
      Nick Mathewson authored
      Previously, the IV and key were stored in the structure, even though
      they mostly weren't needed.  The only purpose they had was to
      support a seldom-used API where you could pass NULL when creating
      a cipher in order to get a random key/IV, and then pull that key/IV
      back out.
      
      This saves 32 bytes per AES instance, and makes it easier to support
      different key lengths.
      ff116b78
  5. 09 Sep, 2016 2 commits
  6. 06 Sep, 2016 1 commit
    • Nick Mathewson's avatar
      checkSpace.pl now forbids more identifiers. · 5927ed8d
      Nick Mathewson authored
      The functions it warns about are:
        assert, memcmp, strcat, strcpy, sprintf, malloc, free, realloc,
        strdup, strndup, calloc.
      
      Also, fix a few lingering instances of these in the code. Use other
      conventions to indicate _intended_ use of assert and
      malloc/realloc/etc.
      5927ed8d
  7. 23 Aug, 2016 1 commit
  8. 20 Jun, 2016 1 commit
  9. 11 Jun, 2016 1 commit
    • Nick Mathewson's avatar
      Add -Wmissing-variable-declarations, with attendant fixes · 53a3b39d
      Nick Mathewson authored
      This is a big-ish patch, but it's very straightforward.  Under this
      clang warning, we're not actually allowed to have a global variable
      without a previous extern declaration for it.  The cases where we
      violated this rule fall into three roughly equal groups:
        * Stuff that should have been static.
        * Stuff that was global but where the extern was local to some
          other C file.
        * Stuff that was only global when built for the unit tests, that
          needed a conditional extern in the headers.
      
      The first two were IMO genuine problems; the last is a wart of how
      we build tests.
      53a3b39d
  10. 09 Jun, 2016 1 commit
  11. 06 Jun, 2016 2 commits
  12. 02 Jun, 2016 1 commit
  13. 18 May, 2016 1 commit
  14. 16 May, 2016 8 commits
  15. 03 May, 2016 5 commits
  16. 27 Feb, 2016 1 commit
  17. 10 Feb, 2016 2 commits
    • Nick Mathewson's avatar
      Another automated rename. · 9746aed2
      Nick Mathewson authored
      Also simplify crypto_common_digests() to have no loop.
      9746aed2
    • Nick Mathewson's avatar
      Rename crypto_digest_all, and digests_t. · 8a4bba06
      Nick Mathewson authored
      They are no longer "all" digests, but only the "common" digests.
      
      Part of 17795.
      
      This is an automated patch I made with a couple of perl one-liners:
      
        perl -i -pe 's/crypto_digest_all/crypto_common_digests/g;' src/*/*.[ch]
        perl -i -pe 's/\bdigests_t\b/common_digests_t/g;' src/*/*.[ch]
      8a4bba06
  18. 03 Feb, 2016 2 commits
  19. 15 Jan, 2016 1 commit
  20. 23 Dec, 2015 2 commits
  21. 20 Dec, 2015 2 commits