#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:                |  
----------------------------+-----------------------------------------------

Comment(by nmouha):

 Replying to [comment:1 ylchapuy]:
 > Does ticket #9366 fix your problem?

 Thank you for looking into this. You patch fixes the second bullet point.
 But the main problem is this line: "self.n = ZZ(max(S)+1).exact_log(2)".

 Try this, and see what happens:
 S = mq.SBox(5,6,0,3,4,2,1,2);
 S.difference_distribution_matrix();

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9674#comment:2>
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.

Reply via email to