From: Sebastian Siewior Subject: Re: Problem using dm-crypt with geode LX800 AES-Engine Date: Fri, 31 Aug 2007 20:14:32 +0200 Message-ID: <20070831181432.GA6240@Chamillionaire.breakpoint.cc> References: <46D80C50.3090402@gmx.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Cc: Herbert Xu , linux-crypto@vger.kernel.org To: Markus Huehnerbein Return-path: Received: from Chamillionaire.breakpoint.cc ([85.10.199.196]:39887 "EHLO Chamillionaire.breakpoint.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965780AbXHaSOi (ORCPT ); Fri, 31 Aug 2007 14:14:38 -0400 Content-Disposition: inline In-Reply-To: <46D80C50.3090402@gmx.ch> Sender: linux-crypto-owner@vger.kernel.org List-Id: linux-crypto.vger.kernel.org * Markus Huehnerbein | 2007-08-31 14:40:48 [+0200]: >> Sounds like geode_aes is just broken. Can you please check if >> tcrypt with mode=10 and mode=200 work or not with the geode_aes >> driver? > >Below are the syslog entries generated by modprobe tcrypt mode=10 and >modprobe tcrypt mode=200 but I'm not sure if the geoade_aes module is >used for testing - shouldn't there be something with "...geode..." in >the syslog output? Just to ensure the module is loaded: >grep geode /proc/modules >geode_aes 4676 0 - Live 0xcf259000 >crypto_algapi 9920 6 geode_aes,lrw,ecb,aes,cbc,cryptomgr, Live 0xcf223000 >blkcipher 4772 4 geode_aes,lrw,ecb,cbc, Live 0xcf1ea000 > >--------------tcrypt mode=10--------------------> Hmmm. Just an idea. Could you please apply the two patches from [1] (first 0001, than 0002) and try again? I assume that the geode needs 16byte align keys just as the encrypt/decrypt function. Please try to create and mount the crypto partition once you patched it. [1] http://download.breakpoint.cc/patch/