<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>I cannot build project for AES ECB based on M52840.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39673/i-cannot-build-project-for-aes-ecb-based-on-m52840</link><description>Hi, 
 I wish to use AES ECB based on M52840. I use ble_app_uart example as template. 
 I enabled NRF_CRYPTO_ENABLED, NRF_CRYPTO_BACKEND_CC310_ENABLED and NRF_CRYPTO_BACKEND_CC310_AES_ECB_ENABLED. 
 The following is snippet. 
 #include &amp;quot;nrf_crypto_aes</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 27 Oct 2018 18:45:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39673/i-cannot-build-project-for-aes-ecb-based-on-m52840" /><item><title>RE: I cannot build project for AES ECB based on M52840.</title><link>https://devzone.nordicsemi.com/thread/154769?ContentTypeID=1</link><pubDate>Sat, 27 Oct 2018 18:45:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88b21b68-48f9-4290-adf6-471aee11f7d8</guid><dc:creator>hejianxuan</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Thanks for your great support!&lt;/p&gt;
&lt;p&gt;It is OK now.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jianxuan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I cannot build project for AES ECB based on M52840.</title><link>https://devzone.nordicsemi.com/thread/154341?ContentTypeID=1</link><pubDate>Wed, 24 Oct 2018 16:57:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbf3a2bd-238b-4bd3-98aa-ec40f2ef0e3b</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Jianxuan,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve included it as an attachment in my previous now, wasn&amp;#39;t able to do that earlier today for some reason.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I cannot build project for AES ECB based on M52840.</title><link>https://devzone.nordicsemi.com/thread/154336?ContentTypeID=1</link><pubDate>Wed, 24 Oct 2018 16:41:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67561ae5-c6b5-4ec8-ba2c-bf50446f6201</guid><dc:creator>hejianxuan</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Thanks for your kind support!&lt;/p&gt;
&lt;p&gt;I cannot access to dropbox website, which is forbidden.&lt;/p&gt;
&lt;p&gt;Could you share your project on Nordicsemi website?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jianxuan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I cannot build project for AES ECB based on M52840.</title><link>https://devzone.nordicsemi.com/thread/154251?ContentTypeID=1</link><pubDate>Wed, 24 Oct 2018 11:01:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34b4b0eb-4ada-4a7a-9227-36112a767710</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Jianxuan,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I have added nrf crypto/cc310 aes ecb to the ble_app_uart example in SDK 15.2.0 (&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-0c614b755773407d91a79503ce4ba1e4/ble_5F00_app_5F00_uart_5F00_cc310_5F00_aes.zip"&gt;devzone.nordicsemi.com/.../ble_5F00_app_5F00_uart_5F00_cc310_5F00_aes.zip&lt;/a&gt;).&amp;nbsp;You may &amp;quot;diff&amp;quot; sdk_config.h and the *emproject file against the original ble_app_uart example to see the changes I made.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;uECC is an external dependency, you can follow the instructions provided in &amp;quot;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/lib_crypto_backend_micro_ecc.html?cp=4_0_0_3_11_16_2"&gt;micro ecc backend&lt;/a&gt;&amp;quot; if you want to install it. However, it is not needed since you intend to use the cc310 (the example include support for all backends).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I cannot build project for AES ECB based on M52840.</title><link>https://devzone.nordicsemi.com/thread/154146?ContentTypeID=1</link><pubDate>Tue, 23 Oct 2018 14:33:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ba21b9d-cfce-453f-9ac4-bd886ac46dcc</guid><dc:creator>hejianxuan</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Thanks for your reply!&lt;/p&gt;
&lt;p&gt;According to your advice, I copy&amp;nbsp;c_user_include_directories from nrf_crypto_aes_pca10056.emProject and paste to my project. The same mistake is happened.&lt;/p&gt;
&lt;p&gt;I tried to build example of&amp;nbsp;&lt;span&gt;aes_all_cli, SES said:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;cannot find ../../../../../../../../external/micro-ecc/nrf52hf_armgcc/armgcc/micro_ecc_lib_nrf52.a: No such file or directory&lt;/p&gt;
&lt;p&gt;&amp;nbsp;My SDK version is 15.2 and that of SES is 3.40.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jianxuan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I cannot build project for AES ECB based on M52840.</title><link>https://devzone.nordicsemi.com/thread/153779?ContentTypeID=1</link><pubDate>Mon, 22 Oct 2018 11:31:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d79e196-b71a-4c60-9d8e-910a744f8867</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Jianxuan,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;g_nrf_crypto_aes_ecb_128_info is defined in cc310_backend_aes.c, is this file included in your project? You may use the aes_all_cli (\examples\crypto\nrf_crypto\aes\aes_all_cli) example to find&amp;nbsp;other dependencies&amp;nbsp;you may have missed. Tip: open the *.emproject file in a text editor and copy&amp;amp;paste relevant&amp;nbsp;dependencies to your project, I find it faster than doing it within the GUI.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Vidar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>