Herbert Xu wrote:
On Wed, Mar 15, 2006 at 03:32:33PM +0100, Dag Arne Osvik wrote:
Cool. How does this compare with the existing x86-64 AES implementation?
Using the best average encryption time per block from tcrypt's speed
tests gave these numbers:
ECB on Intel 288.5
ECB on AMD 286.1
CBC on Intel 510.4
CBC on AMD 334.2
Sorry I'm confused. Which one is the existing x86-64 assembly
implementation?
Sorry for the confusion.. All of these numbers are for code currently
in the kernel. However, it seems like only ECB on Intel used the
assembly version. With the asm module running also on the AMD machine,
time for ECB on AMD dropped to 187.5 cycles per block, though CBC still
runs at 334.2 per block.
My code isn't yet ready to be tested by tcrypt, and the number I gave
for my code (233 cycles/block on Intel's Nocona) is from a simple
feedback loop, essentially doing CBC encryption of the zero string.
Dag Arne
-
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html