1. 24 Jul, 2017 1 commit
  2. 28 Jun, 2017 1 commit
  3. 27 Jun, 2017 2 commits
  4. 07 Apr, 2017 1 commit
    • Taylor Yu's avatar
      Test odd-sized base64 decodes · 00ffefb4
      Taylor Yu authored
      Test base64_decode() with odd sized decoded lengths, including
      unpadded encodings and padded encodings with "right-sized" output
      buffers.  Convert calls to base64_decode_nopad() to base64_decode()
      because base64_decode_nopad() is redundant.
      00ffefb4
  5. 31 Mar, 2017 2 commits
  6. 15 Mar, 2017 1 commit
  7. 14 Dec, 2016 2 commits
  8. 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
  9. 09 Sep, 2016 2 commits
  10. 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
  11. 23 Aug, 2016 1 commit
  12. 20 Jun, 2016 1 commit
  13. 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
  14. 09 Jun, 2016 1 commit
  15. 06 Jun, 2016 2 commits
  16. 02 Jun, 2016 1 commit
  17. 18 May, 2016 1 commit
  18. 16 May, 2016 8 commits
  19. 03 May, 2016 5 commits
  20. 27 Feb, 2016 1 commit
  21. 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
  22. 03 Feb, 2016 1 commit