All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] Re-implemented i586 asm AES
@ 2004-08-06 12:00 Marc Ballarin
  2004-08-06 14:52 ` [PATCH] Re-implemented i586 asm AES (updated) James Morris
  0 siblings, 1 reply; 10+ messages in thread
From: Marc Ballarin @ 2004-08-06 12:00 UTC (permalink / raw)
  To: James Morris; +Cc: torvalds, davem, linux-kernel, clemens

On Fri, 6 Aug 2004 04:24:08 -0400 (EDT)
James Morris <jmorris@redhat.com> wrote:

> This code is a rework of the original Gladman AES code, and does not
> include any supposed BSD licensed work by Jari Ruusu.
> 

Will this code work with CONFIG_REGPARM=y ?

> +
> +// An AES (Rijndael) implementation for the Pentium MMX family using
> the NASM+// assembler <http://www.web-sites.co.uk/nasm/>. This version
> only implements+// the standard AES block length (128 bits, 16 bytes)
> with the same interface+// as that used in my C/C++ implementation.  
> This code does not preserve the+// eax, ecx or edx registers or the
> artihmetic status flags. However, the ebx, +// esi, edi, and ebp
> registers are preserved across calls.    Only encryption+// and
> decryption are implemented here, the key schedule code being that
> from+// compiling aes.c with USE_ASM defined.  This code uses VC++
> register saving+// conentions// if it is used with another compiler, its
> conventions for using+// and saving registers will need to be checked.
> +

This comment seems partly obsolete.

>  config CRYPTO_AES
>  	tristate "AES cipher algorithms"
> -	depends on CRYPTO
> +	depends on CRYPTO && !(X86 && !X86_64)
>  	help

Does it work on x86 CPUs without MMX?

Regards

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2004-08-09 19:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <2qbyt-1Op-45@gated-at.bofh.it>
     [not found] ` <2qemF-3Pj-49@gated-at.bofh.it>
2004-08-06 15:09   ` [PATCH] Re-implemented i586 asm AES (updated) Andi Kleen
2004-08-06 16:17     ` James Morris
2004-08-06 16:38       ` David Woodhouse
2004-08-06 16:44       ` Jörn Engel
2004-08-06 16:43     ` Linus Torvalds
2004-08-06 17:17       ` Ben Pfaff
2004-08-07  7:49       ` Kasper Sandberg
2004-08-07 20:26         ` Andi Kleen
2004-08-09 19:38       ` dean gaudet
2004-08-06 12:00 [PATCH] Re-implemented i586 asm AES Marc Ballarin
2004-08-06 14:52 ` [PATCH] Re-implemented i586 asm AES (updated) James Morris

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.