<?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 on: Side channel attacks on cryptographic software</title>
	<atom:link href="http://rdist.root.org/2009/12/30/side-channel-attacks-on-cryptographic-software/feed/" rel="self" type="application/rss+xml" />
	<link>http://rdist.root.org/2009/12/30/side-channel-attacks-on-cryptographic-software/</link>
	<description>Embedded security, crypto, software protection</description>
	<lastBuildDate>Thu, 09 Sep 2010 12:45:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Nate Lawson</title>
		<link>http://rdist.root.org/2009/12/30/side-channel-attacks-on-cryptographic-software/#comment-5486</link>
		<dc:creator>Nate Lawson</dc:creator>
		<pubDate>Wed, 06 Jan 2010 19:36:06 +0000</pubDate>
		<guid isPermaLink="false">http://rdist.root.org/?p=487#comment-5486</guid>
		<description>Well, your comment keeps hitting my spam filter due to the length of the URL. But anyway, no reason to waste time on this.  :)</description>
		<content:encoded><![CDATA[<p>Well, your comment keeps hitting my spam filter due to the length of the URL. But anyway, no reason to waste time on this.  :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nate Lawson</title>
		<link>http://rdist.root.org/2009/12/30/side-channel-attacks-on-cryptographic-software/#comment-5484</link>
		<dc:creator>Nate Lawson</dc:creator>
		<pubDate>Wed, 06 Jan 2010 19:31:19 +0000</pubDate>
		<guid isPermaLink="false">http://rdist.root.org/?p=487#comment-5484</guid>
		<description>Byron, you are correct. That is a mistake in the article. It should read &quot;128-bit authenticator&quot;. Thanks for pointing it out.</description>
		<content:encoded><![CDATA[<p>Byron, you are correct. That is a mistake in the article. It should read &#8220;128-bit authenticator&#8221;. Thanks for pointing it out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zooko</title>
		<link>http://rdist.root.org/2009/12/30/side-channel-attacks-on-cryptographic-software/#comment-5483</link>
		<dc:creator>Zooko</dc:creator>
		<pubDate>Tue, 05 Jan 2010 17:18:55 +0000</pubDate>
		<guid isPermaLink="false">http://rdist.root.org/?p=487#comment-5483</guid>
		<description>But you replaced a link to my blog -- http://testgrid.allmydata.org:3567/uri/URI:DIR2-RO:j74uhg25nwdpjpacl6rkat2yhm:kav7ijeft5h7r7rxdp5bgtlt3viv32yabqajkrdykozia5544jqa/wiki.html -- with a link to my mailing list post, which wasn&#039;t what I&#039;d intended.  Here is a short URL which redirects to my blog: http://➡.ws/zooko . The reason I give out the long URL instead of the short one is that the ong URL includes a hash of the public key which can be used to check the digital signature on new versions of my blog.  It also includes enough information to download the latest version of my blog from a decentralized p2p storage system.

I assume that you dislike it because it is too long and/or too ugly.  (If so, you&#039;re not the first!) So I&#039;ve made a note of it on this ticket: http://allmydata.org/trac/tahoe/ticket/217#comment:56 . We need to invent a new crypto scheme which results in shorter URLs.

Regards,

Zooko</description>
		<content:encoded><![CDATA[<p>But you replaced a link to my blog &#8212; <a href="http://testgrid.allmydata.org:3567/uri/URI:DIR2-RO:j74uhg25nwdpjpacl6rkat2yhm:kav7ijeft5h7r7rxdp5bgtlt3viv32yabqajkrdykozia5544jqa/wiki.html" rel="nofollow">http://testgrid.allmydata.org:3567/uri/URI:DIR2-RO:j74uhg25nwdpjpacl6rkat2yhm:kav7ijeft5h7r7rxdp5bgtlt3viv32yabqajkrdykozia5544jqa/wiki.html</a> &#8212; with a link to my mailing list post, which wasn&#8217;t what I&#8217;d intended.  Here is a short URL which redirects to my blog: <a href="http://➡.ws/zooko" rel="nofollow">http://➡.ws/zooko</a> . The reason I give out the long URL instead of the short one is that the ong URL includes a hash of the public key which can be used to check the digital signature on new versions of my blog.  It also includes enough information to download the latest version of my blog from a decentralized p2p storage system.</p>
<p>I assume that you dislike it because it is too long and/or too ugly.  (If so, you&#8217;re not the first!) So I&#8217;ve made a note of it on this ticket: <a href="http://allmydata.org/trac/tahoe/ticket/217#comment:56" rel="nofollow">http://allmydata.org/trac/tahoe/ticket/217#comment:56</a> . We need to invent a new crypto scheme which results in shorter URLs.</p>
<p>Regards,</p>
<p>Zooko</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Byron Thomas</title>
		<link>http://rdist.root.org/2009/12/30/side-channel-attacks-on-cryptographic-software/#comment-5482</link>
		<dc:creator>Byron Thomas</dc:creator>
		<pubDate>Tue, 05 Jan 2010 16:25:11 +0000</pubDate>
		<guid isPermaLink="false">http://rdist.root.org/?p=487#comment-5482</guid>
		<description>Nice article Nate.

Just a clarification: I thought the HMAC timing attack (really a comparison timing attack) would only reveal the correct authenticator for a given message, but you state the attacker could &quot;find a 128-bit key in less than a few minutes.&quot; Am I missing something here? Surely finding the key like this is still 128-bit complexity unless you can pre-image attack the hash function?</description>
		<content:encoded><![CDATA[<p>Nice article Nate.</p>
<p>Just a clarification: I thought the HMAC timing attack (really a comparison timing attack) would only reveal the correct authenticator for a given message, but you state the attacker could &#8220;find a 128-bit key in less than a few minutes.&#8221; Am I missing something here? Surely finding the key like this is still 128-bit complexity unless you can pre-image attack the hash function?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nate Lawson</title>
		<link>http://rdist.root.org/2009/12/30/side-channel-attacks-on-cryptographic-software/#comment-5480</link>
		<dc:creator>Nate Lawson</dc:creator>
		<pubDate>Tue, 05 Jan 2010 00:37:48 +0000</pubDate>
		<guid isPermaLink="false">http://rdist.root.org/?p=487#comment-5480</guid>
		<description>Yes, encrypting first with Salsa20 and then with AES would mean your data is safe if the attacker&#039;s only option is a timing attack on AES. But if Salsa20 is weak to another attack, then the attacker can divide and conquer, breaking first AES and then Salsa20, probably by different routes. This is not a vulnerability, just something to keep in mind.

There are two solutions to timing attacks on AES on general-purpose CPUs. I like this &lt;a href=&quot;http://homes.esat.kuleuven.be/~ekasper/papers/aes_speedcc09_slides.pdf&quot; rel=&quot;nofollow&quot;&gt;bitsliced AES&lt;/a&gt; implementation. It requires assembly language but is supported on modern Intel CPUs. Also, it mentions that there will soon be an x86 AES instruction, which will solve this problem in hardware.

P.S. I edited the link in your comment to a shorter version.</description>
		<content:encoded><![CDATA[<p>Yes, encrypting first with Salsa20 and then with AES would mean your data is safe if the attacker&#8217;s only option is a timing attack on AES. But if Salsa20 is weak to another attack, then the attacker can divide and conquer, breaking first AES and then Salsa20, probably by different routes. This is not a vulnerability, just something to keep in mind.</p>
<p>There are two solutions to timing attacks on AES on general-purpose CPUs. I like this <a href="http://homes.esat.kuleuven.be/~ekasper/papers/aes_speedcc09_slides.pdf" rel="nofollow">bitsliced AES</a> implementation. It requires assembly language but is supported on modern Intel CPUs. Also, it mentions that there will soon be an x86 AES instruction, which will solve this problem in hardware.</p>
<p>P.S. I edited the link in your comment to a shorter version.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zooko</title>
		<link>http://rdist.root.org/2009/12/30/side-channel-attacks-on-cryptographic-software/#comment-5477</link>
		<dc:creator>Zooko</dc:creator>
		<pubDate>Mon, 04 Jan 2010 23:22:12 +0000</pubDate>
		<guid isPermaLink="false">http://rdist.root.org/?p=487#comment-5477</guid>
		<description>Here is what I think: thanks for writing this! It spurred me to reconsider this issue that has been bothering me, and I came up with a new (to me) solution for my decentralized filesystem: combine a timing-attack-resistant cipher like XSalsa20 with AES and make sure that AES doesn&#039;t get to see your master key or your plaintext:

http://allmydata.org/pipermail/tahoe-dev/2010-January/003476.html</description>
		<content:encoded><![CDATA[<p>Here is what I think: thanks for writing this! It spurred me to reconsider this issue that has been bothering me, and I came up with a new (to me) solution for my decentralized filesystem: combine a timing-attack-resistant cipher like XSalsa20 with AES and make sure that AES doesn&#8217;t get to see your master key or your plaintext:</p>
<p><a href="http://allmydata.org/pipermail/tahoe-dev/2010-January/003476.html" rel="nofollow">http://allmydata.org/pipermail/tahoe-dev/2010-January/003476.html</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
