<?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 Cryptography unresolved external symbol in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Cryptography-unresolved-external-symbol/m-p/1049656#M23970</link>
    <description>&lt;P&gt;I installed T&lt;STRONG&gt;rial&lt;/STRONG&gt; Composer 15 Desktop and IPP and Cryptography lib 8.2. I have found below code. I run the code, there is no compilation error but there are &amp;nbsp;four link error like unresolved external symbol. &amp;nbsp;I searched some issues. Issues say that you must add lib called ippid.lib, libemerged ext. but there is no these libraries. How can I solve this problem.&lt;/P&gt;

&lt;P&gt;1&amp;gt;IntelRijndael.obj : error LNK2019: unresolved external symbol _ippsRijndael128GetSize@4 referenced in function _main&lt;BR /&gt;
	1&amp;gt;IntelRijndael.obj : error LNK2019: unresolved external symbol _ippsRijndael128Init@12 referenced in function _main&lt;BR /&gt;
	1&amp;gt;IntelRijndael.obj : error LNK2019: unresolved external symbol _ippsRijndael128EncryptCTR@24 referenced in function _main&lt;BR /&gt;
	1&amp;gt;IntelRijndael.obj : error LNK2019: unresolved external symbol _ippsRijndael128DecryptCTR@24 referenced in function _main&lt;BR /&gt;
	1&amp;gt;D:\RijndaelRefactoring\IntelDeneme\Debug\IntelRijndael.exe : fatal error LNK1120: 4 unresolved externals&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Code:&lt;/P&gt;

&lt;P&gt;// size of Rijndael-128 algorithm block is equal to 16&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;const int aesBlkSize = 16;&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// get the size of the context needed for the encryption/decryption operation&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;int ctxSize;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;ippsRijndael128GetSize(&amp;amp;ctxSize);&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// and allocate one&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;IppsRijndael128Spec* pCtx = (IppsRijndael128Spec*)( new Ipp8u [ctxSize] );&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// define the key&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;Ipp8u key[16] = {0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x08,0x09,0x10,0x11,0x12,0x13,0x14,0x15};&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// and prepare the context for Rijndael128 usage&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;ippsRijndael128Init(key,IppsRijndaelKey128, pCtx);&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// define the message to be encrypted&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;Ipp8u ptext[] = {"quick brown fox jupm over lazy dog"};&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; // define an initial vector&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;Ipp8u crt0[aesBlkSize] = {0xff,0xee,0xdd,0xcc,0xbb,0xaa,0x99,0x88, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;0x77,0x66,0x55,0x44,0x33,0x22,0x11,0x00};&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;Ipp8u &amp;nbsp;crt[aesBlkSize];&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// counter the variable number of bits&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;int ctrNumBitSize = 64;&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; // allocate enough memory for the ciphertext&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// note that&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// the size of the ciphertext is always equal to that of the planetext&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;Ipp8u ctext[sizeof(ptext)];&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// init the counter&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;memcpy(crt, crt0, sizeof(crt0));&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// encrypt (CTR mode) ptext message&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// pay attention to the 'length' parameter&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// it defines the number of bytes to be encrypted&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;memcpy(crt, crt0, sizeof(crt0));&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;ippsRijndael128EncryptCTR(ptext, ctext, sizeof(ptext),&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;pCtx,&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crt, ctrNumBitSize);&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// allocate memory for the decrypted message&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;Ipp8u rtext[sizeof(ptext)];&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// init the counter&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;memcpy(crt, crt0, sizeof(crt0));&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// decrypt (ECTR mode) ctext message&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// pay attention to the 'length' parameter&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// it defines the number of bytes to be decrypted&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;ippsRijndael128DecryptCTR(ctext, rtext, sizeof(ptext),&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;pCtx,&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crt, ctrNumBitSize);&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;delete (Ipp8u*)pCtx;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Sep 2014 07:22:59 GMT</pubDate>
    <dc:creator>ebubekir_t_</dc:creator>
    <dc:date>2014-09-15T07:22:59Z</dc:date>
    <item>
      <title>Cryptography unresolved external symbol</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Cryptography-unresolved-external-symbol/m-p/1049656#M23970</link>
      <description>&lt;P&gt;I installed T&lt;STRONG&gt;rial&lt;/STRONG&gt; Composer 15 Desktop and IPP and Cryptography lib 8.2. I have found below code. I run the code, there is no compilation error but there are &amp;nbsp;four link error like unresolved external symbol. &amp;nbsp;I searched some issues. Issues say that you must add lib called ippid.lib, libemerged ext. but there is no these libraries. How can I solve this problem.&lt;/P&gt;

