random.nextBytes (data);
byte[] signature = key.sign (data);
long cpu = -mxb.getCurrentThreadUserTime ();
for ( int i = 0; i < 100; ++i )
{
assertTrue (key.verify (data, signature));
}
cpu += mxb.getCurrentThreadUserTime ();
double speed = 100.0 / (cpu / 10.0e9);
log.info ("ECDSA validation speed : " + speed + " signatures/second");
assertTrue (speed > 100.0);