Re: [PATCH] tiny improvement to x86_64 asm aes encryption

From: Andreas Steinmetz
Date: Thu Nov 24 2005 - 13:05:46 EST


Denis Vlasenko wrote:
[snip]
> #define encrypt_round1(TAB,OFFSET) \
> round(TAB,OFFSET,R1,R2,R3,R4,R5,R6,R7,R10,R5,R6,R3,R4)
> ^^^^^ ^^^^^
> #define encrypt_round2(TAB,OFFSET) \
> round(TAB,OFFSET,R5,R6,R3,R4,R1,R2,R7,R10,R1,R2,R3,R4)
> ^^^^^ ^^^^^

Won't work. You don't have "%sh", "%sl", "dh" (*) and "%dl" (*) as
registers.
(*) from %edi
--
Andreas Steinmetz SPAMmers use robotrap@xxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/