> levitte> bn_div_words(0xFFFFC383,0x838B4B53,0x80000000)
> 
> Hmm, a call like that gave me an aruthmetic error on Linux...

According to bc 0xFFFFC383838B4B53 / 0x80000000 = 0x1FFFF8707. The
result is 33 bits or in other words the operation *overflows*. According
to IA-32 manual "overflow is indicated with the #DE (divide error)
rather than with the CF flag" which is why it dumps the core. This
behaviour does not constitute a bug as BN_div makes sure the condition
is never met.

A.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to