1. 16 Jan, 2018 1 commit
    • Matt Caswell's avatar
      Revert BN_copy() flag copy semantics change · d320e803
      Matt Caswell authored
      Commit 9f944291
      
       changed the semantics of BN_copy() to additionally
      copy the BN_FLG_CONSTTIME flag if it is set. This turns out to be
      ill advised as it has unintended consequences. For example calling
      BN_mod_inverse_no_branch() can sometimes return a result with the flag
      set and sometimes not as a result. This can lead to later failures if we
      go down code branches that do not support constant time, but check for
      the presence of the flag.
      
      The original commit was made due to an issue in BN_MOD_CTX_set(). The
      original PR fixed the problem in that function, but it was changed in
      review to fix it in BN_copy() instead. The solution seems to be to revert
      the BN_copy() change and go back to the originally proposed way.
      
      Reviewed-by: default avatarPaul Dale <paul.dale@oracle.com>
      (Merged from https://github.com/openssl/openssl/pull/5080)
      
      (cherry picked from commit 7d461736)
      d320e803
  2. 15 Jan, 2018 2 commits
  3. 14 Jan, 2018 2 commits
  4. 13 Jan, 2018 1 commit
  5. 10 Jan, 2018 1 commit
  6. 09 Jan, 2018 4 commits
  7. 08 Jan, 2018 3 commits
  8. 07 Jan, 2018 2 commits
  9. 06 Jan, 2018 2 commits
  10. 05 Jan, 2018 1 commit
  11. 04 Jan, 2018 1 commit
  12. 27 Dec, 2017 1 commit
  13. 17 Dec, 2017 1 commit
  14. 16 Dec, 2017 2 commits
  15. 15 Dec, 2017 1 commit
  16. 13 Dec, 2017 8 commits
  17. 12 Dec, 2017 2 commits
  18. 11 Dec, 2017 2 commits
  19. 10 Dec, 2017 2 commits
  20. 08 Dec, 2017 1 commit