1. 05 Feb, 2020 1 commit
  2. 16 Jan, 2019 2 commits
  3. 04 Sep, 2018 2 commits
    • Nick Mathewson's avatar
      Make some additional RSA functions const · edbb5ef5
      Nick Mathewson authored
      edbb5ef5
    • Nick Mathewson's avatar
      Rename crypto_pk_check_key(), use it more reasonably, add tests · 600e046e
      Nick Mathewson authored
      This function was a wrapper around RSA_check_key() in openssl, which
      checks for invalid RSA private keys (like those where p or q are
      composite, or where d is not the inverse of e, or where n != p*q).
      We don't need a function like this in NSS, since unlike OpenSSL, NSS
      won't let you import a bogus private key.
      
      I've renamed the function and changed its return type to make it
      more reasonable, and added a unit test for trying to read a key
      where n != p*q.
      600e046e
  4. 21 Aug, 2018 7 commits
  5. 11 Jul, 2018 3 commits
  6. 10 Jul, 2018 1 commit
    • Nick Mathewson's avatar
      Rename torlog.[ch] to log.[ch] · e7f5f48d
      Nick Mathewson authored
      Fun fact: these files used to be called log.[ch] until we ran into
      conflicts with systems having a log.h file.  But now that we always
      include "lib/log/log.h", we should be fine.
      e7f5f48d
  7. 28 Jun, 2018 1 commit
  8. 27 Jun, 2018 1 commit
  9. 22 Jun, 2018 1 commit
  10. 21 Jun, 2018 2 commits
  11. 20 Jun, 2018 2 commits
  12. 08 May, 2018 1 commit
  13. 06 Apr, 2018 2 commits
  14. 16 Feb, 2018 3 commits
  15. 07 Feb, 2018 1 commit
  16. 03 Feb, 2018 1 commit
  17. 01 Feb, 2018 1 commit
    • Fernando Fernandez Mancera's avatar
      Tweaks into functions and variables in crypto_rsa.[ch] · 3812319b
      Fernando Fernandez Mancera authored and Nick Mathewson's avatar Nick Mathewson committed
      crypto_get_rsa_padding_overhead() and crypto_get_rsa_padding() are
      not static inline anymore in order to split the crypto_rsa module
      from crypto.[ch].
      
      Also included necessary modules in order to solve dependency issues.
      
      Also made two functions in crypto.c use crypto_pk_asn1_encdoe()
      instead of reaching into the crypto_pk_t struct.
      3812319b
  18. 26 Jan, 2018 1 commit