<?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>MCUXpresso SDK中的主题 Re: Mbed TLS on lpc55s69</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/Mbed-TLS-on-lpc55s69/m-p/1150670#M2757</link>
    <description>&lt;P&gt;Hi Lukas&lt;/P&gt;
&lt;P&gt;When building the &lt;STRONG&gt;MCUXpresso SDK&lt;/STRONG&gt; package for the LPC55s69 at the &lt;A href="https://mcuxpresso.nxp.com/en/welcome" target="_blank" rel="noopener"&gt;MCUXpresso Builder&lt;/A&gt;, you can add some middleware, including &lt;STRONG&gt;Mbed Crypto&lt;/STRONG&gt; and &lt;STRONG&gt;mbedtls&lt;/STRONG&gt;. Please look at the image attached, be sure that you mark the box with the middleware that you want.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="304722_1.png" style="width: 700px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/124705iD32602509783C867/image-dimensions/700x298?v=v2" width="700" height="298" role="button" title="304722_1.png" alt="304722_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Once you import this SDK package to MCUXpresso IDE you can include these software components creating a new project and select them in the window &lt;STRONG&gt;Configure the Project&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="304722_2.png" style="width: 700px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/124703iC19A3168C4A96804/image-dimensions/700x373?v=v2" width="700" height="373" role="button" title="304722_2.png" alt="304722_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Also, you can import the examples provided with these libraries, by using the tool &lt;STRONG&gt;Import SDK example(s)…&lt;/STRONG&gt; from the &lt;STRONG&gt;Quickstart Panel&lt;/STRONG&gt;.&amp;nbsp; For a better reference take a look at the guide: &lt;A href="https://www.nxp.com/pages/mcuxpresso-ide-importing-mcuxpresso-sdk:TIP-MCUXPRESSO-IDE-IMPORTING-SDK" target="_blank" rel="noopener"&gt;MCUXpresso IDE - Importing MCUXpresso SDK&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="304722_3.png" style="width: 700px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/124704i402661151F51C866/image-dimensions/700x275?v=v2" width="700" height="275" role="button" title="304722_3.png" alt="304722_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Jose&lt;/P&gt;</description>
    <pubDate>Wed, 09 Sep 2020 01:22:26 GMT</pubDate>
    <dc:creator>nxf63973</dc:creator>
    <dc:date>2020-09-09T01:22:26Z</dc:date>
    <item>
      <title>Mbed TLS on lpc55s69</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Mbed-TLS-on-lpc55s69/m-p/1135212#M2755</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I got a LPC55S69 with TrustZone. Currently i try to build an application that runs in secure world and reads memory from normal world and calculates a sha-2 hash of this values. For the hash I am looking for a libary that supports sha-2. From some research I found out that the board has hardware support for hash calculation but I could not find any guidance on how to use this. The examples come with mbed tls (a libary that has sha-2). If anyone had the same issues before and could tell me how to use this hardware for hashing or how to include the mbed tls libary to my mcuxpresso project I would be really thankful.&lt;BR /&gt;&lt;BR /&gt;Thanks and best regards,&lt;BR /&gt;Lukas&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2020 12:16:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Mbed-TLS-on-lpc55s69/m-p/1135212#M2755</guid>
      <dc:creator>beze</dc:creator>
      <dc:date>2020-09-03T12:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Mbed TLS on lpc55s69</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Mbed-TLS-on-lpc55s69/m-p/1150670#M2757</link>
      <description>&lt;P&gt;Hi Lukas&lt;/P&gt;
