Re: geode: fix not inplace encryption

2007-11-06 Thread Jordan Crouse
oherent bits are always set. > > Cc: Jordan Crouse <[EMAIL PROTECTED]> > Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]> Acked-by: Jordan Crouse <[EMAIL PROTECTED]> Anything in the cache is suspect - turning on coherency is the best plan to be rock solid. >

Re: geode: add fallback for unsupported modes, take 2

2007-11-06 Thread Jordan Crouse
On 04/11/07 21:59 +0100, Sebastian Siewior wrote: > The Geode AES crypto engine supports only 128 bit long key. This > patch adds fallback for other key sizes which are required by the > AES standard. > > Cc: Jordan Crouse <[EMAIL PROTECTED]> > Signed-off-by: Sebastian S

Re: Problem using dm-crypt with geode LX800 AES-Engine

2007-08-29 Thread Jordan Crouse
t than you should see in dmesg or somewhere: > > "Failed to set key for ESSIV cipher" > > Is it? > > Jordan, could you please confirm whether geode-aes supports > key sizes other than 128, i.e., 192 and 256? No - just 128. Bad planning, I guess... :) JOrdan -- Jor

Re: Testing the geode-aes driver with the tcrypt module completely freezes the machine

2007-05-03 Thread Jordan Crouse
ugh there was no hardware protection against it. I can't remember if the newer chip version can handle in place encryption or not. I missed out on the context of this thread - does the tcrypt demand in-place encryption? Jordan -- Jordan Crouse Senior Linux Engineer Advanced Micro Devices

Re: crypto: Add support for the Geode AES engine (v4)

2006-10-13 Thread Jordan Crouse
this patch be used on a 2.6.18 kernel? Hmmm... I use the new API - is that legal for 2.6.18? Jordan -- Jordan Crouse Senior Linux Engineer Advanced Micro Devices, Inc. - To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to [EMAIL PROT

Re: crypto: Add support for the Geode AES engine (v4)

2006-09-28 Thread Jordan Crouse
On 28/09/06 16:54 -0700, Andrew Morton wrote: > On Thu, 28 Sep 2006 17:17:39 -0600 > "Jordan Crouse" <[EMAIL PROTECTED]> wrote: > > > Add a driver to support the AES hardware on the Geode LX processor. > > So... what are you planning on doing with this?

Re: crypto: Add support for the Geode AES engine (v4)

2006-09-28 Thread Jordan Crouse
ally: "This register should not be changed during an AES encryption or decryption operation." So not only do we need to protect ourselves while changing the fields, we also need to make sure they remain untouched until the whole operation is completed. Changes made and new version follo

Re: crypto: Add support for the Geode AES engine (v3)

2006-09-28 Thread Jordan Crouse
Sigh - forgot to do an 'stg refresh' before generating the diff. This one actually compiles. Jordan -- Jordan Crouse Senior Linux Engineer Advanced Micro Devices, Inc. [PATCH] crypto: Add support for the Geode LX AES hardware This adds support for the AES engine on the Geode LX

crypto: Add support for the Geode AES engine (v2)

2006-09-28 Thread Jordan Crouse
y, if the crypto engine fails, then its a good bet the processor is on fire. :) Jordan -- Jordan Crouse Senior Linux Engineer Advanced Micro Devices, Inc. diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index adb5541..e816535 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kcon

Re: crypto: Add support for the Geode AES engine

2006-09-28 Thread Jordan Crouse
ommands might be important to others and which are just utility functions for my own use and abuse. I'll change the name. Thanks, Jordan -- Jordan Crouse Senior Linux Engineer Advanced Micro Devices, Inc. - To unsubscribe from this list: send the line "unsubscribe linux-crypto"

[RFC] crypto: Add support for the Geode AES engine

2006-09-27 Thread Jordan Crouse
tree. Once this is acceptable, I would like to get this pulled into the crypto tree. Thanks, Jordan -- Jordan Crouse Senior Linux Engineer Advanced Micro Devices, Inc. [PATCH] crypto: Add support for the Geode LX hardware AES engine This adds support for the AES engine built into the Geode LX pr

Re: crypto: Add support for the Geode LX HW AES engine

2006-06-06 Thread Jordan Crouse
On 06/06/06 11:24 +1000, Herbert Xu wrote: > Jordan Crouse <[EMAIL PROTECTED]> wrote: > > > > Is there any way to differentiate if a crypto API call was made in an > > atomic context or not? The problem here, is that I only have one engine, > > so I need to p

Re: crypto: Add support for the Geode LX HW AES engine

2006-06-05 Thread Jordan Crouse
process contexts heavily accessing the engine at the same time, we really run the risk of having the atomic contexts fail more often then they should due to a process holding the mutex. > ... > > > + .cipher = { > > + .cia_min_keysize= AES_KEY_LENG

Re: crypto: Add support for the Geode LX HW AES engine

2006-06-05 Thread Jordan Crouse
On 03/06/06 14:43 +0400, Evgeniy Polyakov wrote: > On Sat, Jun 03, 2006 at 09:07:52AM +1000, Herbert Xu ([EMAIL PROTECTED]) > wrote: > > On Fri, Jun 02, 2006 at 05:23:41PM +0000, Jordan Crouse wrote: > > > > > > + /* According to the silicon developers, the statu

Re: crypto: Add support for the Geode LX HW AES engine

2006-06-02 Thread Jordan Crouse
On 02/06/06 13:32 -0400, Michael Frey wrote: > Jordan, > > This looks great, however are you going to release a patch against > 2.6.11-geode? 2.6.11 is the version all geode patches were issued > against. There is a 2.6.11 version of this on the AMD website, if you need it. I think that inc

[PATCH] crypto: Add support for the Geode LX HW AES engine

2006-06-02 Thread Jordan Crouse
Greetings - attached is a patch adding a crypto API driver for the hardware encryption engine on the AMD Geode LX processor, applied against latest GIT from Linus. This is my first foray into the world of the Crypto API, so comments are more then welcome. Regards, Jordan -- Jordan Crouse