<?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 How to compile the program calling the cryptography libraries i in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-compile-the-program-calling-the-cryptography-libraries-in/m-p/866714#M8409</link>
    <description>Thank you, Paul&lt;BR /&gt;I am sorry that I didn't mention I hadinstalled crytography library seperately above,but your answer gives me some ideas.&lt;BR /&gt;&lt;BR /&gt;The path I install IPP library is :/opt/intel/ipp/6.1.2.051/em64t&lt;BR /&gt;The path I install cryptography library is :/opt/intel/ipp/6.1.2.051/em64t/l_crypto_ipp_em64t_p_6.1.2.051&lt;BR /&gt;&lt;BR /&gt;WhenI compile the command:&lt;BR /&gt;gcc -o TestIpp TestIpp.c -I /opt/intel/ipp/6.1.2.051/em64t/include -L /opt/intel/ipp/6.1.2.051/em64t/sharedlib -lippiem64t -lippsem64t -lippcoreem64t -liomp5 -lm -lpthread&lt;BR /&gt;&lt;BR /&gt;Then the errors return:&lt;BR /&gt;TestIpp.c:(.text+0x1d5): undefined reference to `ippsRijndael256GetSize'&lt;BR /&gt;TestIpp.c:(.text+0x1fc): undefined reference to `ippsRijndael256Init'&lt;BR /&gt;TestIpp.c:(.text+0x22e): undefined reference to `ippsRijndael256EncryptCFB'&lt;BR /&gt;&lt;BR /&gt;Is it because the program doesn't link to the cryptography library?&lt;BR /&gt;And when I compile the main.c in the page of &lt;A href="mailto:intel@ipp"&gt;intel@ipp&lt;/A&gt; install guide, it runs correctly.&lt;BR /&gt;Thanks for the valuable suggestions~&lt;BR /&gt;</description>
    <pubDate>Sat, 20 Mar 2010 03:43:55 GMT</pubDate>
    <dc:creator>Chen_Chen</dc:creator>
    <dc:date>2010-03-20T03:43:55Z</dc:date>
    <item>
      <title>How to compile the program calling the cryptography libraries in amd 64bits machine...</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-compile-the-program-calling-the-cryptography-libraries-in/m-p/866709#M8404</link>
      <description>&lt;P&gt;hi,everybody,&lt;/P&gt;
&lt;P&gt;I have finished a program calling the cryptography library in AMD64 bits machine.But I come across a trouble that I have no idea how to compile it to see whether it is right or not.It bores me a long time.&lt;/P&gt;
&lt;P&gt;If someone knows the answer,can you tell me how to fix it?&lt;/P&gt;
&lt;P&gt;Thanks~&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2010 08:33:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-compile-the-program-calling-the-cryptography-libraries-in/m-p/866709#M8404</guid>
      <dc:creator>Chen_Chen</dc:creator>
      <dc:date>2010-03-19T08:33:19Z</dc:date>
    </item>
    <item>
      <title>How to compile the program calling the cryptography libraries i</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-compile-the-program-calling-the-cryptography-libraries-in/m-p/866710#M8405</link>
      <description>use a 64bit compiler</description>
      <pubDate>Fri, 19 Mar 2010 12:43:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-compile-the-program-calling-the-cryptography-libraries-in/m-p/866710#M8405</guid>
      <dc:creator>renegr</dc:creator>
      <dc:date>2010-03-19T12:43:53Z</dc:date>
    </item>
    <item>
      <title>How to compile the program calling the cryptography libraries i</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-compile-the-program-calling-the-cryptography-libraries-in/m-p/866711#M8406</link>
      <description>&lt;P&gt;Can gcc compile the program?&lt;BR /&gt;I run the command "gcc -o TestIpp TestIpp.c -I /opt/intel/ipp/6.1.2.051/em64t/include -L /opt/intel/ipp/6.1.2.051/em64t/sharedlib -lippiem64t -lippsem64t -lippcoreem64t -liomp5 -lm -lpthread"&lt;BR /&gt;Then,it returns some errors:&lt;/P&gt;
