<?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 macro definition for encrypt API in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/macro-definition-for-encrypt-API/m-p/1286796#M45267</link>
    <description>&lt;P&gt;About encrypt a data using the following API on LPC55S69.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;psa_cipher_generate_iv&lt;/LI&gt;&lt;LI&gt;psa_cipher_update&lt;/LI&gt;&lt;LI&gt;psa_cipher_finish&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The following macro definition is defined in the API specification. &lt;A href="https://developer.arm.com/documentation/ihi0086/latest/" target="_blank"&gt;https://developer.arm.com/documentation/ihi0086/latest/&lt;/A&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;PSA_CIPHER_IV_LENGTH&lt;/LI&gt;&lt;LI&gt;PSA_CIPHER_UPDATE_OUTPUT_SIZE&lt;/LI&gt;&lt;LI&gt;PSA_CIPHER_UPDATE_OUTPUT_MAX_SIZE&lt;/LI&gt;&lt;LI&gt;PSA_CIPHER_FINISH_OUTPUT_SIZE&lt;/LI&gt;&lt;LI&gt;PSA_CIPHER_FINISH_OUTPUT_MAX_SIZE&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="encrypto_API.png" style="width: 821px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/146167i53848ADC64EE4068/image-size/large?v=v2&amp;amp;px=999" role="button" title="encrypto_API.png" alt="encrypto_API.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have mbedtls enabled and tried to build the SDK, but crypto_sizes.h doesn't have these macro definitions.&lt;BR /&gt;Why is no define?&lt;/P&gt;</description>
    <pubDate>Thu, 03 Jun 2021 11:41:26 GMT</pubDate>
    <dc:creator>ShinjiOhishi</dc:creator>
    <dc:date>2021-06-03T11:41:26Z</dc:date>
    <item>
      <title>macro definition for encrypt API</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/macro-definition-for-encrypt-API/m-p/1286796#M45267</link>
      <description>&lt;P&gt;About encrypt a data using the following API on LPC55S69.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;psa_cipher_generate_iv&lt;/LI&gt;&lt;LI&gt;psa_cipher_update&lt;/LI&gt;&lt;LI&gt;psa_cipher_finish&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The following macro definition is defined in the API specification. &lt;A href="https://developer.arm.com/documentation/ihi0086/latest/" target="_blank"&gt;https://developer.arm.com/documentation/ihi0086/latest/&lt;/A&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;PSA_CIPHER_IV_LENGTH&lt;/LI&gt;&lt;LI&gt;PSA_CIPHER_UPDATE_OUTPUT_SIZE&lt;/LI&gt;&lt;LI&gt;PSA_CIPHER_UPDATE_OUTPUT_MAX_SIZE&lt;/LI&gt;&lt;LI&gt;PSA_CIPHER_FINISH_OUTPUT_SIZE&lt;/LI&gt;&lt;LI&gt;PSA_CIPHER_FINISH_OUTPUT_MAX_SIZE&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="encrypto_API.png" style="width: 821px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/146167i53848ADC64EE4068/image-size/large?v=v2&amp;amp;px=999" role="button" title="encrypto_API.png" alt="encrypto_API.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have mbedtls enabled and tried to build the SDK, but crypto_sizes.h doesn't have these macro definitions.&lt;BR /&gt;Why is no define?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 11:41:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/macro-definition-for-encrypt-API/m-p/1286796#M45267</guid>
      <dc:creator>ShinjiOhishi</dc:creator>
      <dc:date>2021-06-03T11:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: macro definition for encrypt API</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/macro-definition-for-encrypt-API/m-p/1287699#M45304</link>
      <description>&lt;P&gt;Hi Shinji,&lt;/P&gt;
&lt;P&gt;According to the same document you are referring those macros were added in 1.0 beta 3 version. You can see this in the &lt;STRONG&gt;C.1.2 Changes between 1.0 beta 3 and 1.0.0&lt;/STRONG&gt; section of the document.&lt;/P&gt;
&lt;P&gt;Our latest SDK is using Platform Security Architecture APIs Version 1.0 so these new macros are still not reflected in our drivers.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Felipe&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;Note:&lt;/P&gt;
&lt;P&gt;- If this post answers your question, please click the "Mark Correct"button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored. Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;------------------------------------------------------------------------------&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 18:59:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/macro-definition-for-encrypt-API/m-p/1287699#M45304</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2021-06-04T18:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: macro definition for encrypt API</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/macro-definition-for-encrypt-API/m-p/1287880#M45311</link>
      <description>&lt;P&gt;Hi, Felipe Garcia.&lt;BR /&gt;Thank you for answering.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 01:36:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/macro-definition-for-encrypt-API/m-p/1287880#M45311</guid>
      <dc:creator>ShinjiOhishi</dc:creator>
      <dc:date>2021-06-07T01:36:36Z</dc:date>
    </item>
  </channel>
</rss>