&lt;P&gt;1&amp;gt;IntelRijndael.obj : error LNK2019: unresolved external symbol _ippsRijndael128GetSize@4 referenced in function _main&lt;BR /&gt;
	1&amp;gt;IntelRijndael.obj : error LNK2019: unresolved external symbol _ippsRijndael128Init@12 referenced in function _main&lt;BR /&gt;
	1&amp;gt;IntelRijndael.obj : error LNK2019: unresolved external symbol _ippsRijndael128EncryptCTR@24 referenced in function _main&lt;BR /&gt;
	1&amp;gt;IntelRijndael.obj : error LNK2019: unresolved external symbol _ippsRijndael128DecryptCTR@24 referenced in function _main&lt;BR /&gt;
	1&amp;gt;D:\RijndaelRefactoring\IntelDeneme\Debug\IntelRijndael.exe : fatal error LNK1120: 4 unresolved externals&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Code:&lt;/P&gt;

&lt;P&gt;// size of Rijndael-128 algorithm block is equal to 16&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;const int aesBlkSize = 16;&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// get the size of the context needed for the encryption/decryption operation&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;int ctxSize;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;ippsRijndael128GetSize(&amp;amp;ctxSize);&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// and allocate one&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;IppsRijndael128Spec* pCtx = (IppsRijndael128Spec*)( new Ipp8u [ctxSize] );&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// define the key&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;Ipp8u key[16] = {0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x08,0x09,0x10,0x11,0x12,0x13,0x14,0x15};&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// and prepare the context for Rijndael128 usage&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;ippsRijndael128Init(key,IppsRijndaelKey128, pCtx);&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// define the message to be encrypted&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;Ipp8u ptext[] = {"quick brown fox jupm over lazy dog"};&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; // define an initial vector&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;Ipp8u crt0[aesBlkSize] = {0xff,0xee,0xdd,0xcc,0xbb,0xaa,0x99,0x88, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;0x77,0x66,0x55,0x44,0x33,0x22,0x11,0x00};&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;Ipp8u &amp;nbsp;crt[aesBlkSize];&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// counter the variable number of bits&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;int ctrNumBitSize = 64;&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; // allocate enough memory for the ciphertext&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// note that&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// the size of the ciphertext is always equal to that of the planetext&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;Ipp8u ctext[sizeof(ptext)];&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// init the counter&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;memcpy(crt, crt0, sizeof(crt0));&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// encrypt (CTR mode) ptext message&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// pay attention to the 'length' parameter&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// it defines the number of bytes to be encrypted&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;memcpy(crt, crt0, sizeof(crt0));&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;ippsRijndael128EncryptCTR(ptext, ctext, sizeof(ptext),&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;pCtx,&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crt, ctrNumBitSize);&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// allocate memory for the decrypted message&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;Ipp8u rtext[sizeof(ptext)];&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// init the counter&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;memcpy(crt, crt0, sizeof(crt0));&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// decrypt (ECTR mode) ctext message&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// pay attention to the 'length' parameter&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;// it defines the number of bytes to be decrypted&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;ippsRijndael128DecryptCTR(ctext, rtext, sizeof(ptext),&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;pCtx,&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crt, ctrNumBitSize);&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;delete (Ipp8u*)pCtx;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Sep 2014 07:22:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Cryptography-unresolved-external-symbol/m-p/1049656#M23970</guid>
      <dc:creator>ebubekir_t_</dc:creator>
      <dc:date>2014-09-15T07:22:59Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Cryptography-unresolved-external-symbol/m-p/1049657#M23971</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;For this code example you need ippCP library that is not a part of trial version of Composer and should be installed separately. ippdi (data integrity) library doesn't have any relation to the code above.&lt;/P&gt;

