<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for malb::blog</title>
	<atom:link href="http://martinralbrecht.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://martinralbrecht.wordpress.com</link>
	<description>a blog about cryptography, math software and dolphins</description>
	<lastBuildDate>Mon, 27 May 2013 09:29:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>Comment on SAT Solvers for Sage by martinralbrecht</title>
		<link>http://martinralbrecht.wordpress.com/2012/06/15/sat-solvers-for-sage/#comment-432</link>
		<dc:creator><![CDATA[martinralbrecht]]></dc:creator>
		<pubDate>Mon, 27 May 2013 09:29:37 +0000</pubDate>
		<guid isPermaLink="false">http://martinralbrecht.wordpress.com/?p=793#comment-432</guid>
		<description><![CDATA[Not at present (as far as I remember) but &quot;it&#039;s easy: implement it and send us a patch&quot; :)]]></description>
		<content:encoded><![CDATA[<p>Not at present (as far as I remember) but &#8220;it&#8217;s easy: implement it and send us a patch&#8221; <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SAT Solvers for Sage by Ruslan Kiianchuk (@zoresvit)</title>
		<link>http://martinralbrecht.wordpress.com/2012/06/15/sat-solvers-for-sage/#comment-431</link>
		<dc:creator><![CDATA[Ruslan Kiianchuk (@zoresvit)]]></dc:creator>
		<pubDate>Sun, 26 May 2013 16:51:13 +0000</pubDate>
		<guid isPermaLink="false">http://martinralbrecht.wordpress.com/?p=793#comment-431</guid>
		<description><![CDATA[Hello. Thanks for the tutorial!
Is there a way to make cryptominisat run several threads using the Sage interface?]]></description>
		<content:encoded><![CDATA[<p>Hello. Thanks for the tutorial!<br />
Is there a way to make cryptominisat run several threads using the Sage interface?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on M4RI 20121224 by tom denton</title>
		<link>http://martinralbrecht.wordpress.com/2012/12/21/m4ri-20121224/#comment-411</link>
		<dc:creator><![CDATA[tom denton]]></dc:creator>
		<pubDate>Mon, 25 Mar 2013 07:50:33 +0000</pubDate>
		<guid isPermaLink="false">http://martinralbrecht.wordpress.com/?p=875#comment-411</guid>
		<description><![CDATA[Looks great!  And thanks for looking into the compilation issue for those of us building on dinky ARM machines!]]></description>
		<content:encoded><![CDATA[<p>Looks great!  And thanks for looking into the compilation issue for those of us building on dinky ARM machines!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SAT Solvers for Sage by James McLaughlin</title>
		<link>http://martinralbrecht.wordpress.com/2012/06/15/sat-solvers-for-sage/#comment-392</link>
		<dc:creator><![CDATA[James McLaughlin]]></dc:creator>
		<pubDate>Sun, 20 Jan 2013 23:36:01 +0000</pubDate>
		<guid isPermaLink="false">http://martinralbrecht.wordpress.com/?p=793#comment-392</guid>
		<description><![CDATA[Okay, I&#039;ve tried a few more times, and the explosion of error messages does indeed appear to be completely at random - so I was wrong about sage.sat.solvers import CryptoMiniSat being needed.

I&#039;m guessing the line I was supposed to pick up on in the documentation was &quot;If neither P, K nor C are provided, a random pair (P, K) will be generated.&quot;, which would have indicated to me that this had a chance of causing the &quot;inversion on the zero element&quot;.]]></description>
		<content:encoded><![CDATA[<p>Okay, I&#8217;ve tried a few more times, and the explosion of error messages does indeed appear to be completely at random &#8211; so I was wrong about sage.sat.solvers import CryptoMiniSat being needed.</p>
<p>I&#8217;m guessing the line I was supposed to pick up on in the documentation was &#8220;If neither P, K nor C are provided, a random pair (P, K) will be generated.&#8221;, which would have indicated to me that this had a chance of causing the &#8220;inversion on the zero element&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SAT Solvers for Sage by martinralbrecht</title>
		<link>http://martinralbrecht.wordpress.com/2012/06/15/sat-solvers-for-sage/#comment-391</link>
		<dc:creator><![CDATA[martinralbrecht]]></dc:creator>
		<pubDate>Sun, 20 Jan 2013 23:03:53 +0000</pubDate>
		<guid isPermaLink="false">http://martinralbrecht.wordpress.com/?p=793#comment-391</guid>
		<description><![CDATA[Have you read the docs I pointed to? sr.polynomial_system() constructs a random system of equations which has a certain possibility of being unsatisfiable because it contains a zero inversion.]]></description>
		<content:encoded><![CDATA[<p>Have you read the docs I pointed to? sr.polynomial_system() constructs a random system of equations which has a certain possibility of being unsatisfiable because it contains a zero inversion.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SAT Solvers for Sage by James McLaughlin</title>
		<link>http://martinralbrecht.wordpress.com/2012/06/15/sat-solvers-for-sage/#comment-390</link>
		<dc:creator><![CDATA[James McLaughlin]]></dc:creator>
		<pubDate>Sun, 20 Jan 2013 22:29:50 +0000</pubDate>
		<guid isPermaLink="false">http://martinralbrecht.wordpress.com/?p=793#comment-390</guid>
		<description><![CDATA[All I can say is that
F,s = mq.SR(1,2,4,4,gf2=True,polybori=True).polynomial_system()
only works for me if I&#039;ve previously typed
from sage.sat.solvers import CryptoMiniSat

Have you tried quitting Sage completely, restarting it and entering the code in &quot;a converter for Boolean Polynomials&quot; one line at a time?]]></description>
		<content:encoded><![CDATA[<p>All I can say is that<br />
F,s = mq.SR(1,2,4,4,gf2=True,polybori=True).polynomial_system()<br />
only works for me if I&#8217;ve previously typed<br />
from sage.sat.solvers import CryptoMiniSat</p>
<p>Have you tried quitting Sage completely, restarting it and entering the code in &#8220;a converter for Boolean Polynomials&#8221; one line at a time?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SAT Solvers for Sage by martinralbrecht</title>
		<link>http://martinralbrecht.wordpress.com/2012/06/15/sat-solvers-for-sage/#comment-389</link>
		<dc:creator><![CDATA[martinralbrecht]]></dc:creator>
		<pubDate>Sun, 20 Jan 2013 21:59:28 +0000</pubDate>
		<guid isPermaLink="false">http://martinralbrecht.wordpress.com/?p=793#comment-389</guid>
		<description><![CDATA[No, see http://www.sagemath.org/doc/reference/sage/crypto/mq/sr.html#sage.crypto.mq.sr.SR_generic.sub_byte]]></description>
		<content:encoded><![CDATA[<p>No, see <a href="http://www.sagemath.org/doc/reference/sage/crypto/mq/sr.html#sage.crypto.mq.sr.SR_generic.sub_byte" rel="nofollow">http://www.sagemath.org/doc/reference/sage/crypto/mq/sr.html#sage.crypto.mq.sr.SR_generic.sub_byte</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SAT Solvers for Sage by James McLaughlin</title>
		<link>http://martinralbrecht.wordpress.com/2012/06/15/sat-solvers-for-sage/#comment-388</link>
		<dc:creator><![CDATA[James McLaughlin]]></dc:creator>
		<pubDate>Sun, 20 Jan 2013 21:51:05 +0000</pubDate>
		<guid isPermaLink="false">http://martinralbrecht.wordpress.com/?p=793#comment-388</guid>
		<description><![CDATA[Ah - further experimentation seems to suggest that
from sage.sat.solvers import CryptoMiniSat 
needs to come BEFORE
F,s = mq.SR(1,2,4,4,gf2=True,polybori=True).polynomial_system()
in the source. The reason the line was working before was that I&#039;d typed it in while trying one of the source code examples earlier on the page.]]></description>
		<content:encoded><![CDATA[<p>Ah &#8211; further experimentation seems to suggest that<br />
from sage.sat.solvers import CryptoMiniSat<br />
needs to come BEFORE<br />
F,s = mq.SR(1,2,4,4,gf2=True,polybori=True).polynomial_system()<br />
in the source. The reason the line was working before was that I&#8217;d typed it in while trying one of the source code examples earlier on the page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SAT Solvers for Sage by James McLaughlin</title>
		<link>http://martinralbrecht.wordpress.com/2012/06/15/sat-solvers-for-sage/#comment-387</link>
		<dc:creator><![CDATA[James McLaughlin]]></dc:creator>
		<pubDate>Sun, 20 Jan 2013 21:45:20 +0000</pubDate>
		<guid isPermaLink="false">http://martinralbrecht.wordpress.com/?p=793#comment-387</guid>
		<description><![CDATA[Just trying to retest - and a line of code which worked before has mysteriously started giving error messages:

	sage: F,s = mq.SR(1,2,4,4,gf2=True,polybori=True).polynomial_system()
---------------------------------------------------------------------------
ZeroDivisionError                         Traceback (most recent call last)

/home/linuxuser/Sage/sage-5.5-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/ in ()

/home/linuxuser/Sage/sage-5.5-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/crypto/mq/sr.pyc in polynomial_system(self, P, K, C)
   2094 
   2095         if ciphertext is None:
-&gt; 2096             ciphertext = self(plaintext, key)
   2097         elif ciphertext is False:
   2098             raise TypeError, &quot;type %s of C not understood&quot;%(type(ciphertext))

/home/linuxuser/Sage/sage-5.5-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/crypto/mq/sr.pyc in __call__(self, P, K)
   1356             P = AddRoundKey(P, K)
   1357 
-&gt; 1358         P = SubBytes(P)
   1359         if get_verbose() &gt;= 2:
   1360             print &quot;R[%02d].s_box   %s&quot;%(self.n, self.hex_str_vector(P))

/home/linuxuser/Sage/sage-5.5-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/crypto/mq/sr.pyc in sub_bytes(self, d)
    669         &quot;&quot;&quot;
    670         d = self.state_array(d)
--&gt; 671         return Matrix(self.base_ring(), d.nrows(), d.ncols(), [self.sub_byte(b) for b in d.list()])
    672 
    673     def sub_byte(self, b):

/home/linuxuser/Sage/sage-5.5-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/crypto/mq/sr.pyc in sub_byte(self, b)
    712         if not b:
    713             if not self._allow_zero_inversions:
--&gt; 714                 raise ZeroDivisionError,  &quot;A zero inversion occurred during an encryption or key schedule.&quot;
    715             else:
    716                 return self.sbox_constant()

ZeroDivisionError: A zero inversion occurred during an encryption or key schedule.
--------------------------------------------------------------------------------
I&#039;ve actually uninstalled Sage and then reinstalled both it and CryptoMiniSat trying to fix this, but to no avail.]]></description>
		<content:encoded><![CDATA[<p>Just trying to retest &#8211; and a line of code which worked before has mysteriously started giving error messages:</p>
<p>	sage: F,s = mq.SR(1,2,4,4,gf2=True,polybori=True).polynomial_system()<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
ZeroDivisionError                         Traceback (most recent call last)</p>
<p>/home/linuxuser/Sage/sage-5.5-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/ in ()</p>
<p>/home/linuxuser/Sage/sage-5.5-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/crypto/mq/sr.pyc in polynomial_system(self, P, K, C)<br />
   2094<br />
   2095         if ciphertext is None:<br />
-&gt; 2096             ciphertext = self(plaintext, key)<br />
   2097         elif ciphertext is False:<br />
   2098             raise TypeError, &#8220;type %s of C not understood&#8221;%(type(ciphertext))</p>
<p>/home/linuxuser/Sage/sage-5.5-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/crypto/mq/sr.pyc in __call__(self, P, K)<br />
   1356             P = AddRoundKey(P, K)<br />
   1357<br />
-&gt; 1358         P = SubBytes(P)<br />
   1359         if get_verbose() &gt;= 2:<br />
   1360             print &#8220;R[%02d].s_box   %s&#8221;%(self.n, self.hex_str_vector(P))</p>
<p>/home/linuxuser/Sage/sage-5.5-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/crypto/mq/sr.pyc in sub_bytes(self, d)<br />
    669         &#8220;&#8221;"<br />
    670         d = self.state_array(d)<br />
&#8211;&gt; 671         return Matrix(self.base_ring(), d.nrows(), d.ncols(), [self.sub_byte(b) for b in d.list()])<br />
    672<br />
    673     def sub_byte(self, b):</p>
<p>/home/linuxuser/Sage/sage-5.5-linux-64bit-ubuntu_12.04.1_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/crypto/mq/sr.pyc in sub_byte(self, b)<br />
    712         if not b:<br />
    713             if not self._allow_zero_inversions:<br />
&#8211;&gt; 714                 raise ZeroDivisionError,  &#8220;A zero inversion occurred during an encryption or key schedule.&#8221;<br />
    715             else:<br />
    716                 return self.sbox_constant()</p>
<p>ZeroDivisionError: A zero inversion occurred during an encryption or key schedule.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
I&#8217;ve actually uninstalled Sage and then reinstalled both it and CryptoMiniSat trying to fix this, but to no avail.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SAT Solvers for Sage by martinralbrecht</title>
		<link>http://martinralbrecht.wordpress.com/2012/06/15/sat-solvers-for-sage/#comment-386</link>
		<dc:creator><![CDATA[martinralbrecht]]></dc:creator>
		<pubDate>Sun, 20 Jan 2013 20:29:55 +0000</pubDate>
		<guid isPermaLink="false">http://martinralbrecht.wordpress.com/?p=793#comment-386</guid>
		<description><![CDATA[I fixed the source code for the first issue you reported. The second works fine for me.]]></description>
		<content:encoded><![CDATA[<p>I fixed the source code for the first issue you reported. The second works fine for me.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
