Re: DSA speed vs AES speed




Pubkeybreaker wrote:
"And the question is: approximately, how much time should we expect
this
encryption to take? Much more than 10 seconds? Much less? Same order of
magnitude? "


Microseconds, at most.

They didn't strictly say a desktop processor. A microsecond on a
standard 8051 is 12 cycles whcih is the time it takes to execute a "1
instruction cycle" opcode.

IIRC an AES implementation (from the submission papers) was thousands
of cycles. I don't recall the exact figure but let's say something
like 2000 cycles just for the sake of discussion (cuz that sounds about
right, I think in reality it's probably lower but that doesn't matter).

So on a CPU where 512-bit DSA takes "10 seconds" I doubt AES is running
on an Athlon64 or Pentium4.

Tom

.



Relevant Pages

  • Re: GetTickCount() performance
    ... syscall takes a lot of CPU cycles, definitely on the wrong side of 500. ... CPUs, tens of microseconds, QueryPerformanceCounter() may already be used. ...
    (microsoft.public.win32.programmer.kernel)
  • [PATCH -rt] preempt_max_latency to microseconds
    ... Not to long ago preempt_max_latency was microseconds, ... struct clocksource - hardware abstraction for a free running counter ... Convert raw cycles to usecs. ...
    (Linux-Kernel)
  • Re: A new pseudo-disk for Apple 2.
    ... more than about 5 cycles, ... The trick is that the clock is only removed for ... a few microseconds but then ...
    (comp.sys.apple2)