&lt;P&gt;regards, Igor&lt;/P&gt;</description>
      <pubDate>Wed, 17 Sep 2014 09:19:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Cryptography-unresolved-external-symbol/m-p/1049657#M23971</guid>
      <dc:creator>Igor_A_Intel</dc:creator>
      <dc:date>2014-09-17T09:19:54Z</dc:date>
    </item>
    <item>
      <title>Thank you igor for your reply</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Cryptography-unresolved-external-symbol/m-p/1049658#M23972</link>
      <description>&lt;P&gt;Thank you igor for your reply. I understand &amp;nbsp;i&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;ppid.lib.&lt;/SPAN&gt; When I installed parallel_studio_xe_2015_setup.exe, ipp installed and then I installed cryptography lib separately. I can see ipp folder in my installation folder in C drive. I can see ippcp.lib also. But I have taken &amp;nbsp;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;unresolved externals symbol error like above. How can I solve this problem. I use vs studio 2012 and windows 7. &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Sep 2014 10:29:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Cryptography-unresolved-external-symbol/m-p/1049658#M23972</guid>
      <dc:creator>ebubekir_t_</dc:creator>
      <dc:date>2014-09-17T10:29:44Z</dc:date>
    </item>
    <item>
      <title>please show your Linker</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Cryptography-unresolved-external-symbol/m-p/1049659#M23973</link>
      <description>&lt;P&gt;please show your Linker Command Line from your project Configuration Properties -&amp;gt; Linker - it should contain ippcpmt.lib&lt;/P&gt;

