<?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>i.MX ProcessorsのトピックRe: DMSetup Keysize</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/DMSetup-Keysize/m-p/1966101#M229233</link>
    <description>&lt;P&gt;I have the same questions. Did you find the answer?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Oct 2024 06:08:17 GMT</pubDate>
    <dc:creator>sharmilad</dc:creator>
    <dc:date>2024-10-03T06:08:17Z</dc:date>
    <item>
      <title>DMSetup Keysize</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DMSetup-Keysize/m-p/1460197#M190542</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I was following i.MX Linux® User's Guide and implemented the disc encryption.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;.&lt;STRONG&gt;/caam-keygen create randomkey ecb -s 16&lt;/STRONG&gt;&lt;/EM&gt; is used for creating the key&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;dmsetup -v create encrypted --table "0 $(blockdev --getsz /dev/loop0) crypt capi:tk(cbc(aes))-&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;plain :36:logon:logkey: 0 /dev/loop0 0 1 sector_size:512"&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt; is used&amp;nbsp; for creating the new device mapper. and&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;36:logon:logkey: &lt;/STRONG&gt;&lt;/EM&gt;is confusing me.&lt;/P&gt;&lt;P&gt;I have the following doubt:&lt;/P&gt;&lt;P&gt;How to ensure the keysize of the algorithm&lt;/P&gt;&lt;P&gt;1. I ran the following command and I got the following output&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;dmsetup table --showkey encrypted&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;0 65536 crypt capi:tk(cbc(aes))-plain :36:logon:logkey: 0 7:0 0&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;what is this&lt;STRONG&gt; 36&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;2. &lt;/EM&gt;&lt;/STRONG&gt;If I want to implement AES 256 what changes I have to make in the the above code.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Thanks,&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Rahul B&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 17:36:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DMSetup-Keysize/m-p/1460197#M190542</guid>
      <dc:creator>rahulbpkl</dc:creator>
      <dc:date>2022-05-18T17:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: DMSetup Keysize</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DMSetup-Keysize/m-p/1966101#M229233</link>
      <description>&lt;P&gt;I have the same questions. Did you find the answer?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 06:08:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DMSetup-Keysize/m-p/1966101#M229233</guid>
      <dc:creator>sharmilad</dc:creator>
      <dc:date>2024-10-03T06:08:17Z</dc:date>
    </item>
  </channel>
</rss>

