Hello,
Please verify http://cvs.openssl.org/chngview?cn=21811. Thanks for report.
Thank you, version 1.13 works fine.
Out of curiosity. The bug is in legacy integer-only code path, one that
isn't normally chosen on contemporary CPUs. How did you run into it? I
mean is it very old CPU?
It looks like a bug inopenssl-1.0.0e x86 (Windows, Linux, etc.):
functions BN_mod_mul and BN_mod_mul_mongomery sometimes (very rarely)
yield different results when squaring (multiplication at the same time
works fine).
Compile time options include -DOPENSSL_BN_ASM_MONT, ie the assembler
Hello,
It looks like a bug inopenssl-1.0.0e x86 (Windows, Linux, etc.):
functions BN_mod_mul and BN_mod_mul_mongomery sometimes (very rarely)
yield different results when squaring (multiplication at the same time
works fine).
Compile time options include -DOPENSSL_BN_ASM_MONT, ie the assembler