Skip to content
  1. Mar 27, 2016
    • 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. Mar 25, 2016
  3. Mar 24, 2016
  4. Mar 23, 2016
  5. Mar 22, 2016
  6. Mar 21, 2016