&lt;P&gt;regards, Igor&lt;/P&gt;</description>
      <pubDate>Wed, 17 Sep 2014 15:40:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Cryptography-unresolved-external-symbol/m-p/1049659#M23973</guid>
      <dc:creator>Igor_A_Intel</dc:creator>
      <dc:date>2014-09-17T15:40:16Z</dc:date>
    </item>
    <item>
      <title>I made below settings in vs</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Cryptography-unresolved-external-symbol/m-p/1049660#M23974</link>
      <description>&lt;P&gt;I made below settings in vs 2012 but there are still link errors&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Configuration Properties -&amp;gt; C/C++ -&amp;gt;Additional Include Directories : i&lt;/SPAN&gt;ntel\Composer XE 2015\ipp\include;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Configuration Properties -&amp;gt; Linker -&amp;gt;Additional Library Directories : i&lt;/SPAN&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;ntel\Composer XE 2015\ipp\lib\intel64;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Configuration Properties -&amp;gt; Linker -&amp;gt;Input &amp;nbsp;&lt;/SPAN&gt;ippcore.lib;ippcp.lib;ippcpmt.lib&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2014 06:42:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Cryptography-unresolved-external-symbol/m-p/1049660#M23974</guid>
      <dc:creator>ebubekir_t_</dc:creator>
      <dc:date>2014-09-18T06:42:14Z</dc:date>
    </item>
    <item>
      <title>what kind of linking you need</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Cryptography-unresolved-external-symbol/m-p/1049661#M23975</link>
      <description>&lt;P&gt;what kind of linking you need - static or dynamic? ippcpmt.lib is static merged library while ippcp.lib is a stub lib for dynamic linking. So I see you have both in the command line, while you use stub lib for ippcore library... I think there should be either ippcore.lib, ippcp.lib (for dynamic linking - you'll need then ippcore.dll and ippcp.dll for application run), or ippcoremt.lib, ippcpmt.lib for static linking, but not some mix of them.&lt;/P&gt;

&lt;P&gt;regards, Igor&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2014 16:25:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Cryptography-unresolved-external-symbol/m-p/1049661#M23975</guid>
      <dc:creator>Igor_A_Intel</dc:creator>
      <dc:date>2014-09-18T16:25:47Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Cryptography-unresolved-external-symbol/m-p/1049662#M23976</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;if you would like to link with static, you should link with: ippcpmt.lib ippcoremt.lib&lt;/P&gt;

&lt;P&gt;if you would like to link with dynamic, you should link with: ippcp.lib ippcore.lib&lt;/P&gt;

&lt;P&gt;You should not mix static and dynamic libraries in link command!&lt;/P&gt;

&lt;P&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2014 18:41:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Cryptography-unresolved-external-symbol/m-p/1049662#M23976</guid>
      <dc:creator>Pavel_B_Intel1</dc:creator>
      <dc:date>2014-09-18T18:41:39Z</dc:date>
    </item>
    <item>
      <title>I use dynamic link.  I</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Cryptography-unresolved-external-symbol/m-p/1049663#M23977</link>
      <description>&lt;P&gt;I use dynamic link. &amp;nbsp;I deleted i&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;ppcpmt.lib and there are only &amp;nbsp;ippcp.lib ippcore.lib in linker input. My configuration is in below&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;What else should I do?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="font-size: 12px;"&gt;Configuration Properties -&amp;gt; C/C++ -&amp;gt;Additional Include Directories : intel\Composer XE 2015\ipp\include;&lt;/P&gt;

&lt;P style="font-size: 12px;"&gt;Configuration Properties -&amp;gt; Linker -&amp;gt;Additional Library Directories : intel\Composer XE 2015\ipp\lib\intel64;&lt;/P&gt;

&lt;P style="font-size: 12px;"&gt;Configuration Properties -&amp;gt; Linker -&amp;gt;Input &amp;nbsp;ippcore.lib;ippcp.lib;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2014 06:21:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Cryptography-unresolved-external-symbol/m-p/1049663#M23977</guid>
      <dc:creator>ebubekir_t_</dc:creator>
      <dc:date>2014-09-22T06:21:43Z</dc:date>
    </item>
    <item>
      <title>I guess you missed #include</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Cryptography-unresolved-external-symbol/m-p/1049664#M23978</link>
      <description>&lt;P&gt;I guess you missed #include "ippcp.h"&lt;/P&gt;

&lt;P&gt;I can compile your example without problems to add necessary includes:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;#include &amp;lt;memory.h&amp;gt;
#include &amp;lt;stdlib.h&amp;gt;
#include "ipp.h"
#include "ippcp.h"

int main()
{
   // size of Rijndael-128 algorithm block is equal to 16
   const int aesBlkSize = 16;

   // get the size of the context needed for the encryption/decryption operation
   int ctxSize;

   ippsRijndael128GetSize(&amp;amp;ctxSize);

   // and allocate one
   IppsRijndael128Spec* pCtx = (IppsRijndael128Spec*)( new Ipp8u [ctxSize] );

   // define the key
   Ipp8u key[16] = {0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,
                    0x08,0x09,0x10,0x11,0x12,0x13,0x14,0x15};

   // and prepare the context for Rijndael128 usage
   ippsRijndael128Init(key,IppsRijndaelKey128, pCtx);

   // define the message to be encrypted
   Ipp8u ptext[] = {"quick brown fox jupm over lazy dog"};

  // define an initial vector
   Ipp8u crt0[aesBlkSize] = {0xff,0xee,0xdd,0xcc,0xbb,0xaa,0x99,0x88,                         
                             0x77,0x66,0x55,0x44,0x33,0x22,0x11,0x00};

   Ipp8u  crt[aesBlkSize];

   // counter the variable number of bits
   int ctrNumBitSize = 64;

   // allocate enough memory for the ciphertext
   // note that
   // the size of the ciphertext is always equal to that of the planetext
   Ipp8u ctext[sizeof(ptext)];

   // init the counter
   memcpy(crt, crt0, sizeof(crt0));

   // encrypt (CTR mode) ptext message
   // pay attention to the 'length' parameter
   // it defines the number of bytes to be encrypted
   memcpy(crt, crt0, sizeof(crt0));

   ippsRijndael128EncryptCTR(ptext, ctext, sizeof(ptext),
                             pCtx,
                             crt, ctrNumBitSize);

   // allocate memory for the decrypted message
   Ipp8u rtext[sizeof(ptext)];

   // init the counter
   memcpy(crt, crt0, sizeof(crt0));

   // decrypt (ECTR mode) ctext message
   // pay attention to the 'length' parameter
   // it defines the number of bytes to be decrypted
   ippsRijndael128DecryptCTR(ctext, rtext, sizeof(ptext),
                             pCtx,
                             crt, ctrNumBitSize);

   delete (Ipp8u*)pCtx;

   return 0;
}&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2014 09:58:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Cryptography-unresolved-external-symbol/m-p/1049664#M23978</guid>
      <dc:creator>Pavel_B_Intel1</dc:creator>
      <dc:date>2014-09-23T09:58:40Z</dc:date>
    </item>
    <item>
      <title>Whatever I did,  I can not</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Cryptography-unresolved-external-symbol/m-p/1049665#M23979</link>
      <description>&lt;P&gt;Whatever I did, &amp;nbsp;I can not run this code. I always take a link error. should I add &amp;nbsp;to env. variables anyting.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Sep 2014 11:47:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Cryptography-unresolved-external-symbol/m-p/1049665#M23979</guid>
      <dc:creator>ebubekir_t_</dc:creator>
      <dc:date>2014-09-24T11:47:50Z</dc:date>
    </item>
    <item>
      <title>Did you try to build exactly</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Cryptography-unresolved-external-symbol/m-p/1049666#M23980</link>
      <description>&lt;P&gt;Did you try to build &lt;SPAN style="line-height: 19.5120010375977px;"&gt;exactly&amp;nbsp;&lt;/SPAN&gt;my example?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Sep 2014 14:20:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Cryptography-unresolved-external-symbol/m-p/1049666#M23980</guid>
      <dc:creator>Pavel_B_Intel1</dc:creator>
      <dc:date>2014-09-24T14:20:59Z</dc:date>
    </item>
  </channel>
</rss>

