How to benchmark a single algorithm in SUPERCOP?

2019-07-23 09:39发布

问题:

A full SUPERCOP benchmark is done as follows:

wget https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz

unxz < supercop-20170228.tar.xz | tar -xf -

cd supercop-20170228

nohup sh do &

But it takes too much time to run every cryptographic algorithm benchmark.

I wondered, if you know how to benchmark only Ed25519 in SUPERCOP, without benchmarking all the other algorithms. Ed25519 is in the crypto_sign/ed25519 folder of SUPERCOP.

回答1:

The SUPERCOP tips page (https://bench.cr.yp.to/tips.html) suggest something like this:

 ./do-part used
 ./do-part crypto_sign ed25519