1. 27 Mar, 2016 1 commit
    • Richard Levitte's avatar
      Math::BigInt does floored divs, BN_div does truncated div, compensate · ce84456d
      Richard Levitte authored
      
      
      According to documentation, perl's Math::BigInt does floored division,
      i.e. the bdiv function does 1 / -4 = -1.  OpenSSL's BN_div, as well as
      bc, do truncated division, i.e. 1 / -4 = 0.
      
      We need to compensate for that difference in test/recipes/bc.pl to
      make sure to verify the bntest results under its own conditions, by
      dividing the absolute values of the given numbers and fixup the
      result's negativity afterwards.
      
      Closes RT#4485
      
      Reviewed-by: default avatarViktor Dukhovni <viktor@openssl.org>
      ce84456d
  2. 25 Mar, 2016 2 commits
  3. 24 Mar, 2016 2 commits
  4. 23 Mar, 2016 14 commits
  5. 22 Mar, 2016 10 commits
  6. 21 Mar, 2016 11 commits