Return-Path: 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 UBsTiqPATc46 for ; Thu, 28 Nov 2013 14:49:45 +0100 (CET) Received: from mail.madez.de (p5798EB4C.dip0.t-ipconnect.de [87.152.235.76]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Thu, 28 Nov 2013 14:49:45 +0100 (CET) Received: from localhost (mail.madez.de [127.0.0.1]) by mail.madez.de (Postfix) with ESMTP id 313B320055A for ; Thu, 28 Nov 2013 14:26:14 +0100 (CET) Received: from mail.madez.de ([127.0.0.1]) by localhost (mail.madez.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EIpPkMe4QlU6 for ; Thu, 28 Nov 2013 14:25:58 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 28 Nov 2013 13:25:48 +0000 From: christian@madez.de Message-ID: Subject: [dm-crypt] REQUIRED CIPHERS TEST takes 20 minutes each for aes-related ciphers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de Hello, I just compiled cryptsetup-1.6.2 on a machine with AES-NI. During the compilation there were some tests. The lines of the output when the issue occurred were: REQUIRED CIPHERS TEST # Algorithm | Key | Encryption | Decryption aes-cbc 256b 975.0 MiB/s 2037065.0 MiB/s aes-lrw 384b 103909.0 MiB/s 158691.0 MiB/s aes-xts 512b 1731833.0 MiB/s 1681613.0 MiB/s twofish-cbc 256b 241.3 MiB/s 499.5 MiB/s twofish-lrw 384b 448.6 MiB/s 453.0 MiB/s twofish-xts 512b 497.0 MiB/s 496.0 MiB/s serpent-cbc 256b 108.5 MiB/s 351.3 MiB/s serpent-lrw 384b 333.7 MiB/s 333.0 MiB/s serpent-xts 512b 363.3 MiB/s 341.0 MiB/s blowfish-cbc 256b 129.6 MiB/s 500.5 MiB/s des3_ede-cbc 192b 34.3 MiB/s 35.4 MiB/s cast5-cbc 128b 121.9 MiB/s 474.0 MiB/s The tests for aes-cbc, aes-lrw and aes-xts took very long (nearly one hour for all three combined) on a Intel Core i5-4670K. All other tests were finished in a few seconds. Is this wanted behavior? Best regards, Christian Weinz