Re: Successful remote AES key extraction
From: BRG (brg_at_nowhere.org)
Date: 04/18/05
- Previous message: Bruce Stephens: "Re: SF: Infinity proof"
- In reply to: D. J. Bernstein: "Re: Successful remote AES key extraction"
- Next in thread: David A. Scott: "Re: Successful remote AES key extraction"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 18 Apr 2005 11:11:09 +0100
D. J. Bernstein wrote:
> BRG wrote:
>
>>I am simply pointing out that in comparing the speed of your assembler
>>code with the speed of other people's C code you are not comparing like
>>with like.
>
> Speed is speed. I'm simply reporting all the timings I found; I'm not
> excluding any particular programming language. When I say that your AES
> code reportedly takes 482 Pentium-III cycles (202 for expansion, 280 for
> encryption), I'm making no comments about how that speed was achieved.
My point is not about your comments on the speed of my code, its a more
general point (I do think that your commentary on my code is wrong but
that's not an issue that worries me).
> If someone wants to explain bad performance or timing leaks by saying
> ``I decided to use C and couldn't do better in C,'' that's useful data
> for implementors choosing programming tools. But saying ``I decided to
> use C and it's unfair to be compared to asm'' is silly.
My point is not about fairness, its about accuracy and completeness
given the purpose for which you are presenting comparisons.
> Anyway, all I was saying was that the published aes_ppro code takes 23
> Pentium III cycles per round with compressed tables, and nobody claims
> that uncompressed tables can do better than 20 cycles, so obviously
> there's not a serious slowdown from compressed tables. In fact, I see
> no reason to disbelieve Agner Fog's statement that there's zero penalty
> for arbitrary alignment within lines on the PPro/PII/PIII.
I might look at this on current processors if I find the time.
Brian Gladman
- Previous message: Bruce Stephens: "Re: SF: Infinity proof"
- In reply to: D. J. Bernstein: "Re: Successful remote AES key extraction"
- Next in thread: David A. Scott: "Re: Successful remote AES key extraction"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|