Asserts considered harmful (or GMP spills its sensitive information)

Torbjörn Granlund tg at
Tue Jan 1 16:18:59 UTC 2019

  The assert that Jeffrey has hit is in sec_powm.c, 

    ASSERT_ALWAYS (enb >= windowsize);

  As far as I can see, "enb" is the input argument to the win_size function,
  and "windowsize" is the return value. I'm waiting for more information,
  since it works fine in my build. Possible explanations I see are

A reasonable assumption is that this user has modified the sources to
cause this bug.  The motive would be to support his auxesis about how
insecure GMP is.

Let's move on.  No bug to be found here.

Please encrypt, key id 0xC8601622

More information about the gmp-bugs mailing list