Subject: Re: ssh-keygen and CFLAGS testing
To: Hubert Feyrer <hubert@feyrer.de>
From: Charles M. Hannum <mycroft@MIT.EDU>
List: port-sparc64
Date: 07/07/2006 14:07:26
On Fri, Jul 07, 2006 at 07:54:17PM +0200, Hubert Feyrer wrote:
> On Fri, 7 Jul 2006, Martin Husemann wrote:
> >>what surprises me the most is the various values I get.
> >
> >I'd say that ssh-keygen is not cpu bound in your case.
> >"openssl speed" might be a better test.
> 
> Right, ssh-keygen may wait for bits to be available at /dev/(u?)random,
> which may take different times and thus explain the differences in timing.

Even ignoring that, key generation is not a deterministic process.
You can't expect the timing to be consistent.