&lt;P&gt;TestIpp.c:(.text+0x1d5): undefined reference to `ippsRijndael256GetSize'&lt;/P&gt;
&lt;P&gt;TestIpp.c:(.text+0x1fc): undefined reference to `ippsRijndael256Init'&lt;/P&gt;
&lt;P&gt;TestIpp.c:(.text+0x22e): undefined reference to `ippsRijndael256EncryptCFB'&lt;BR /&gt;&lt;BR /&gt;it seems that the program doesn't link to the cryptography library, but I don't konw how to deal with it next&lt;BR /&gt;Can someone help me ?&lt;BR /&gt;Thank you ~&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2010 13:34:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-compile-the-program-calling-the-cryptography-libraries-in/m-p/866711#M8406</guid>
      <dc:creator>Chen_Chen</dc:creator>
      <dc:date>2010-03-19T13:34:01Z</dc:date>
    </item>
    <item>
      <title>How to compile the program calling the cryptography libraries i</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-compile-the-program-calling-the-cryptography-libraries-in/m-p/866712#M8407</link>
      <description>Hello Chen,&lt;BR /&gt;&lt;BR /&gt;I don't see a reference to the crypto library in your link list. The crypto libraries are a separate download, they are not included with the standard IPP library package. Visit this page in the IPP knowledge base:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/articles/download-ipp-cryptography-libraries/"&gt;Where Do I Download The Intel Ipp Cryptography Libraries&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;for information on how to download a copy of the crypto library add-on. Note that you must download and install the version of the crypto libraries that matches your IPP library. For example, if you installed IPP as part of the Intel Compiler Pro package then you need to download and install the Intel Compiler Pro Crypto library. The crypto add-on package will only install on top of its matching IPP installation.&lt;BR /&gt;&lt;BR /&gt;Paul</description>
      <pubDate>Fri, 19 Mar 2010 16:37:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-compile-the-program-calling-the-cryptography-libraries-in/m-p/866712#M8407</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2010-03-19T16:37:38Z</dc:date>
    </item>
    <item>
      <title>How to compile the program calling the cryptography libraries i</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-compile-the-program-calling-the-cryptography-libraries-in/m-p/866713#M8408</link>
      <description>Addtionally, as you may know that the Intel IPP supports both GCC and Intel Compiler, you can also choose Intel Compiler for Intel 64 platform to build IPP application. As Paul mentioned above, Intel IPP is part of Intel Compiler Pro package. &lt;BR /&gt;&lt;BR /&gt;Finally, I noticed that you are using Intel IPP 6.1 update 2, you may check out the &lt;A target="_blank" href="http://software.intel.com/en-us/forums/showthread.php?t=69675&amp;amp;o=d&amp;amp;s=lr"&gt;latest 6.1 update 4&lt;/A&gt; and download the libraries from &lt;A target="_blank" href="http://registrationcenter.intel.com"&gt;Intel Registration Center &lt;/A&gt;and upgrade it with your valid Intel IPP license.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Ying</description>
      <pubDate>Fri, 19 Mar 2010 20:40:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-compile-the-program-calling-the-cryptography-libraries-in/m-p/866713#M8408</guid>
      <dc:creator>Ying_S_Intel</dc:creator>
      <dc:date>2010-03-19T20:40:11Z</dc:date>
    </item>
    <item>
      <title>How to compile the program calling the cryptography libraries i</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-compile-the-program-calling-the-cryptography-libraries-in/m-p/866714#M8409</link>
      <description>Thank you, Paul&lt;BR /&gt;I am sorry that I didn't mention I hadinstalled crytography library seperately above,but your answer gives me some ideas.&lt;BR /&gt;&lt;BR /&gt;The path I install IPP library is :/opt/intel/ipp/6.1.2.051/em64t&lt;BR /&gt;The path I install cryptography library is :/opt/intel/ipp/6.1.2.051/em64t/l_crypto_ipp_em64t_p_6.1.2.051&lt;BR /&gt;&lt;BR /&gt;WhenI compile the command:&lt;BR /&gt;gcc -o TestIpp TestIpp.c -I /opt/intel/ipp/6.1.2.051/em64t/include -L /opt/intel/ipp/6.1.2.051/em64t/sharedlib -lippiem64t -lippsem64t -lippcoreem64t -liomp5 -lm -lpthread&lt;BR /&gt;&lt;BR /&gt;Then the errors return:&lt;BR /&gt;TestIpp.c:(.text+0x1d5): undefined reference to `ippsRijndael256GetSize'&lt;BR /&gt;TestIpp.c:(.text+0x1fc): undefined reference to `ippsRijndael256Init'&lt;BR /&gt;TestIpp.c:(.text+0x22e): undefined reference to `ippsRijndael256EncryptCFB'&lt;BR /&gt;&lt;BR /&gt;Is it because the program doesn't link to the cryptography library?&lt;BR /&gt;And when I compile the main.c in the page of &lt;A href="mailto:intel@ipp"&gt;intel@ipp&lt;/A&gt; install guide, it runs correctly.&lt;BR /&gt;Thanks for the valuable suggestions~&lt;BR /&gt;</description>
      <pubDate>Sat, 20 Mar 2010 03:43:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-compile-the-program-calling-the-cryptography-libraries-in/m-p/866714#M8409</guid>
      <dc:creator>Chen_Chen</dc:creator>
      <dc:date>2010-03-20T03:43:55Z</dc:date>
    </item>
    <item>
      <title>How to compile the program calling the cryptography libraries i</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-compile-the-program-calling-the-cryptography-libraries-in/m-p/866715#M8410</link>
      <description>Thank you,Ying&lt;BR /&gt;I add "-lippcpem64t" in the command and then it works.&lt;BR /&gt;Then command is as follows:&lt;BR /&gt;&lt;BR /&gt;g++ -o TestIpp TestIpp.c -I /opt/intel/ipp/6.1.2.051/em64t/include -L /opt/intel/ipp/6.1.2.051/em64t/sharedlib -lippiem64t -lippsem64t -lippcoreem64t -lippcpem64t -liomp5 -lm -lpthread&lt;BR /&gt;&lt;BR /&gt;Then it words~It's amazing&lt;BR /&gt;But I am surprise to find that the performance of IPP cryptography function is bad.&lt;BR /&gt;Is it because that the processor is AMD64bits or the command is wrong?&lt;BR /&gt;&lt;BR /&gt;Call for help~&lt;BR /&gt;Thanks</description>
      <pubDate>Sat, 20 Mar 2010 08:13:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-compile-the-program-calling-the-cryptography-libraries-in/m-p/866715#M8410</guid>
      <dc:creator>Chen_Chen</dc:creator>
      <dc:date>2010-03-20T08:13:49Z</dc:date>
    </item>
    <item>
      <title>How to compile the program calling the cryptography libraries i</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-compile-the-program-calling-the-cryptography-libraries-in/m-p/866716#M8411</link>
      <description>&lt;P&gt;Hello Chen,&lt;/P&gt;
&lt;P&gt;Not sure what you mean by "...or the command is wrong?" If you are referring to your the "g++" command line, it appears that everything is okay. Did you get any other compile or link errors?&lt;/P&gt;
&lt;P&gt;What are you measuring your performance against?&lt;/P&gt;
&lt;P&gt;The performance you get is SIMD architecture dependent; that is, different SSE instruction architectures can give different performance results. For example, the performance on a processor that supports AES-NI is different than the that on a machine that supports SSE4.1 versus SSSE3 versus SSE2, etc. You can compile and run the CPUINFO sample to see which SIMD architecture the library detects your machine to support.&lt;/P&gt;
&lt;P&gt;Perhaps you need to use the ippInit() function?&lt;/P&gt;
&lt;P&gt;Please review these two articles for more information about the dispatching feature of the library:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://software.intel.com/en-us/articles/intel-integrated-performance-primitives-intel-ipp-understanding-cpu-optimized-code-used-in-intel-ipp/"&gt;Understanding CPU Dispatching in the Intel IPP Library&lt;/A&gt; &lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/articles/ipp-dispatcher-control-functions-ippinit-functions/"&gt;IPP Dispatcher Control Functions - ipp*Init*() functions&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2010 21:47:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-compile-the-program-calling-the-cryptography-libraries-in/m-p/866716#M8411</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2010-03-22T21:47:57Z</dc:date>
    </item>
    <item>
      <title>How to compile the program calling the cryptography libraries i</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-compile-the-program-calling-the-cryptography-libraries-in/m-p/866717#M8412</link>
      <description>&lt;P&gt;hello,Paul,&lt;BR /&gt;Thanks very much for your detail help !&lt;BR /&gt;&lt;BR /&gt;Now I am testing the performance of &lt;A href="mailto:Intel@IPP"&gt;Intel@IPP&lt;/A&gt; cryptography library against OpenSSL cryptography functions.&lt;BR /&gt;&lt;BR /&gt;I have read the article titled "Boosting Cryptography Performance with Intel_ Libraries - Intel_ Software" and amazed to the performance of &lt;A href="mailto:Intel@IPP"&gt;Intel@IPP&lt;/A&gt; cryptography functions , so I want to have a try.&lt;BR /&gt;&lt;BR /&gt;The machine I am using is the AMD-64bits processor.Buttheresult is notsatisfy me.Even though I add ippInit() function,butthe performancedoesn't improve very much.&lt;BR /&gt;&lt;BR /&gt;Some part of my program is as follows:&lt;/P&gt;
&lt;P&gt;ippsRijndael256GetSize(&amp;amp;ctxsize);&lt;BR /&gt;IppsRijndael256Spec* pCtx = (IppsRijndael256Spec*)(new Ipp8u [ctxsize]);&lt;BR /&gt;ippsRijndael256Init(key,IppsRijndaelKey256,pCtx);&lt;BR /&gt;ippsRijndael256EncryptCFB(plaintext,ciphertext,len,32,pCtx,iv,IppsCPPaddingNONE);&lt;BR /&gt;&lt;BR /&gt;It does works, but the performance is worse than OpenSSL functions.&lt;BR /&gt;Can you tell me the reasons?&lt;BR /&gt;Thank you ~&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2010 03:57:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-compile-the-program-calling-the-cryptography-libraries-in/m-p/866717#M8412</guid>
      <dc:creator>Chen_Chen</dc:creator>
      <dc:date>2010-03-23T03:57:03Z</dc:date>
    </item>
    <item>
      <title>How to compile the program calling the cryptography libraries i</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-compile-the-program-calling-the-cryptography-libraries-in/m-p/866718#M8413</link>
      <description>&lt;P&gt;I have found the reason.&lt;BR /&gt;&lt;BR /&gt;The performance is not very goodhas something to do with the processor, when I run the same program on a machine with Inter xeon processor ,the performance improve.&lt;BR /&gt;&lt;BR /&gt;However,the performanceof &lt;A href="mailto:Intel@IPP"&gt;Intel@IPP&lt;/A&gt; is just a little higher than that of Openssl,about 2% higher in my test.Thetest is to measure the cost time of encrypt. Some of my codes are as follows:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ippInit();&lt;BR /&gt;...&lt;BR /&gt;...&lt;BR /&gt;ippsRijndael256GetSize(&amp;amp;ctxsize);&lt;BR /&gt;IppsRijndael256Spec* pCtx = (IppsRijndael256Spec*)(new Ipp8u [ctxsize]);&lt;BR /&gt;ippsRijndael256Init(key,IppsRijndaelKey256,pCtx);&lt;BR /&gt;ippsRijndael256EncryptCFB(plaintext,ciphertext,len,32,pCtx,iv,IppsCPPaddingNONE);&lt;BR /&gt;...&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I am puzzled with the result.&lt;BR /&gt;&lt;BR /&gt;Wait for someone's help~&lt;BR /&gt;Thanks~&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2010 14:12:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-compile-the-program-calling-the-cryptography-libraries-in/m-p/866718#M8413</guid>
      <dc:creator>Chen_Chen</dc:creator>
      <dc:date>2010-03-25T14:12:53Z</dc:date>
    </item>
    <item>
      <title>How to compile the program calling the cryptography libraries i</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-compile-the-program-calling-the-cryptography-libraries-in/m-p/866719#M8414</link>
      <description>working with Update 5, OpenSSL 0.9.8n, em64t: having a number of problems that might be due to the age of the IPP/OpenSSL provided patch. I've gotten as far as a number of unsatisfied externals, but I've had to work around a few problems to get this far. The non-patched version builds OK . I've tested the unpatched library using a Fortran example that  links and runs correctly for MD5 sums.

w_ipp-samples-cryptography_p_6.1.2.051.zip. I just checked w_ipp-samples-cryptography_p_6.1.5.060.zip and it appears to have the same patch as .051.

I worked on SHA256 and it's not one of the unsatisfed externals below. Otherwise there weren't any fatal compile errors. I checked sha256.obj and found entry points for SHA256_Update and SHA256_Final. The corresponding entry points are not present in sha512.obj.

	rc /fo"tmp32dll\libeay32.res" /d CRYPTO ms\version32.rc
Microsoft  Windows  Resource Compiler Version 6.1.7600.16385

Copyright (C) Microsoft Corporation.  All rights reserved.


	link /nologo /subsystem:console /opt:ref /dll /out:out32dll\libeay32.dll /def:ms/LIBEAY32.def @C:\Users\art\AppData\Local\Temp\nmBF0A.tmp
LIBEAY32.def : error LNK2001: unresolved external symbol MD4_Final
LIBEAY32.def : error LNK2001: unresolved external symbol MD4_Update
LIBEAY32.def : error LNK2001: unresolved external symbol MD5_Final
LIBEAY32.def : error LNK2001: unresolved external symbol MD5_Update
LIBEAY32.def : error LNK2001: unresolved external symbol RIPEMD160_Final
LIBEAY32.def : error LNK2001: unresolved external symbol RIPEMD160_Update
LIBEAY32.def : error LNK2001: unresolved external symbol SHA384
LIBEAY32.def : error LNK2001: unresolved external symbol SHA384_Final
LIBEAY32.def : error LNK2001: unresolved external symbol SHA384_Update
LIBEAY32.def : error LNK2001: unresolved external symbol SHA512
LIBEAY32.def : error LNK2001: unresolved external symbol SHA512_Final
LIBEAY32.def : error LNK2001: unresolved external symbol SHA512_Transform
LIBEAY32.def : error LNK2001: unresolved external symbol SHA512_Update
LIBEAY32.def : error LNK2001: unresolved external symbol SHA_Final
LIBEAY32.def : error LNK2001: unresolved external symbol SHA_Update
out32dll\libeay32.lib : fatal error LNK1120: 15 unresolved externals

TIA,

Art</description>
      <pubDate>Tue, 20 Apr 2010 03:03:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-compile-the-program-calling-the-cryptography-libraries-in/m-p/866719#M8414</guid>
      <dc:creator>ALaza1</dc:creator>
      <dc:date>2010-04-20T03:03:49Z</dc:date>
    </item>
  </channel>
</rss>

