1. 21 Aug, 2018 2 commits
    • Nick Mathewson's avatar
      Refactor crypto_rsa to use pem module. · b94e7de7
      Nick Mathewson authored
      This cleans up a lot of junk from crypto_rsa_openssl, and will
      save us duplicated code in crypto_rsa_nss (when it exists).
      
      (Actually, it already exists, but I am going to use git rebase so
      that this commit precedes the creation of crypto_rsa_nss.)
      b94e7de7
    • Nick Mathewson's avatar
      Rename functions that encode/decode private keys · 0f971d7c
      Nick Mathewson authored
      It is not nice to expose a private key's contents without having the
      function name advertise the fact.  Fortunately, we weren't misusing
      these yet.
      0f971d7c
  2. 31 Jul, 2018 1 commit
  3. 11 Jul, 2018 1 commit
  4. 05 Jul, 2018 2 commits
  5. 03 Jul, 2018 2 commits
  6. 01 Jul, 2018 4 commits
  7. 21 Jun, 2018 1 commit
  8. 20 Jun, 2018 2 commits
  9. 19 Jun, 2018 1 commit
  10. 24 May, 2018 1 commit
  11. 21 May, 2018 1 commit
  12. 06 Apr, 2018 1 commit
  13. 15 Sep, 2017 1 commit
  14. 13 Sep, 2017 2 commits
  15. 24 Aug, 2017 3 commits
  16. 24 Jul, 2017 1 commit
  17. 28 Jun, 2017 1 commit
  18. 27 Jun, 2017 2 commits
  19. 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
  20. 31 Mar, 2017 2 commits
  21. 15 Mar, 2017 1 commit
  22. 14 Dec, 2016 2 commits
  23. 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
  24. 09 Sep, 2016 2 commits
  25. 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