<?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>ECB with mbedtls</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62227/ecb-with-mbedtls</link><description>I am using mbedtls with ECB hard accelerator on nRF52840. So I changed the macro definition: UPDATE_CBC_MAC in ccm.c to function: 
 
 #define HT_UPDATE_CBC_MAC \ 
 for ( i = 0 ; i &amp;lt; 16 ; i ++ ) \ 
 y [i] ^= b [i]; \ 
 \ 
 if ( ( ret = ht_aes_ecb_encrypt</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Jun 2020 11:35:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62227/ecb-with-mbedtls" /><item><title>RE: ECB with mbedtls</title><link>https://devzone.nordicsemi.com/thread/253766?ContentTypeID=1</link><pubDate>Mon, 08 Jun 2020 11:35:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd763f45-036b-49e7-b7a3-2ab5bea46c3f</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]The code runs, but I find the function: ccm_auth_crypt in ccm.c, output two result of&amp;nbsp;&lt;span&gt;original function and the changed. &lt;/span&gt;[/quote]
&lt;p&gt;I&amp;#39;m not sure if I understand what you mean by this. Is the input parameters not changed after the function returns? Can you give an example? Is the softdevice enabled before you call the function? Do the softdevice function call return NRF_SUCCESS?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>