&lt;P&gt;When building the &lt;STRONG&gt;MCUXpresso SDK&lt;/STRONG&gt; package for the LPC55s69 at the &lt;A href="https://mcuxpresso.nxp.com/en/welcome" target="_blank" rel="noopener"&gt;MCUXpresso Builder&lt;/A&gt;, you can add some middleware, including &lt;STRONG&gt;Mbed Crypto&lt;/STRONG&gt; and &lt;STRONG&gt;mbedtls&lt;/STRONG&gt;. Please look at the image attached, be sure that you mark the box with the middleware that you want.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="304722_1.png" style="width: 700px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/124705iD32602509783C867/image-dimensions/700x298?v=v2" width="700" height="298" role="button" title="304722_1.png" alt="304722_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Once you import this SDK package to MCUXpresso IDE you can include these software components creating a new project and select them in the window &lt;STRONG&gt;Configure the Project&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="304722_2.png" style="width: 700px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/124703iC19A3168C4A96804/image-dimensions/700x373?v=v2" width="700" height="373" role="button" title="304722_2.png" alt="304722_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Also, you can import the examples provided with these libraries, by using the tool &lt;STRONG&gt;Import SDK example(s)…&lt;/STRONG&gt; from the &lt;STRONG&gt;Quickstart Panel&lt;/STRONG&gt;.&amp;nbsp; For a better reference take a look at the guide: &lt;A href="https://www.nxp.com/pages/mcuxpresso-ide-importing-mcuxpresso-sdk:TIP-MCUXPRESSO-IDE-IMPORTING-SDK" target="_blank" rel="noopener"&gt;MCUXpresso IDE - Importing MCUXpresso SDK&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="304722_3.png" style="width: 700px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/124704i402661151F51C866/image-dimensions/700x275?v=v2" width="700" height="275" role="button" title="304722_3.png" alt="304722_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Jose&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2020 01:22:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Mbed-TLS-on-lpc55s69/m-p/1150670#M2757</guid>
      <dc:creator>nxf63973</dc:creator>
      <dc:date>2020-09-09T01:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Mbed TLS on lpc55s69</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Mbed-TLS-on-lpc55s69/m-p/1154860#M2772</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;first of all thanks for your help. I followed every step and now have mbed tls on the trustzone hello world s example. Hash calculation works fine as long as i do not use the hardware accerleration. But i want to use the hardware accelerator as in the mbed tls examples. So I configured everything like in the example but always get the same error when building the project. Did anyone have the same issue or does know how I can fix the problem.&lt;/P&gt;&lt;P&gt;Thanks and best regards,&lt;BR /&gt;Lukas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output when building:&lt;/P&gt;&lt;P&gt;arm-none-eabi-gcc -nostdlib -L"D:\UniStuff\Bachelor Arbeit\Code\Attestation\lpcxpresso55s69_hello_world_s\libs" -Xlinker -Map="lpcxpresso55s69_hello_world_s.map" -Xlinker --gc-sections -Xlinker -print-memory-usage -Xlinker --sort-section=alignment -Xlinker --cref -mcpu=cortex-m33 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -T lpcxpresso55s69_hello_world_s_Debug.ld -Xlinker --out-implib="lpcxpresso55s69_hello_world_s_CMSE_lib.o" -Xlinker --cmse-implib -o "lpcxpresso55s69_hello_world_s.axf" ./utilities/fsl_assert.o ./utilities/fsl_debug_console.o ./utilities/fsl_str.o ./trustzone/tzm_config.o ./trustzone/veneer_table.o ./startup/boot_multicore_slave.o ./startup/startup_lpc55s69_cm33_core0.o ./source/hello_world_s.o ./source/semihost_hardfault.o ./drivers/fsl_casper.o ./drivers/fsl_clock.o ./drivers/fsl_common.o ./drivers/fsl_flexcomm.o ./drivers/fsl_gpio.o ./drivers/fsl_hashcrypt.o ./drivers/fsl_power.o ./drivers/fsl_reset.o ./drivers/fsl_usart.o ./device/system_LPC55S69_cm33_core0.o ./component/uart/usart_adapter.o ./component/serial_manager/serial_manager.o ./component/serial_manager/serial_port_uart.o ./component/lists/generic_list.o ./board/board.o ./board/clock_config.o ./board/pin_mux.o -lpower_hardabi_s -lpower_hardabi&lt;BR /&gt;Memory region Used Size Region Size %age Used&lt;BR /&gt;PROGRAM_FLASH: 14076 B 65024 B 21.65%&lt;BR /&gt;SG_veneer_table: 32 B 512 B 6.25%&lt;BR /&gt;d:/mcuxpressoide_11.2.0_4120/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.2.0.202001021529/tools/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: ./source/hello_world_s.o: in function `main':&lt;BR /&gt;D:\UniStuff\Bachelor Arbeit\Code\Attestation\lpcxpresso55s69_hello_world_s\Debug/../source/hello_world_s.c:163: undefined reference to `CRYPTO_InitHardware'&lt;BR /&gt;Ram0: 4376 B 32 KB 13.35%&lt;BR /&gt;d:/mcuxpressoide_11.2.0_4120/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.2.0.202001021529/tools/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: D:\UniStuff\Bachelor Arbeit\Code\Attestation\lpcxpresso55s69_hello_world_s\Debug/../source/hello_world_s.c:173: undefined reference to `mbedtls_sha256'&lt;BR /&gt;collect2.exe: error: ld returned 1 exit status&lt;BR /&gt;make: *** [makefile:41: lpcxpresso55s69_hello_world_s.axf] Error 1&lt;BR /&gt;"make -r -j8 all" terminated with exit code 2. Build might be incomplete.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 14:16:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Mbed-TLS-on-lpc55s69/m-p/1154860#M2772</guid>
      <dc:creator>beze</dc:creator>
      <dc:date>2020-09-17T14:16:31Z</dc:date>
    </item>
  </channel>
</rss>

