[Python-modules-team] Bug#892175: pycryptodome FTBFS on 32bit big endian: src/montgomery.c:245: mont_mult: Assertion `t[2*abn_words] <= 1' failed

Petter Reinholdtsen pere at hungry.com
Mon Jun 11 15:14:38 BST 2018


The assert failure is in mont_mult(), which according to its own comment implements
<URL: https://en.wikipedia.org/wiki/Montgomery_modular_multiplication >.  If the
patch mentioned by James, which seem to add testing of the suspected functions and
modify their implementation quite a bit, do solve the problem, I notice a new
upstream version has been released since the commit was applied in March.

Perhaps upgrading to the latest upstream version will solve the problem?  Anyone
working on updating the package?

-- 
Happy hacking
Petter Reinholdtsen



More information about the Python-modules-team mailing list