<?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 for Your Friendly Neighbourhood Infidel</title>
	<atom:link href="http://saju.net.in/blog/?feed=comments-rss2" rel="self" type="application/rss+xml" />
	<link>http://saju.net.in/blog</link>
	<description>on life, the universe and everything</description>
	<lastBuildDate>Thu, 26 Aug 2010 03:01:55 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Openssl AES encryption example by Guenther</title>
		<link>http://saju.net.in/blog/?p=36&#038;cpage=1#comment-5333</link>
		<dc:creator>Guenther</dc:creator>
		<pubDate>Thu, 26 Aug 2010 03:01:55 +0000</pubDate>
		<guid isPermaLink="false">http://saju.net.in/blog/?p=36#comment-5333</guid>
		<description>Minou, a simple &lt;b&gt;#include &lt;/b&gt; will do the trick too.</description>
		<content:encoded><![CDATA[<p>Minou, a simple <b>#include </b> will do the trick too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Openssl AES encryption example by minou</title>
		<link>http://saju.net.in/blog/?p=36&#038;cpage=1#comment-5243</link>
		<dc:creator>minou</dc:creator>
		<pubDate>Thu, 29 Jul 2010 14:32:17 +0000</pubDate>
		<guid isPermaLink="false">http://saju.net.in/blog/?p=36#comment-5243</guid>
		<description>I got the same error as George (AES_BLOCK_SIZE) undeclared. It is really weird cuz aes is actually implemented in most openssl&#039;s. The problem seems to be just the constant itself. So i just added at the beginning :
#define AES_BLOCK_SIZE 256
and it worked as a charm.</description>
		<content:encoded><![CDATA[<p>I got the same error as George (AES_BLOCK_SIZE) undeclared. It is really weird cuz aes is actually implemented in most openssl&#8217;s. The problem seems to be just the constant itself. So i just added at the beginning :<br />
#define AES_BLOCK_SIZE 256<br />
and it worked as a charm.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on efnet doesn&#8217;t like Tor users by ircblows</title>
		<link>http://saju.net.in/blog/?p=78&#038;cpage=1#comment-5149</link>
		<dc:creator>ircblows</dc:creator>
		<pubDate>Sun, 20 Jun 2010 05:04:15 +0000</pubDate>
		<guid isPermaLink="false">http://saju.net.in/blog/?p=78#comment-5149</guid>
		<description>IRC has gone down hill since the late 80&#039;s early 90&#039;s.  Its just a bunch of geeks that think there all that.  But in reality they just sit on the pc and wack off to girls they will never get.  Flyback in #computers on efnet is a great example.  a 40+ yr old virgin.  They think thier eleet when they have too much time to play on what is now just as bad as AOL!</description>
		<content:encoded><![CDATA[<p>IRC has gone down hill since the late 80&#8217;s early 90&#8217;s.  Its just a bunch of geeks that think there all that.  But in reality they just sit on the pc and wack off to girls they will never get.  Flyback in #computers on efnet is a great example.  a 40+ yr old virgin.  They think thier eleet when they have too much time to play on what is now just as bad as AOL!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ranked Bollywood Actors List by Kranthi</title>
		<link>http://saju.net.in/blog/?p=122&#038;cpage=1#comment-5122</link>
		<dc:creator>Kranthi</dc:creator>
		<pubDate>Fri, 04 Jun 2010 10:02:22 +0000</pubDate>
		<guid isPermaLink="false">http://saju.net.in/blog/?p=122#comment-5122</guid>
		<description>After Rock bottom, there is 50 feet of crap and after that there is Tushhaaaaaaaaar KKKapoor.</description>
		<content:encoded><![CDATA[<p>After Rock bottom, there is 50 feet of crap and after that there is Tushhaaaaaaaaar KKKapoor.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Openssl AES encryption example by John</title>
		<link>http://saju.net.in/blog/?p=36&#038;cpage=1#comment-4868</link>
		<dc:creator>John</dc:creator>
		<pubDate>Fri, 09 Apr 2010 22:50:42 +0000</pubDate>
		<guid isPermaLink="false">http://saju.net.in/blog/?p=36#comment-4868</guid>
		<description>Minor point...
This line of code in aes_init():
    printf(&quot;Key size is %d bits - should be 256 bits\n&quot;, i);
should be:
    printf(&quot;Key size is %d bits - should be 256 bits\n&quot;, i*8);</description>
		<content:encoded><![CDATA[<p>Minor point&#8230;<br />
This line of code in aes_init():<br />
    printf(&#8221;Key size is %d bits &#8211; should be 256 bits\n&#8221;, i);<br />
should be:<br />
    printf(&#8221;Key size is %d bits &#8211; should be 256 bits\n&#8221;, i*8);</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Actionscript 3 port of openssl&#8217;s AES cipher by Saju</title>
		<link>http://saju.net.in/blog/?p=44&#038;cpage=1#comment-4826</link>
		<dc:creator>Saju</dc:creator>
		<pubDate>Mon, 29 Mar 2010 09:25:26 +0000</pubDate>
		<guid isPermaLink="false">http://saju.net.in/blog/?p=44#comment-4826</guid>
		<description>http://saju.net.in/code/aes_as3/example.as - shows how to uses these classes. To talk to Java you will have to setup a method to communicate between your AS3 program &amp; your Java program. You can usually do this using sockets or files</description>
		<content:encoded><![CDATA[<p><a href="http://saju.net.in/code/aes_as3/example.as" rel="nofollow">http://saju.net.in/code/aes_as3/example.as</a> &#8211; shows how to uses these classes. To talk to Java you will have to setup a method to communicate between your AS3 program &#038; your Java program. You can usually do this using sockets or files</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Actionscript 3 port of openssl&#8217;s AES cipher by Corneliu Bogdan</title>
		<link>http://saju.net.in/blog/?p=44&#038;cpage=1#comment-4821</link>
		<dc:creator>Corneliu Bogdan</dc:creator>
		<pubDate>Sun, 28 Mar 2010 20:11:57 +0000</pubDate>
		<guid isPermaLink="false">http://saju.net.in/blog/?p=44#comment-4821</guid>
		<description>Hello,

I&#039;m also interested in this. Could you please send me too an example? I would like to use this between AS3 and Java.

Thank you,
Corneliu</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I&#8217;m also interested in this. Could you please send me too an example? I would like to use this between AS3 and Java.</p>
<p>Thank you,<br />
Corneliu</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Openssl AES encryption example by Saju</title>
		<link>http://saju.net.in/blog/?p=36&#038;cpage=1#comment-4733</link>
		<dc:creator>Saju</dc:creator>
		<pubDate>Tue, 16 Mar 2010 03:59:33 +0000</pubDate>
		<guid isPermaLink="false">http://saju.net.in/blog/?p=36#comment-4733</guid>
		<description>EVP_EncryptUpdate() modifies c_len to the actual amount of data written. TEVP_EncryptUpdate() cannot write more than *len + AES_BLOCK_SIZE.  EVP_EncryptFinal_ex() writes the final bytes if any are needed, i.e if EVP_EncryptUpdate() has written out the entire cipher text EVP_EncryptFinal() will not write any bytes. i.e c_len + f_len &lt;= *len + AES_BLOCK_SIZE is guaranteed by the apis.</description>
		<content:encoded><![CDATA[<p>EVP_EncryptUpdate() modifies c_len to the actual amount of data written. TEVP_EncryptUpdate() cannot write more than *len + AES_BLOCK_SIZE.  EVP_EncryptFinal_ex() writes the final bytes if any are needed, i.e if EVP_EncryptUpdate() has written out the entire cipher text EVP_EncryptFinal() will not write any bytes. i.e c_len + f_len &lt;= *len + AES_BLOCK_SIZE is guaranteed by the apis.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Openssl AES encryption example by Timeon</title>
		<link>http://saju.net.in/blog/?p=36&#038;cpage=1#comment-4728</link>
		<dc:creator>Timeon</dc:creator>
		<pubDate>Mon, 15 Mar 2010 22:12:16 +0000</pubDate>
		<guid isPermaLink="false">http://saju.net.in/blog/?p=36#comment-4728</guid>
		<description>Saju, First, thanks for a great post. Second a question. I&#039;m a little confused by the memory allocation in aes_encrypt. 

c_len is allocated for ciphertext, however, appereantly c_len + f_len bytes are written into it.</description>
		<content:encoded><![CDATA[<p>Saju, First, thanks for a great post. Second a question. I&#8217;m a little confused by the memory allocation in aes_encrypt. </p>
<p>c_len is allocated for ciphertext, however, appereantly c_len + f_len bytes are written into it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Openssl AES encryption example by Ge0rge</title>
		<link>http://saju.net.in/blog/?p=36&#038;cpage=1#comment-4678</link>
		<dc:creator>Ge0rge</dc:creator>
		<pubDate>Thu, 11 Mar 2010 15:40:59 +0000</pubDate>
		<guid isPermaLink="false">http://saju.net.in/blog/?p=36#comment-4678</guid>
		<description>Thanks for the great work Saju! You helped me really much:) 
I have some problems with compilling,i am getting these errors:

newmain.c:62: error: ‘AES_BLOCK_SIZE’ undeclared (first use in this function)
newmain.c:62: error: (Each undeclared identifier is reported only once
newmain.c:62: error: for each function it appears in.)

As you can see all are at the line :
  int c_len = *len + AES_BLOCK_SIZE, f_len = 0;

I have tried the printf command you told to george but it didn&#039;t work:(
Also i have checked the openssl/opensslconf.h and i can&#039;t find anything about OPENSSL_NO_AES.I have find it at openssl/evp.h like this:
#ifndef OPENSSL_NO_AES
const EVP_CIPHER *EVP_aes_128_ecb(void);
const EVP_CIPHER *EVP_aes_128_cbc(void);
const EVP_CIPHER *EVP_aes_128_cfb1(void);
const EVP_CIPHER *EVP_aes_128_cfb8(void);
const EVP_CIPHER *EVP_aes_128_cfb128(void);
# define EVP_aes_128_cfb EVP_aes_128_cfb128
const EVP_CIPHER *EVP_aes_128_ofb(void);

Thanks for the help anyway :-)</description>
		<content:encoded><![CDATA[<p>Thanks for the great work Saju! You helped me really much:)<br />
I have some problems with compilling,i am getting these errors:</p>
<p>newmain.c:62: error: ‘AES_BLOCK_SIZE’ undeclared (first use in this function)<br />
newmain.c:62: error: (Each undeclared identifier is reported only once<br />
newmain.c:62: error: for each function it appears in.)</p>
<p>As you can see all are at the line :<br />
  int c_len = *len + AES_BLOCK_SIZE, f_len = 0;</p>
<p>I have tried the printf command you told to george but it didn&#8217;t work:(<br />
Also i have checked the openssl/opensslconf.h and i can&#8217;t find anything about OPENSSL_NO_AES.I have find it at openssl/evp.h like this:<br />
#ifndef OPENSSL_NO_AES<br />
const EVP_CIPHER *EVP_aes_128_ecb(void);<br />
const EVP_CIPHER *EVP_aes_128_cbc(void);<br />
const EVP_CIPHER *EVP_aes_128_cfb1(void);<br />
const EVP_CIPHER *EVP_aes_128_cfb8(void);<br />
const EVP_CIPHER *EVP_aes_128_cfb128(void);<br />
# define EVP_aes_128_cfb EVP_aes_128_cfb128<br />
const EVP_CIPHER *EVP_aes_128_ofb(void);</p>
<p>Thanks for the help anyway :-)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
