<?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/"
	>
<channel>
	<title>Comments on: A byte-oriented AES-256 implementation</title>
	<atom:link href="http://www.literatecode.com/2007/11/11/aes256/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.literatecode.com/2007/11/11/aes256/</link>
	<description>Security, Programming and Beyond</description>
	<pubDate>Thu, 11 Mar 2010 15:23:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ilya</title>
		<link>http://www.literatecode.com/2007/11/11/aes256/comment-page-1/#comment-15898</link>
		<dc:creator>Ilya</dc:creator>
		<pubDate>Thu, 04 Mar 2010 13:53:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.literatecode.com/2007/11/11/aes256/#comment-15898</guid>
		<description>It is great that you were able to solve the issue without assistance</description>
		<content:encoded><![CDATA[<p>It is great that you were able to solve the issue without assistance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manfred</title>
		<link>http://www.literatecode.com/2007/11/11/aes256/comment-page-1/#comment-15897</link>
		<dc:creator>Manfred</dc:creator>
		<pubDate>Wed, 03 Mar 2010 20:35:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.literatecode.com/2007/11/11/aes256/#comment-15897</guid>
		<description>Hello again,

now i changed the "offset"  in the functions f.e. aes_addRoundKey from 16 to zero, the same with the other functions, now it looks like good, the decoding buffer values  are the same as before encoding :-)</description>
		<content:encoded><![CDATA[<p>Hello again,</p>
<p>now i changed the &#8220;offset&#8221;  in the functions f.e. aes_addRoundKey from 16 to zero, the same with the other functions, now it looks like good, the decoding buffer values  are the same as before encoding :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manfred</title>
		<link>http://www.literatecode.com/2007/11/11/aes256/comment-page-1/#comment-15896</link>
		<dc:creator>Manfred</dc:creator>
		<pubDate>Wed, 03 Mar 2010 19:57:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.literatecode.com/2007/11/11/aes256/#comment-15896</guid>
		<description>hello,

I'm trying to change the code to 128Bit AES but I'm too stupid to modify it, always a different buffer :-(

Can you tell me, what i have to change? I changed void aes_expandEncKey(uint8_t *k, uint8_t *rc) like Dillip wrote but what is with void aes_expandDecKey(uint8_t *k, uint8_t *rc) ? 

typedef struct is changed, and key size also to 16Byte.

What else i need to change?

Please help me....

Nice greetings, Manfred</description>
		<content:encoded><![CDATA[<p>hello,</p>
<p>I&#8217;m trying to change the code to 128Bit AES but I&#8217;m too stupid to modify it, always a different buffer :-(</p>
<p>Can you tell me, what i have to change? I changed void aes_expandEncKey(uint8_t *k, uint8_t *rc) like Dillip wrote but what is with void aes_expandDecKey(uint8_t *k, uint8_t *rc) ? </p>
<p>typedef struct is changed, and key size also to 16Byte.</p>
<p>What else i need to change?</p>
<p>Please help me&#8230;.</p>
<p>Nice greetings, Manfred</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dillip Kumar</title>
		<link>http://www.literatecode.com/2007/11/11/aes256/comment-page-1/#comment-15891</link>
		<dc:creator>Dillip Kumar</dc:creator>
		<pubDate>Fri, 08 Jan 2010 07:24:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.literatecode.com/2007/11/11/aes256/#comment-15891</guid>
		<description>And changed no of rounds to 10 for 128 instead 14 for 256 bit key !!</description>
		<content:encoded><![CDATA[<p>And changed no of rounds to 10 for 128 instead 14 for 256 bit key !!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dillip Kumar</title>
		<link>http://www.literatecode.com/2007/11/11/aes256/comment-page-1/#comment-15890</link>
		<dc:creator>Dillip Kumar</dc:creator>
		<pubDate>Fri, 08 Jan 2010 07:19:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.literatecode.com/2007/11/11/aes256/#comment-15890</guid>
		<description>Hi, boss !! done a great job !! :-)

Can you tell me changes to be made to your code available  for hard code it to 128-bit Message Block and 128-bit Based Encryption Key for AES ?

i have tried to make some changes to it...
like :

1. Changing :

void aes_expandEncKey(uint8_t *k, uint8_t *rc) 
{
    register uint8_t i;

    k[0] ^= rj_sbox(k[13]) ^ (*rc);
    k[1] ^= rj_sbox(k[14]);
    k[2] ^= rj_sbox(k[15]);
    k[3] ^= rj_sbox(k[12]);
    *rc = F( *rc);

    for(i = 4; i &lt; 16; i += 4)  k[i] ^= k[i-4],   k[i+1] ^= k[i-3],
        k[i+2] ^= k[i-2], k[i+3] ^= k[i-1];
} /* aes_expandEncKey */

then similarly for:

2.  void aes_expandDecKey(uint8_t *k, uint8_t *rc) ;

3.  typedef struct {
        uint8_t key[16]; 
        uint8_t enckey[16]; 
        uint8_t deckey[16];
    } aes256_context; 

4. uint8_t key[32]; to uint8_t key[16 ]; in demo.c file...
5. And few More changes...
6. but the input plain text with decrypted  buffer varies totally....

I am using your license in my project report and bibliography too !! Dont mind for modification of work !! ;-)

And help me out !!</description>
		<content:encoded><![CDATA[<p>Hi, boss !! done a great job !! :-)</p>
<p>Can you tell me changes to be made to your code available  for hard code it to 128-bit Message Block and 128-bit Based Encryption Key for AES ?</p>
<p>i have tried to make some changes to it&#8230;<br />
like :</p>
<p>1. Changing :</p>
<p>void aes_expandEncKey(uint8_t *k, uint8_t *rc)<br />
{<br />
    register uint8_t i;</p>
<p>    k[0] ^= rj_sbox(k[13]) ^ (*rc);<br />
    k[1] ^= rj_sbox(k[14]);<br />
    k[2] ^= rj_sbox(k[15]);<br />
    k[3] ^= rj_sbox(k[12]);<br />
    *rc = F( *rc);</p>
<p>    for(i = 4; i &lt; 16; i += 4)  k[i] ^= k[i-4],   k[i+1] ^= k[i-3],<br />
        k[i+2] ^= k[i-2], k[i+3] ^= k[i-1];<br />
} /* aes_expandEncKey */</p>
<p>then similarly for:</p>
<p>2.  void aes_expandDecKey(uint8_t *k, uint8_t *rc) ;</p>
<p>3.  typedef struct {<br />
        uint8_t key[16];<br />
        uint8_t enckey[16];<br />
        uint8_t deckey[16];<br />
    } aes256_context; </p>
<p>4. uint8_t key[32]; to uint8_t key[16 ]; in demo.c file&#8230;<br />
5. And few More changes&#8230;<br />
6. but the input plain text with decrypted  buffer varies totally&#8230;.</p>
<p>I am using your license in my project report and bibliography too !! Dont mind for modification of work !! ;-)</p>
<p>And help me out !!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ilya</title>
		<link>http://www.literatecode.com/2007/11/11/aes256/comment-page-1/#comment-15883</link>
		<dc:creator>Ilya</dc:creator>
		<pubDate>Thu, 10 Dec 2009 02:59:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.literatecode.com/2007/11/11/aes256/#comment-15883</guid>
		<description>@Pro

No, you do not need multiple inits. A demo is just a demo.</description>
		<content:encoded><![CDATA[<p>@Pro</p>
<p>No, you do not need multiple inits. A demo is just a demo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pro</title>
		<link>http://www.literatecode.com/2007/11/11/aes256/comment-page-1/#comment-15882</link>
		<dc:creator>Pro</dc:creator>
		<pubDate>Thu, 10 Dec 2009 01:57:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.literatecode.com/2007/11/11/aes256/#comment-15882</guid>
		<description>In your demo you call "Init" both before you decode and encode a buffer.  Do you need to cal Init before each separate encode or decode?  If I'm trying to decode a buffer of size - say 16384 bytes, I assume I have to loop 1024 times and call decode each time, but do I also have to call init each loop?</description>
		<content:encoded><![CDATA[<p>In your demo you call &#8220;Init&#8221; both before you decode and encode a buffer.  Do you need to cal Init before each separate encode or decode?  If I&#8217;m trying to decode a buffer of size - say 16384 bytes, I assume I have to loop 1024 times and call decode each time, but do I also have to call init each loop?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saravanan</title>
		<link>http://www.literatecode.com/2007/11/11/aes256/comment-page-1/#comment-15874</link>
		<dc:creator>saravanan</dc:creator>
		<pubDate>Fri, 16 Oct 2009 18:42:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.literatecode.com/2007/11/11/aes256/#comment-15874</guid>
		<description>I need to open a ddl which was encrpted using AES256</description>
		<content:encoded><![CDATA[<p>I need to open a ddl which was encrpted using AES256</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://www.literatecode.com/2007/11/11/aes256/comment-page-1/#comment-15863</link>
		<dc:creator>James</dc:creator>
		<pubDate>Tue, 21 Jul 2009 19:36:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.literatecode.com/2007/11/11/aes256/#comment-15863</guid>
		<description>Absolutely great stuff, thanks a lot Ilya!</description>
		<content:encoded><![CDATA[<p>Absolutely great stuff, thanks a lot Ilya!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ilya</title>
		<link>http://www.literatecode.com/2007/11/11/aes256/comment-page-1/#comment-15862</link>
		<dc:creator>Ilya</dc:creator>
		<pubDate>Tue, 14 Jul 2009 05:50:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.literatecode.com/2007/11/11/aes256/#comment-15862</guid>
		<description>@Arif

These would be a number of rounds and a key schedule.</description>
		<content:encoded><![CDATA[<p>@Arif</p>
<p>These would be a number of rounds and a key schedule.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
