<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: IppsMD5State is not  defined in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/IppsMD5State-is-not-defined/m-p/865046#M8249</link>
    <description>&lt;P&gt;Hi Chi-Chang,&lt;/P&gt;
&lt;P&gt;What version of IPP do you use? How do you link IPP into your application, statically or dynamically? What was operation system and hardware platform you run test on? Do you get stable results? Usually, when you measure performance, results can fluctuate a bit, especially in multitasking environment, so accuracy of measurement is important.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
    <pubDate>Thu, 17 May 2007 06:32:42 GMT</pubDate>
    <dc:creator>Vladimir_Dudnik</dc:creator>
    <dc:date>2007-05-17T06:32:42Z</dc:date>
    <item>
      <title>IppsMD5State is not  defined</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IppsMD5State-is-not-defined/m-p/865042#M8245</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;I wrote a small MD5 test program as below:&lt;BR /&gt;&lt;BR /&gt;-----------------------------&lt;BR /&gt;#include &lt;IPPCP.H&gt;&lt;BR /&gt;&lt;BR /&gt;#define BUFSIZE 1024*16&lt;BR /&gt;&lt;BR /&gt;static unsigned char buf[BUFSIZE];&lt;BR /&gt;&lt;BR /&gt;int main(int argc, char **argv)&lt;BR /&gt;{&lt;BR /&gt; IppsMD5State ctx;&lt;BR /&gt; unsigned char digest[MD5_DIGEST_LENGTH];&lt;BR /&gt; int data_size = 16*1024;&lt;BR /&gt; int i, num_iterations = 1000000;&lt;BR /&gt;&lt;BR /&gt; if (argc &amp;gt; 1) {&lt;BR /&gt; data_size = atoi(argv[1]);&lt;BR /&gt; num_iterations = atoi(argv[2]);&lt;BR /&gt; }&lt;BR /&gt;&lt;BR /&gt; ippsMD5Init(&amp;amp;ctx);&lt;BR /&gt; for (i = 0; i &amp;lt; num_iterations; i++) {&lt;BR /&gt; ippsMD5Update(buf, data_size, &amp;amp;ctx);&lt;BR /&gt; }&lt;BR /&gt; ippsMD5Final(digest, &amp;amp;ctx);&lt;BR /&gt;}&lt;BR /&gt;-------------------------------&lt;BR /&gt;&lt;BR /&gt;However, when I compiled it, I got the error below:&lt;/IPPCP.H&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;# make&lt;BR /&gt;gcc -I/opt/intel/ipp/5.1/em64t/include md5test.c&lt;BR /&gt;md5test.c: In function `main':&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;&lt;B&gt;md5test.c:10: error: storage size of 'ctx' isn't known&lt;BR /&gt;&lt;/B&gt;make: *** [md5_speed_test] Error 1&lt;BR /&gt;&lt;BR /&gt;I searched all the header files under &lt;/FONT&gt;/opt/intel/ipp/5.1/em64t/include,&lt;BR /&gt;and I saw ippcp.h has:&lt;/P&gt;
&lt;P&gt; typedef struct _cpMD5 IppsMD5State;&lt;/P&gt;
&lt;P&gt;but 'struct _cpMD5' is not defined anywhere. Did I miss something?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Chi-Chang Lin&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 May 2007 22:04:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IppsMD5State-is-not-defined/m-p/865042#M8245</guid>
      <dc:creator>Chi-Chang_L_</dc:creator>
      <dc:date>2007-05-01T22:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: IppsMD5State is not  defined</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IppsMD5State-is-not-defined/m-p/865043#M8246</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;This is a reply to myself :-)&lt;/P&gt;
