<?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>TFM ITS with Encryption fails with ERROR_INVALID_ARGUMENT when retrieving 33 byte data object</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/103085/tfm-its-with-encryption-fails-with-error_invalid_argument-when-retrieving-33-byte-data-object</link><description>I found when I attempt to read a data size that is odd size that the read fails with PSA_ERROR_INVALID_ARGUMENT. 
 I traced the code into modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/internal_trusted_storage/its_flash_fs.c where it failed</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Aug 2023 15:59:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/103085/tfm-its-with-encryption-fails-with-error_invalid_argument-when-retrieving-33-byte-data-object" /><item><title>RE: TFM ITS with Encryption fails with ERROR_INVALID_ARGUMENT when retrieving 33 byte data object</title><link>https://devzone.nordicsemi.com/thread/442825?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2023 15:59:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af5f7f05-8cb7-4c6b-8f2e-e75fa8a041bd</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would suggest you test with the last NCS v2.4.1 since there are some bug fixings.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TFM ITS with Encryption fails with ERROR_INVALID_ARGUMENT when retrieving 33 byte data object</title><link>https://devzone.nordicsemi.com/thread/442820?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2023 15:22:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c64eadb1-52e0-4802-80be-6a163cc0f167</guid><dc:creator>Anthony Ambuehl</dc:creator><description>&lt;p&gt;NCS 2.3.0.&lt;/p&gt;
&lt;p&gt;I see there are quite a lot fo changes to tfm_its in NCS 2.4.0 so I cannot be sure if this is fixed.&lt;/p&gt;
&lt;p&gt;Unfortunately I cannot test against 2.4.0/2.4.1 at this time.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TFM ITS with Encryption fails with ERROR_INVALID_ARGUMENT when retrieving 33 byte data object</title><link>https://devzone.nordicsemi.com/thread/442784?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2023 12:54:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11cebea7-0499-4bde-a108-36b9e31967cd</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which NCS version are you using?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>