<?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 LPCXpresso55S69-EVK - PUF to generate consistent output if input is consistent? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso55S69-EVK-PUF-to-generate-consistent-output-if-input/m-p/1791074#M55172</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;Is it possible to use the PUF functionality to generate a consistent input given a consistent input?&lt;/P&gt;&lt;P&gt;The closest I have come to a solution is to use SetKey with a provided key and use the output keycode as a consistent input to retrieve the initially provided key acting as the consistent response.&lt;/P&gt;&lt;P&gt;I tried using SetKey multiple times with a consistent user key, but every time it would give me a different keycode. Any way to satisfy my request? I realize it's not really the intended usage, but I have a niche requirement.&lt;/P&gt;&lt;P&gt;Regards, Henrik&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jan 2024 12:40:46 GMT</pubDate>
    <dc:creator>hmo058</dc:creator>
    <dc:date>2024-01-18T12:40:46Z</dc:date>
    <item>
      <title>LPCXpresso55S69-EVK - PUF to generate consistent output if input is consistent?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso55S69-EVK-PUF-to-generate-consistent-output-if-input/m-p/1791074#M55172</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;Is it possible to use the PUF functionality to generate a consistent input given a consistent input?&lt;/P&gt;&lt;P&gt;The closest I have come to a solution is to use SetKey with a provided key and use the output keycode as a consistent input to retrieve the initially provided key acting as the consistent response.&lt;/P&gt;&lt;P&gt;I tried using SetKey multiple times with a consistent user key, but every time it would give me a different keycode. Any way to satisfy my request? I realize it's not really the intended usage, but I have a niche requirement.&lt;/P&gt;&lt;P&gt;Regards, Henrik&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 12:40:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso55S69-EVK-PUF-to-generate-consistent-output-if-input/m-p/1791074#M55172</guid>
      <dc:creator>hmo058</dc:creator>
      <dc:date>2024-01-18T12:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso55S69-EVK - PUF to generate consistent output if input is consistent?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso55S69-EVK-PUF-to-generate-consistent-output-if-input/m-p/1797486#M55266</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/226720"&gt;@hmo058&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"&lt;SPAN&gt;I tried using SetKey multiple times with a consistent user key, but every time it would give me a different keycode.&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;-&amp;gt;&amp;gt; Do you enroll only one time or enroll every time. If only one time, and other parameters all the same, the output should the same.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 07:04:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso55S69-EVK-PUF-to-generate-consistent-output-if-input/m-p/1797486#M55266</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-01-30T07:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso55S69-EVK - PUF to generate consistent output if input is consistent?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso55S69-EVK-PUF-to-generate-consistent-output-if-input/m-p/1798567#M55290</link>
      <description>&lt;P&gt;Yeah, I attempted to make two calls in a sequential manner like this with the exact same inputs and it still produces different key codes. I am assuming there is some intended random element included? PUF_Setup_Start is simply a wrapper function I made.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/27788"&gt;@Alice_Yang&lt;/a&gt;&amp;nbsp;Mentioning since I managed to reply to my own topic...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;PRINTF("Received SETKEY message with key:\r\n");

for(int i = MESSAGE_HEADER_LENGTH; i &amp;lt; 40; i++)
{
	PRINTF("%d", g_rxBuffer[i]);
	PRINTF(" - ");
}
PRINTF("\r\n");

// Want to LOAD the activation code from the 3rd last page of flash memory.
destAdrss = flash_properties.pflashBlockBase + (flash_properties.pflashTotalSize - (PAGE_INDEX_FROM_END * flash_properties.PflashPageSize));

// LOAD AC
FLASH_Read(&amp;amp;flashInstance, destAdrss, activationCode, sizeof(activationCode));

PUF_Setup_Start(PUF, activationCode, sizeof(activationCode));

result = PUF_SetUserKey(PUF, kPUF_KeyIndex_01, &amp;amp;g_rxBuffer[MESSAGE_HEADER_LENGTH], 32, keyCode0, sizeof(keyCode0));
if (result != kStatus_Success)
{
	PRINTF("Error setting user key!\r\n");
	exit(1);
}

PRINTF("Sending KEYCODE0 (result of set key in index 1):\r\n");

for(int i = 0; i &amp;lt; 52; i++)
{
	PRINTF("%d", keyCode0[i]);
	PRINTF(" - ");
}
PRINTF("\r\n");

PRINTF("SECOND CALL BELOW:\r\n");
result = PUF_SetUserKey(PUF, kPUF_KeyIndex_01, &amp;amp;g_rxBuffer[MESSAGE_HEADER_LENGTH], 32, keyCode0, sizeof(keyCode0));
if (result != kStatus_Success)
{
	PRINTF("Error setting user key!\r\n");
	exit(1);
}

PRINTF("Sending KEYCODE0 (result of set key in index 1):\r\n");

for(int i = 0; i &amp;lt; 52; i++)
{
	PRINTF("%d", keyCode0[i]);
	PRINTF(" - ");
}
PRINTF("\r\n");&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Output:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Received SETKEY message with key:
1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 - 21 - 22 - 23 - 24 - 25 - 26 - 27 - 28 - 29 - 30 - 31 - 32 - 
Sending KEYCODE0 (result of set key in index 1):
0 - 1 - 0 - 4 - 97 - 14 - 185 - 139 - 138 - 60 - 42 - 103 - 80 - 124 - 27 - 179 - 65 - 216 - 246 - 17 - 62 - 184 - 135 - 134 - 219 - 59 - 85 - 247 - 254 - 11 - 135 - 220 - 36 - 95 - 126 - 175 - 11 - 171 - 175 - 194 - 57 - 201 - 6 - 160 - 175 - 76 - 224 - 164 - 205 - 127 - 234 - 17 - 
SECOND CALL BELOW:
Sending KEYCODE0 (result of set key in index 1):
0 - 1 - 0 - 4 - 138 - 64 - 181 - 222 - 23 - 219 - 3 - 35 - 177 - 98 - 99 - 131 - 196 - 8 - 110 - 233 - 143 - 30 - 124 - 20 - 165 - 91 - 248 - 64 - 54 - 168 - 165 - 160 - 93 - 75 - 166 - 36 - 60 - 113 - 252 - 43 - 157 - 121 - 109 - 156 - 250 - 0 - 172 - 175 - 184 - 90 - 203 - 77 - &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 09:58:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso55S69-EVK-PUF-to-generate-consistent-output-if-input/m-p/1798567#M55290</guid>
      <dc:creator>hmo058</dc:creator>
      <dc:date>2024-01-31T09:58:36Z</dc:date>
    </item>
  </channel>
</rss>

