<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>cordney* &#187; smart card</title>
	<atom:link href="http://cordney.com/tag/smart-card/feed/" rel="self" type="application/rss+xml" />
	<link>http://cordney.com</link>
	<description>security, technology, life</description>
	<lastBuildDate>Tue, 11 Oct 2011 05:16:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>We made third! or Twofish on a smart card</title>
		<link>http://cordney.com/2008/07/16/we-made-third-or-twofish-on-a-smart-card/</link>
		<comments>http://cordney.com/2008/07/16/we-made-third-or-twofish-on-a-smart-card/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 16:36:13 +0000</pubDate>
		<dc:creator>cordney*</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[study]]></category>
		<category><![CDATA[assembly]]></category>
		<category><![CDATA[crypto]]></category>
		<category><![CDATA[microcontroller]]></category>
		<category><![CDATA[smart card]]></category>
		<category><![CDATA[twofish]]></category>

		<guid isPermaLink="false">http://cordney.com/?p=66</guid>
		<description><![CDATA[In a practical course this summer term the task was to implement the twofish block-cipher, a former AES candidate, on an embedded device, a smart card with an ATMega163 microcontroller on board. A prize was promised for the team that has the best performance based on clock cycles per key schedule/encryption/decryption and code size. 3 [...]]]></description>
			<content:encoded><![CDATA[<p>In a practical course this summer term the task was to implement the <a href="http://www.schneier.com/twofish.html">twofish</a> block-cipher, a former AES candidate, on an embedded device, a smart card with an ATMega163 microcontroller on board. A prize was promised for the team that has the best performance based on clock cycles per key schedule/encryption/decryption and code size. 3 weeks of time were given, 10 teams participated and we made third, yeah!</p>
<p>In particular, the main decision was to handle the S-Boxes. The S-Box keys are derived from the main key and can be precomputed. So the main questions was whether we save clock cycles and precompute them or compute them on-the-fly while running enrcyption/decryption and save SRAM in the microcontroller. We decided to precompute them, as this would bring our implementation a significant performance increase.</p>
<p>These are the statistics..</p>
<p><a href='http://cordney.com/wp-content/uploads/2f_stat_diag.jpg'><img src="http://cordney.com/wp-content/uploads/2f_stat_diag-300x183.jpg" alt="" title="Statistics Diagram" width="300" height="183" class="alignnone size-medium wp-image-68" /><br />
Statistics Diagram<br />
</a></p>
<p><a href='http://cordney.com/wp-content/uploads/2f_stat_table.jpg'><img src="http://cordney.com/wp-content/uploads/2f_stat_table-300x197.jpg" alt="" title="Statistics Table" width="300" height="197" class="alignnone size-medium wp-image-69" /><br />
Statistics Table</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cordney.com/2008/07/16/we-made-third-or-twofish-on-a-smart-card/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