&lt;P&gt;After reading the doc more carefully, I found that I need to use&lt;/P&gt;
&lt;P&gt; ippsMD5GetSize(&amp;amp;ctx_size)&lt;/P&gt;
&lt;P&gt;to get the context size and malloc one. &lt;/P&gt;
&lt;P&gt;thanks,&lt;/P&gt;
&lt;P&gt;Chi-Chang Lin&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2007 01:06:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IppsMD5State-is-not-defined/m-p/865043#M8246</guid>
      <dc:creator>Chi-Chang_L_</dc:creator>
      <dc:date>2007-05-02T01:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: IppsMD5State is not  defined</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IppsMD5State-is-not-defined/m-p/865044#M8247</link>
      <description>&lt;P&gt;Hi Chi-Chang&lt;/P&gt;
&lt;P&gt;yes, sometimes documentation can help:)&lt;/P&gt;
&lt;P&gt;Please let us know your feeling regarding IPP functionality and performance. What do you find useful, what do you think is missed? What you want to be improved?&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2007 16:26:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IppsMD5State-is-not-defined/m-p/865044#M8247</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2007-05-04T16:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: IppsMD5State is not  defined</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IppsMD5State-is-not-defined/m-p/865045#M8248</link>
      <description>&lt;P&gt;Hi Vladimir,&lt;/P&gt;
&lt;P&gt;I compared the MD5 in IPP with that in OpenSSL 0.9.8e, and I found that OpenSSL 0.9.8e has 3% advantage on a Woodcrest box. The OpenSSL MD5 implementation was from &lt;/P&gt;
&lt;P&gt; &lt;A href="http://etud.epita.fr/~bevand_m/papers/md5-amd64.html"&gt;http://etud.epita.fr/~bevand_m/papers/md5-amd64.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Do you have more insight on this?&lt;/P&gt;
&lt;P&gt;thanks,&lt;/P&gt;
&lt;P&gt;Chi-Chang &lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2007 23:09:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IppsMD5State-is-not-defined/m-p/865045#M8248</guid>
      <dc:creator>Chi-Chang_L_</dc:creator>
      <dc:date>2007-05-15T23:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: IppsMD5State is not  defined</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IppsMD5State-is-not-defined/m-p/865046#M8249</link>
      <description>&lt;P&gt;Hi Chi-Chang,&lt;/P&gt;
&lt;P&gt;What version of IPP do you use? How do you link IPP into your application, statically or dynamically? What was operation system and hardware platform you run test on? Do you get stable results? Usually, when you measure performance, results can fluctuate a bit, especially in multitasking environment, so accuracy of measurement is important.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2007 06:32:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IppsMD5State-is-not-defined/m-p/865046#M8249</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2007-05-17T06:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: IppsMD5State is not  defined</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IppsMD5State-is-not-defined/m-p/865047#M8250</link>
      <description>Hi Vladimir,&lt;BR /&gt;&lt;BR /&gt;I used IPP 5.1&lt;BR /&gt;&lt;BR /&gt;The test program was linked dynamically as this:&lt;BR /&gt;&lt;BR /&gt; gcc -I/opt/intel/ipp/5.1/em64t/include md5_test.c -o md5_test -L/opt/intel/ipp/5.1/em64t/sharedlib -l ippcpem64t -l ippcoreem64t -l guide -l pthread&lt;BR /&gt;&lt;BR /&gt;The OS was RHEL with kernel 2.6.18. Hw platform was Dell PowerEdge 2950 with Woodcrest core.&lt;BR /&gt;&lt;BR /&gt;This was a single-tjhreaded test program (as in my first post; differnt APIs were used for OpenSSL and for IPP). Results were stable and consistent.&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;Chi-Chang &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 18 May 2007 07:46:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IppsMD5State-is-not-defined/m-p/865047#M8250</guid>
      <dc:creator>Chi-Chang_L_</dc:creator>
      <dc:date>2007-05-18T07:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: IppsMD5State is not  defined</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IppsMD5State-is-not-defined/m-p/865048#M8251</link>
      <description>&lt;P&gt;Hello Chi-Chang,&lt;/P&gt;
&lt;P&gt;our experts were able to reproduce the issue, we working on it, thanks for reporting.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2007 19:46:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IppsMD5State-is-not-defined/m-p/865048#M8251</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2007-06-11T19:46:35Z</dc:date>
    </item>
  </channel>
</rss>

