Skip to content
  1. Sep 23, 2000
  2. Sep 22, 2000
  3. Sep 21, 2000
  4. Sep 20, 2000
  5. Sep 19, 2000
    • Bodo Möller's avatar
      Totally remove the supposedly 'faster' variant in · fe035197
      Bodo Möller authored
      BN_mod_mul_montgomery, which calls bn_sqr_recursive
      without much preparation.
      
      bn_sqr_recursive requires the length of its argument to be
      a power of 2, which is not always the case here.
      There's no reason for not using BN_sqr -- if a simpler
      approach to squaring made sense, then why not change
      BN_sqr?  (Using BN_sqr should also speed up DH where g is chosen
      such that it becomes small [e.g., 2] when converted
      to Montgomery representation.)
      
      Case closed :-)
      fe035197