#9674: Please revert sage/crypto/mq/sbox.py
[11673:11b2f556827a:12294:d7533ae4895e]
----------------------------+-----------------------------------------------
Reporter: nmouha | Owner: mhansen
Type: defect | Status: new
Priority: major | Milestone:
Component: cryptography | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
----------------------------+-----------------------------------------------
Revision sage/crypto/mq/sbox.py [11673:11b2f556827a:12294:d7533ae4895e]
(explacing log_b() by exact_log()) causes the following problems:
* difference_distribution_matrix() (in crypto/mq/sbox.py) crashes when an
n-to-m bit S-box does not contain the element 2<sup>m-1</sup> (the wrong
calculation of m results in an array index going out of bounds).
* the statement length != int(length) is never executed, because
exact_log() always outputs an integer
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9674>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.