<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" > <channel><title>Comments on: Cipher benchmark for dm-crypt / LUKS</title> <atom:link href="http://blog.wpkg.org/2009/04/23/cipher-benchmark-for-dm-crypt-luks/feed/" rel="self" type="application/rss+xml" /><link>http://blog.wpkg.org/2009/04/23/cipher-benchmark-for-dm-crypt-luks/</link> <description>a technical IT blog</description> <lastBuildDate>Fri, 13 Jan 2012 23:16:03 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>By: Flyer</title><link>http://blog.wpkg.org/2009/04/23/cipher-benchmark-for-dm-crypt-luks/comment-page-1/#comment-4901</link> <dc:creator>Flyer</dc:creator> <pubDate>Sat, 03 Dec 2011 13:56:38 +0000</pubDate> <guid isPermaLink="false">http://blog.wpkg.org/?p=70#comment-4901</guid> <description>CentOS 6 (2.6.32-71.29.1.el6.x86_64) with 16GB RAM (RAM-disk 11GB, file 10GB) - VM (only single)on ESXi5, 2 x Xeon E5530 48GB RAMScript from Heikki Salokanto, modifyed (error-control)Options (mode)                            Write     Read default (aes-cbc-essiv:sha256 256)        82.77   102.76 -c aes (cbc-plain 256)                    82.00   105.79 -c aes -s 128 (cbc-plain)                104.91   139.99 -c aes-ecb -s 128                        121.56   151.59 -c aes-cbc-null -s 128                   100.85   139.72 -c aes-cbc-plain -s 128                  100.97   139.70 -c aes-cbc-benbi -s 128                  100.71   139.66 -c aes-cbc-essiv:sha256 -s 128            98.02   134.77 -c aes-pcbc-null -s 128                   95.89   105.71 -c aes-pcbc-plain -s 128                  98.59   105.63 -c aes-pcbc-benbi -s 128                  94.13   105.62 -c aes-pcbc-essiv:sha256 -s 128           95.51   102.86 -c aes-ctr-plain -s 128                  111.94   137.34 -c aes -s 256 (cbc-plain)                 83.59   105.71 -c aes-ecb -s 256                         96.98   112.92 -c aes-cbc-null -s 256                    84.46   105.69 -c aes-cbc-plain -s 256                   84.22   105.70 -c aes-cbc-plain64 -s 256                 80.44   105.73 -c aes-cbc-benbi -s 256                   81.42   105.47 -c aes-cbc-essiv:sha256 -s 256            78.61   102.98 -c aes-pcbc-null -s 256                   80.89    84.52 -c aes-pcbc-plain -s 256                  80.37    84.62 -c aes-pcbc-plain64 -s 256                76.38    84.52 -c aes-pcbc-benbi -s 256                  79.83    84.62 -c aes-pcbc-essiv:sha256 -s 256           75.48    82.71 -c aes-lrw-null -s 256 (128)             108.64   132.97 -c aes-lrw-plain -s 256 (128)            111.43   132.99 -c aes-lrw-plain64 -s 256 (128)          111.95   133.11 -c aes-lrw-benbi -s 256 (128)            111.83   133.26 -c aes-lrw-essiv:sha256 -s 256 (128)     104.83   127.86 -c aes-lrw-null -s 384 (256)              82.58   102.08 -c aes-lrw-plain -s 384 (256)             86.82   101.99 -c aes-lrw-plain64 -s 384 (256)           82.12   101.76 -c aes-lrw-benbi -s 384 (256)             86.64   102.04 -c aes-lrw-essiv:sha256 -s 384 (256)      84.30    98.58 -c aes-xts-null -s 256 (128)             112.00   137.21 -c aes-xts-plain -s 256 (128)            111.06   137.08 -c aes-xts-plain64 -s 256 (128)          109.64   136.95 -c aes-xts-benbi -s 256 (128)            113.97   137.12 -c aes-xts-essiv:sha256 -s 256 (128)     104.28   132.15 -c aes-xts-null -s 512 (256)              85.78   104.07 -c aes-xts-plain -s 512 (256)             88.78   103.80 -c aes-xts-plain64 -s 512 (256)           87.89   103.86 -c aes-xts-benbi -s 512 (256)             90.01   103.76 -c aes-xts-essiv:sha256 -s 512 (256)      85.81   101.25 -c aes-ctr-null -s 256                    86.65   103.91 -c aes-ctr-plain -s 256                   86.33   103.99 -c aes-ctr-plain64 -s 256                 88.17   104.15 -c aes-ctr-benbi -s 256                   85.65   103.93 -c aes-ctr-essiv:sha256 -s 256            87.09   101.47 -c des-ecb-plain -s 64                    44.21    48.53 -c anubis -s 128 (cbc-plain)              84.57   106.66 -c anubis-ecb-plain -s 128                92.04   114.43 -c anubis-cbc-plain -s 128                79.48   104.86 -c anubis -s 256 (cbc-plain)              67.69    84.64 -c anubis-ecb-plain -s 256                75.93    90.33 -c anubis-cbc-plain -s 256                66.87    83.70 -c blowfish (cbc-plain 256)               62.40    85.50 -c blowfish-ecb-plain (256)               72.29    92.52 -c blowfish-cbc-plain (256)               61.70    85.49 -c blowfish-cbc-essiv:sha256 -s 256       63.32    84.16 -c twofish (cbc-plain 256)                88.63   116.51 -c twofish-cbc-essiv:sha256 -s 256        86.34   113.89 -c twofish-lrw-essiv:sha256 -s 256 (128)  84.76   109.01 -c twofish-xts-essiv:sha256 -s 256 (128)  88.70   111.03 -c twofish-xts-essiv:sha256 -s 512 (256)  91.41   111.04 -c camellia -s 128 (cbc-plain)            76.31    97.80 -c camellia -s 256 (cbc-plain)            61.67    75.75 -c cast5-cbc-plain -s 128                 58.21    77.55 -c cast6 (cbc-plain 256)                  49.44    55.25 -c cast6-cbc-plain -s 256                 48.71    55.37 -c tea-ecb-plain -s 128                   36.55    37.92 -c xtea-ecb-plain -s 128                  38.67    42.21 -c tnepres (cbc-plain 256)                41.03    48.71 -c serpent (cbc-plain 256)                42.92    51.05 -c khazad-ecb-plain -s 128                95.62   115.29 -c xeta-ecb-plain -s 128                  44.55    45.30 -c fcrypt-pcbc-plain -s 64                58.96    64.30</description> <content:encoded><![CDATA[<p>CentOS 6 (2.6.32-71.29.1.el6.x86_64) with 16GB RAM (RAM-disk 11GB, file 10GB)<br /> &#8211; VM (only single)on ESXi5, 2 x Xeon E5530 48GB RAM</p><p>Script from Heikki Salokanto, modifyed (error-control)</p><p>Options (mode)                            Write     Read<br /> default (aes-cbc-essiv:sha256 256)        82.77   102.76<br /> -c aes (cbc-plain 256)                    82.00   105.79<br /> -c aes -s 128 (cbc-plain)                104.91   139.99<br /> -c aes-ecb -s 128                        121.56   151.59<br /> -c aes-cbc-null -s 128                   100.85   139.72<br /> -c aes-cbc-plain -s 128                  100.97   139.70<br /> -c aes-cbc-benbi -s 128                  100.71   139.66<br /> -c aes-cbc-essiv:sha256 -s 128            98.02   134.77<br /> -c aes-pcbc-null -s 128                   95.89   105.71<br /> -c aes-pcbc-plain -s 128                  98.59   105.63<br /> -c aes-pcbc-benbi -s 128                  94.13   105.62<br /> -c aes-pcbc-essiv:sha256 -s 128           95.51   102.86<br /> -c aes-ctr-plain -s 128                  111.94   137.34<br /> -c aes -s 256 (cbc-plain)                 83.59   105.71<br /> -c aes-ecb -s 256                         96.98   112.92<br /> -c aes-cbc-null -s 256                    84.46   105.69<br /> -c aes-cbc-plain -s 256                   84.22   105.70<br /> -c aes-cbc-plain64 -s 256                 80.44   105.73<br /> -c aes-cbc-benbi -s 256                   81.42   105.47<br /> -c aes-cbc-essiv:sha256 -s 256            78.61   102.98<br /> -c aes-pcbc-null -s 256                   80.89    84.52<br /> -c aes-pcbc-plain -s 256                  80.37    84.62<br /> -c aes-pcbc-plain64 -s 256                76.38    84.52<br /> -c aes-pcbc-benbi -s 256                  79.83    84.62<br /> -c aes-pcbc-essiv:sha256 -s 256           75.48    82.71<br /> -c aes-lrw-null -s 256 (128)             108.64   132.97<br /> -c aes-lrw-plain -s 256 (128)            111.43   132.99<br /> -c aes-lrw-plain64 -s 256 (128)          111.95   133.11<br /> -c aes-lrw-benbi -s 256 (128)            111.83   133.26<br /> -c aes-lrw-essiv:sha256 -s 256 (128)     104.83   127.86<br /> -c aes-lrw-null -s 384 (256)              82.58   102.08<br /> -c aes-lrw-plain -s 384 (256)             86.82   101.99<br /> -c aes-lrw-plain64 -s 384 (256)           82.12   101.76<br /> -c aes-lrw-benbi -s 384 (256)             86.64   102.04<br /> -c aes-lrw-essiv:sha256 -s 384 (256)      84.30    98.58<br /> -c aes-xts-null -s 256 (128)             112.00   137.21<br /> -c aes-xts-plain -s 256 (128)            111.06   137.08<br /> -c aes-xts-plain64 -s 256 (128)          109.64   136.95<br /> -c aes-xts-benbi -s 256 (128)            113.97   137.12<br /> -c aes-xts-essiv:sha256 -s 256 (128)     104.28   132.15<br /> -c aes-xts-null -s 512 (256)              85.78   104.07<br /> -c aes-xts-plain -s 512 (256)             88.78   103.80<br /> -c aes-xts-plain64 -s 512 (256)           87.89   103.86<br /> -c aes-xts-benbi -s 512 (256)             90.01   103.76<br /> -c aes-xts-essiv:sha256 -s 512 (256)      85.81   101.25<br /> -c aes-ctr-null -s 256                    86.65   103.91<br /> -c aes-ctr-plain -s 256                   86.33   103.99<br /> -c aes-ctr-plain64 -s 256                 88.17   104.15<br /> -c aes-ctr-benbi -s 256                   85.65   103.93<br /> -c aes-ctr-essiv:sha256 -s 256            87.09   101.47<br /> -c des-ecb-plain -s 64                    44.21    48.53<br /> -c anubis -s 128 (cbc-plain)              84.57   106.66<br /> -c anubis-ecb-plain -s 128                92.04   114.43<br /> -c anubis-cbc-plain -s 128                79.48   104.86<br /> -c anubis -s 256 (cbc-plain)              67.69    84.64<br /> -c anubis-ecb-plain -s 256                75.93    90.33<br /> -c anubis-cbc-plain -s 256                66.87    83.70<br /> -c blowfish (cbc-plain 256)               62.40    85.50<br /> -c blowfish-ecb-plain (256)               72.29    92.52<br /> -c blowfish-cbc-plain (256)               61.70    85.49<br /> -c blowfish-cbc-essiv:sha256 -s 256       63.32    84.16<br /> -c twofish (cbc-plain 256)                88.63   116.51<br /> -c twofish-cbc-essiv:sha256 -s 256        86.34   113.89<br /> -c twofish-lrw-essiv:sha256 -s 256 (128)  84.76   109.01<br /> -c twofish-xts-essiv:sha256 -s 256 (128)  88.70   111.03<br /> -c twofish-xts-essiv:sha256 -s 512 (256)  91.41   111.04<br /> -c camellia -s 128 (cbc-plain)            76.31    97.80<br /> -c camellia -s 256 (cbc-plain)            61.67    75.75<br /> -c cast5-cbc-plain -s 128                 58.21    77.55<br /> -c cast6 (cbc-plain 256)                  49.44    55.25<br /> -c cast6-cbc-plain -s 256                 48.71    55.37<br /> -c tea-ecb-plain -s 128                   36.55    37.92<br /> -c xtea-ecb-plain -s 128                  38.67    42.21<br /> -c tnepres (cbc-plain 256)                41.03    48.71<br /> -c serpent (cbc-plain 256)                42.92    51.05<br /> -c khazad-ecb-plain -s 128                95.62   115.29<br /> -c xeta-ecb-plain -s 128                  44.55    45.30<br /> -c fcrypt-pcbc-plain -s 64                58.96    64.30</p> ]]></content:encoded> </item> <item><title>By: Heikki Salokanto</title><link>http://blog.wpkg.org/2009/04/23/cipher-benchmark-for-dm-crypt-luks/comment-page-1/#comment-4795</link> <dc:creator>Heikki Salokanto</dc:creator> <pubDate>Sun, 30 Oct 2011 20:46:53 +0000</pubDate> <guid isPermaLink="false">http://blog.wpkg.org/?p=70#comment-4795</guid> <description>Hi,I ran a few tests on my Atom D525 (dual core 1.8 GHz) NAS box. It is running Ubuntu 11.04, Linux 2.6.38-8. There&#039;s 4 GB of RAM, of which I used ~1 GB to create a ramdisk for the tests.The script is at http://www.salokanto.fi/linux/test-crypt-perf.sh. It&#039;s not pretty, but you can modify it for your needs.Results (in MiB/s):&lt;code&gt; Options                            Write     Read -c aes-xts-plain -s 256            45.53    43.89 -c aes-cbc-essiv:sha256 -s 128     44.89    45.33 -c aes-xts-plain -s 384            46.55    38.61 -c aes-cbc-essiv:sha256 -s 192     33.56    39.07 -c aes-xts-plain -s 512            41.11    36.15 -c aes-cbc-essiv:sha256 -s 256     31.01    36.13 &lt;/code&gt;My understanding is that xts-plain must use double the key length compared to that of aes-cbc-essiv:sha256 in order to attain similar strength.</description> <content:encoded><![CDATA[<p>Hi,</p><p>I ran a few tests on my Atom D525 (dual core 1.8 GHz) NAS box. It is running Ubuntu 11.04, Linux 2.6.38-8. There&#8217;s 4 GB of RAM, of which I used ~1 GB to create a ramdisk for the tests.</p><p>The script is at <a href="http://www.salokanto.fi/linux/test-crypt-perf.sh" rel="nofollow">http://www.salokanto.fi/linux/test-crypt-perf.sh</a>. It&#8217;s not pretty, but you can modify it for your needs.</p><p>Results (in MiB/s):</p><p><code><br /> Options                            Write     Read<br /> -c aes-xts-plain -s 256            45.53    43.89<br /> -c aes-cbc-essiv:sha256 -s 128     44.89    45.33<br /> -c aes-xts-plain -s 384            46.55    38.61<br /> -c aes-cbc-essiv:sha256 -s 192     33.56    39.07<br /> -c aes-xts-plain -s 512            41.11    36.15<br /> -c aes-cbc-essiv:sha256 -s 256     31.01    36.13<br /> </code></p><p>My understanding is that xts-plain must use double the key length compared to that of aes-cbc-essiv:sha256 in order to attain similar strength.</p> ]]></content:encoded> </item> <item><title>By: Aaron Toponce</title><link>http://blog.wpkg.org/2009/04/23/cipher-benchmark-for-dm-crypt-luks/comment-page-1/#comment-4767</link> <dc:creator>Aaron Toponce</dc:creator> <pubDate>Sun, 16 Oct 2011 14:25:18 +0000</pubDate> <guid isPermaLink="false">http://blog.wpkg.org/?p=70#comment-4767</guid> <description>Even though ECB is a speed demon in terms of encryption, you should strongly avoid using it. https://secure.wikimedia.org/wikipedia/en/wiki/Block_cipher_modes_of_operation#Electronic_codebook_.28ECB.29 explains why, and gives a good demonstration. And because the first parts of the disk clearly show the algorithm, key size and hash used, it shouldn&#039;t even be an option, IMO.Check out the first part of an aes-ebc-null disk with a 128 byte key:&lt;pre&gt;0000000: 4c55 4b53 babe 0001 6165 7300 0000 0000  LUKS....aes..... 0000010: 0000 0000 0000 0000 0000 0000 0000 0000  ................ 0000020: 0000 0000 0000 0000 6563 622d 6e75 6c6c  ........ecb-null 0000030: 0000 0000 0000 0000 0000 0000 0000 0000  ................ 0000040: 0000 0000 0000 0000 7368 6131 0000 0000  ........sha1.... 0000050: 0000 0000 0000 0000 0000 0000 0000 0000  ................ 0000060: 0000 0000 0000 0000 0000 0800 0000 0010  ................ 0000070: 3ee5 e173 f1c9 1241 5eb8 da2e 4e96 5851  &gt;..s...A^...N.XQ 0000080: d788 8016 447d 83ab 3d51 6fdb d077 c6fb  ....D}..=Qo..w.. 0000090: 4059 74f3 07da f0b0 1743 1eb0 11d5 7ebb  @Yt......C....~. 00000a0: 5fba 2011 0000 631f 6331 6138 3262 6564  _. ...c.c1a82bed 00000b0: 2d33 3661 362d 3464 3337 2d61 3863 612d  -36a6-4d37-a8ca- 00000c0: 3032 3065 3233 3965 3062 6362 0000 0000  020e239e0bcb.... 00000d0: 00ac 71f3 0001 8dbc 598d f82b 50a4 a973  ..q.....Y..+P..s 00000e0: 6e8d c8eb 3c4f c22b b8d3 ed74 75b9 9550  n...&lt;O.+...tu..P 00000f0: 632a d60e a232 ccc1 0000 0008 0000 0fa0  c*...2..........&lt;/pre&gt;</description> <content:encoded><![CDATA[<p>Even though ECB is a speed demon in terms of encryption, you should strongly avoid using it. <a href="https://secure.wikimedia.org/wikipedia/en/wiki/Block_cipher_modes_of_operation#Electronic_codebook_.28ECB.29" rel="nofollow">https://secure.wikimedia.org/wikipedia/en/wiki/Block_cipher_modes_of_operation#Electronic_codebook_.28ECB.29</a> explains why, and gives a good demonstration. And because the first parts of the disk clearly show the algorithm, key size and hash used, it shouldn&#8217;t even be an option, IMO.</p><p>Check out the first part of an aes-ebc-null disk with a 128 byte key:</p><pre>0000000: 4c55 4b53 babe 0001 6165 7300 0000 0000  LUKS....aes.....
0000010: 0000 0000 0000 0000 0000 0000 0000 0000  ................
0000020: 0000 0000 0000 0000 6563 622d 6e75 6c6c  ........ecb-null
0000030: 0000 0000 0000 0000 0000 0000 0000 0000  ................
0000040: 0000 0000 0000 0000 7368 6131 0000 0000  ........sha1....
0000050: 0000 0000 0000 0000 0000 0000 0000 0000  ................
0000060: 0000 0000 0000 0000 0000 0800 0000 0010  ................
0000070: 3ee5 e173 f1c9 1241 5eb8 da2e 4e96 5851  &gt;..s...A^...N.XQ
0000080: d788 8016 447d 83ab 3d51 6fdb d077 c6fb  ....D}..=Qo..w..
0000090: 4059 74f3 07da f0b0 1743 1eb0 11d5 7ebb  @Yt......C....~.
00000a0: 5fba 2011 0000 631f 6331 6138 3262 6564  _. ...c.c1a82bed
00000b0: 2d33 3661 362d 3464 3337 2d61 3863 612d  -36a6-4d37-a8ca-
00000c0: 3032 3065 3233 3965 3062 6362 0000 0000  020e239e0bcb....
00000d0: 00ac 71f3 0001 8dbc 598d f82b 50a4 a973  ..q.....Y..+P..s
00000e0: 6e8d c8eb 3c4f c22b b8d3 ed74 75b9 9550  n...&lt;O.+...tu..P
00000f0: 632a d60e a232 ccc1 0000 0008 0000 0fa0  c*...2..........</pre>]]></content:encoded> </item> <item><title>By: anonymous</title><link>http://blog.wpkg.org/2009/04/23/cipher-benchmark-for-dm-crypt-luks/comment-page-1/#comment-4424</link> <dc:creator>anonymous</dc:creator> <pubDate>Mon, 08 Aug 2011 11:33:44 +0000</pubDate> <guid isPermaLink="false">http://blog.wpkg.org/?p=70#comment-4424</guid> <description>Shecky, you&#039;re a legend. Cheers for the .csv!It&#039;s certainly confusing how 512-bit xts is better compared to 256-bit cbc, especially when the double key length requirement seems to be a mistake by the spec writers :/</description> <content:encoded><![CDATA[<p>Shecky, you&#8217;re a legend. Cheers for the .csv!</p><p>It&#8217;s certainly confusing how 512-bit xts is better compared to 256-bit cbc, especially when the double key length requirement seems to be a mistake by the spec writers :/</p> ]]></content:encoded> </item> <item><title>By: admin</title><link>http://blog.wpkg.org/2009/04/23/cipher-benchmark-for-dm-crypt-luks/comment-page-1/#comment-3979</link> <dc:creator>admin</dc:creator> <pubDate>Sun, 01 May 2011 19:17:29 +0000</pubDate> <guid isPermaLink="false">http://blog.wpkg.org/?p=70#comment-3979</guid> <description>@Jim: I don&#039;t think so, at least not without some really major effort.It would be easier to compile your own kernel, or use 2.6.38 provided by your distribution (developer build etc.).</description> <content:encoded><![CDATA[<p>@Jim: I don&#8217;t think so, at least not without some really major effort.</p><p>It would be easier to compile your own kernel, or use 2.6.38 provided by your distribution (developer build etc.).</p> ]]></content:encoded> </item> <item><title>By: Jim</title><link>http://blog.wpkg.org/2009/04/23/cipher-benchmark-for-dm-crypt-luks/comment-page-1/#comment-3977</link> <dc:creator>Jim</dc:creator> <pubDate>Sun, 01 May 2011 18:24:28 +0000</pubDate> <guid isPermaLink="false">http://blog.wpkg.org/?p=70#comment-3977</guid> <description>Thanks. Now I just have to wait until the distro vendors actually ship kernel 2.6.38. Is there any chance to apply the patch to older kernels (e.g. 2.6.32?)</description> <content:encoded><![CDATA[<p>Thanks. Now I just have to wait until the distro vendors actually ship kernel 2.6.38. Is there any chance to apply the patch to older kernels (e.g. 2.6.32?)</p> ]]></content:encoded> </item> <item><title>By: admin</title><link>http://blog.wpkg.org/2009/04/23/cipher-benchmark-for-dm-crypt-luks/comment-page-1/#comment-3969</link> <dc:creator>admin</dc:creator> <pubDate>Fri, 29 Apr 2011 20:56:48 +0000</pubDate> <guid isPermaLink="false">http://blog.wpkg.org/?p=70#comment-3969</guid> <description>Multi-CPU-support was added in 2.6.38 (look for &quot;dm-crypt: scale to multiple cpu&quot;):http://kernelnewbies.org/Linux_2_6_38</description> <content:encoded><![CDATA[<p>Multi-CPU-support was added in 2.6.38 (look for &#8220;dm-crypt: scale to multiple cpu&#8221;):</p><p><a href="http://kernelnewbies.org/Linux_2_6_38" rel="nofollow">http://kernelnewbies.org/Linux_2_6_38</a></p> ]]></content:encoded> </item> <item><title>By: Jim</title><link>http://blog.wpkg.org/2009/04/23/cipher-benchmark-for-dm-crypt-luks/comment-page-1/#comment-3968</link> <dc:creator>Jim</dc:creator> <pubDate>Fri, 29 Apr 2011 20:42:35 +0000</pubDate> <guid isPermaLink="false">http://blog.wpkg.org/?p=70#comment-3968</guid> <description>Are there any news concerning benchmarks and dm-crypt since the last comments were posted on this blog about a year ago? In particular, how is the multi-CPU-support coming that you mentioned on May 31 last year?By the way, I really appreciate this site, even if my previous comments may have sounded quite critical. Keep up the good work!</description> <content:encoded><![CDATA[<p>Are there any news concerning benchmarks and dm-crypt since the last comments were posted on this blog about a year ago? In particular, how is the multi-CPU-support coming that you mentioned on May 31 last year?</p><p>By the way, I really appreciate this site, even if my previous comments may have sounded quite critical. Keep up the good work!</p> ]]></content:encoded> </item> <item><title>By: Ubuntu encrypted home &#124; welcome to the world of...</title><link>http://blog.wpkg.org/2009/04/23/cipher-benchmark-for-dm-crypt-luks/comment-page-1/#comment-3727</link> <dc:creator>Ubuntu encrypted home &#124; welcome to the world of...</dc:creator> <pubDate>Fri, 18 Mar 2011 18:04:53 +0000</pubDate> <guid isPermaLink="false">http://blog.wpkg.org/?p=70#comment-3727</guid> <description>[...] the encryption I decided to utilize aes-ebc-plain with key size 128 bits for its speed (I don&#8217;t need military grade safety). Partitions [...]</description> <content:encoded><![CDATA[<p>[...] the encryption I decided to utilize aes-ebc-plain with key size 128 bits for its speed (I don&#8217;t need military grade safety). Partitions [...]</p> ]]></content:encoded> </item> <item><title>By: Shecky</title><link>http://blog.wpkg.org/2009/04/23/cipher-benchmark-for-dm-crypt-luks/comment-page-1/#comment-1684</link> <dc:creator>Shecky</dc:creator> <pubDate>Tue, 25 May 2010 19:17:31 +0000</pubDate> <guid isPermaLink="false">http://blog.wpkg.org/?p=70#comment-1684</guid> <description>I think I see the problem with Frank&#039;s benchmark results.In his test script, he runs &quot;cryptsetup ... luksFormat ...&quot; without checking for an error.  If a previous iteration left a valid luks device AND the failed luksFormat left loop0 unmodified, the subsequent luksOpen would succeed and the benchmark would run for the previous cipher-mode-iv combination.  This appears to explain why there are valid results for impossible modes such as &quot;-c aes-xts-plain -s 128&quot; (128 is an invalid blocksize for aes-xts), &quot;-c blowfish-xts-X&quot; and &quot;cast5-xts-X&quot; (blowfish and cast5 have 8 byte block size and won&#039;t work in XTS mode at all), anything with salsa20 (salsa20 is a stream cipher), and &quot;-c arc4-xts-plain -s arc4&quot; (interesting block size, that.)</description> <content:encoded><![CDATA[<p>I think I see the problem with Frank&#8217;s benchmark results.</p><p>In his test script, he runs &#8220;cryptsetup &#8230; luksFormat &#8230;&#8221; without checking for an error.  If a previous iteration left a valid luks device AND the failed luksFormat left loop0 unmodified, the subsequent luksOpen would succeed and the benchmark would run for the previous cipher-mode-iv combination.  This appears to explain why there are valid results for impossible modes such as &#8220;-c aes-xts-plain -s 128&#8243; (128 is an invalid blocksize for aes-xts), &#8220;-c blowfish-xts-X&#8221; and &#8220;cast5-xts-X&#8221; (blowfish and cast5 have 8 byte block size and won&#8217;t work in XTS mode at all), anything with salsa20 (salsa20 is a stream cipher), and &#8220;-c arc4-xts-plain -s arc4&#8243; (interesting block size, that.)</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching using disk: basic
Object Caching 186/307 objects using disk: basic

Served from: blog.wpkg.org @ 2012-02-10 21:25:25 -->
