Return-Path: Received: from localhost (localhost [127.0.0.1]) by mail.saout.de (Postfix) with ESMTP id 5FBC891F7 for ; Wed, 5 Aug 2009 01:54:24 +0200 (CEST) Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zgNcLTPSqzHa for ; Wed, 5 Aug 2009 01:54:19 +0200 (CEST) Received: from orm.enotty.net (orm.enotty.net [217.155.224.221]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Wed, 5 Aug 2009 01:54:19 +0200 (CEST) Received: from obsidian.enotty.net ([217.155.224.220]) by orm.enotty.net with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1MYTpb-0003Al-R3 for dm-crypt@saout.de; Wed, 05 Aug 2009 00:54:11 +0100 Received: from localhost ([127.0.0.1] helo=obsidian.enotty.net) by obsidian.enotty.net with esmtp (Exim 4.69) (envelope-from ) id 1MYTpT-0000i0-7H for dm-crypt@saout.de; Wed, 05 Aug 2009 00:54:03 +0100 Date: Wed, 05 Aug 2009 00:54:03 +0100 Message-ID: <87zlaf3zl0.wl@obsidian.enotty.net> From: Stelios Bounanos MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Subject: [dm-crypt] cryptsetup with arc4 cipher List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de Hello list, I was recently looking for dm-crypt cipher benchmarks and came across this: http://blog.wpkg.org/2009/04/23/cipher-benchmark-for-dm-crypt-luks/ I was surprised to see arc4 perform so badly, particularly since "openssl speed" results tell a very different story. I decided to do some simple benchmarking of my own but I can't seem to get cryptsetup to work with arc4: # cryptsetup luksFormat --align-payload=512 -q -c arc4 /dev/sda4 key # cryptsetup luksOpen -d key /dev/sda4 ctest Command failed: No key available with this passphrase. The above commands work fine with aes. I can see arc4 in /proc/crypto. Any ideas? Regards, Stelios. -- Stelios Bounanos perl -e 'print+reverse"t\nney.ttno\@esb"=~/(..)/sg' #key: 0xE88A7F61