<?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>S32KのトピックHSE IVT Auth_TAG</title>
    <link>https://community.nxp.com/t5/S32K/HSE-IVT-Auth-TAG/m-p/2097043#M48745</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I used an offline tool to calculate the IVT GMAC, but the result differs from HSE's. I want to know how to obtain the same result based on&amp;nbsp;&lt;/SPAN&gt;applicationDebugKeyPassword[16U] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f }？&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="liyongfeng_0-1747206681217.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/337695i58F8404BCAA103EF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="liyongfeng_0-1747206681217.png" alt="liyongfeng_0-1747206681217.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 14 May 2025 07:17:09 GMT</pubDate>
    <dc:creator>liyongfeng</dc:creator>
    <dc:date>2025-05-14T07:17:09Z</dc:date>
    <item>
      <title>HSE IVT Auth_TAG</title>
      <link>https://community.nxp.com/t5/S32K/HSE-IVT-Auth-TAG/m-p/2097043#M48745</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I used an offline tool to calculate the IVT GMAC, but the result differs from HSE's. I want to know how to obtain the same result based on&amp;nbsp;&lt;/SPAN&gt;applicationDebugKeyPassword[16U] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f }？&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="liyongfeng_0-1747206681217.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/337695i58F8404BCAA103EF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="liyongfeng_0-1747206681217.png" alt="liyongfeng_0-1747206681217.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 07:17:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/HSE-IVT-Auth-TAG/m-p/2097043#M48745</guid>
      <dc:creator>liyongfeng</dc:creator>
      <dc:date>2025-05-14T07:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: HSE IVT Auth_TAG</title>
      <link>https://community.nxp.com/t5/S32K/HSE-IVT-Auth-TAG/m-p/2098194#M48847</link>
      <description>&lt;P&gt;Please provide further details about used example codes and mentioned tool. Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 13:58:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/HSE-IVT-Auth-TAG/m-p/2098194#M48847</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2025-05-15T13:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: HSE IVT Auth_TAG</title>
      <link>https://community.nxp.com/t5/S32K/HSE-IVT-Auth-TAG/m-p/2101656#M49053</link>
      <description>&lt;P&gt;applicationDebugKeyPassword=000102...0F;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How to calculate the red part below using an offline tool to obtain the blue part's GMAC?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;A5 5A A5 5A 09 00 00 00 00 00 00 00 00 60 44 00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;C0 40 40 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;FF FF FF FF 00 00 00 00 00 00 00 00 00 00 00 00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;00 00 00 00 79 AB 16 44 70 B3 B6 3D 4E 35 70 C1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;44 E3 5F FC 7B 5A 1A E4 55 B3 03 C8 87 FA 25 A4&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;if &lt;/SPAN&gt;__name__ == &lt;SPAN&gt;'__main__'&lt;/SPAN&gt;:&lt;BR /&gt;    key = &lt;SPAN&gt;b'000102030405060708090A0B0C0D0E0F'&lt;BR /&gt;&lt;/SPAN&gt;    iv = &lt;SPAN&gt;b'79AB164470B3B63D4E3570C1'&lt;BR /&gt;&lt;/SPAN&gt;    data = &lt;SPAN&gt;b'A55AA55A090000000000000000604400&lt;/SPAN&gt;&lt;SPAN&gt;\&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;00000000000000000000000000000000&lt;/SPAN&gt;&lt;SPAN&gt;\&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;00000000000000000000000000000000&lt;/SPAN&gt;&lt;SPAN&gt;\&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;C0404000000000000000000000000000&lt;/SPAN&gt;&lt;SPAN&gt;\&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;FFFFFFFF000000000000000000000000&lt;/SPAN&gt;&lt;SPAN&gt;\&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;00000000000000000000000000000000&lt;/SPAN&gt;&lt;SPAN&gt;\&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;00000000000000000000000000000000&lt;/SPAN&gt;&lt;SPAN&gt;\&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;00000000000000000000000000000000&lt;/SPAN&gt;&lt;SPAN&gt;\&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;00000000000000000000000000000000&lt;/SPAN&gt;&lt;SPAN&gt;\&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;00000000000000000000000000000000&lt;/SPAN&gt;&lt;SPAN&gt;\&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;00000000000000000000000000000000&lt;/SPAN&gt;&lt;SPAN&gt;\&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;00000000000000000000000000000000&lt;/SPAN&gt;&lt;SPAN&gt;\&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;00000000000000000000000000000000&lt;/SPAN&gt;&lt;SPAN&gt;\&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;00000000000000000000000000000000&lt;/SPAN&gt;&lt;SPAN&gt;\&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;0000000079AB164470B3B63D4E3570C1'&lt;BR /&gt;&lt;/SPAN&gt;    aesgcm = AESGCM(key)&lt;BR /&gt;    gmac = aesgcm.encrypt(iv&lt;SPAN&gt;, &lt;/SPAN&gt;data&lt;SPAN&gt;, None&lt;/SPAN&gt;)[-&lt;SPAN&gt;16&lt;/SPAN&gt;:]  &lt;SPAN&gt;# Last 16 bytes are GMAC&lt;BR /&gt;print(gmac.hex())&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;output：d6a5196d7573dd9bd49e9fce08ebb73b&lt;BR /&gt;It is different from the 16-byte IVT.GMAC shown in the figure above.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2025 13:38:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/HSE-IVT-Auth-TAG/m-p/2101656#M49053</guid>
      <dc:creator>liyongfeng</dc:creator>
      <dc:date>2025-05-21T13:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: HSE IVT Auth_TAG</title>
      <link>https://community.nxp.com/t5/S32K/HSE-IVT-Auth-TAG/m-p/2107744#M49404</link>
      <description>&lt;P&gt;COuld you clarify which HSE example code you are referring to? Or describe how you do it on MCU side?&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 07:09:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/HSE-IVT-Auth-TAG/m-p/2107744#M49404</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2025-05-30T07:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: HSE IVT Auth_TAG</title>
      <link>https://community.nxp.com/t5/S32K/HSE-IVT-Auth-TAG/m-p/2108084#M49432</link>
      <description>&lt;P&gt;Potentially the issue could be that you are using ASCII characters in Python script but HSE uses direct bin values i.e. HEX numbers&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 14:23:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/HSE-IVT-Auth-TAG/m-p/2108084#M49432</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2025-05-30T14:23:43Z</dc:date>
    </item>
  </channel>
</rss>

