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

Andreas Steinmetz
2005-11-24T18:06:16Z

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@domdv.de