Commit dc3b4919 authored by Lena Heimberger's avatar Lena Heimberger
Browse files

Update README.md with benchmarks

parent 478ffb9f
......@@ -7,9 +7,49 @@ The main motivation for this project was to write a high-level implementation of
Competition candidate SPHINCS+, a post-quantum secure hash-based digital signature scheme. The code is optimized for readability and straightforward usability. It aims to be faithful to the pseudocode in the [specification](https://sphincs.org/data/sphincs+-specification.pdf) to aid understanding of the signature scheme.
## Performance
Averaged over 100 iterations with random message input, the following signature and verification duration was measured.
### todo while computer at rest
Averaged over 100 iterations with random message input, the following signature and verification duration was measured on an ````Intel i7-4600U CPU @ 2.10GHz``` running ```Ubuntu 19.19```.
|---------------------|-----------|---------|
|SPHINCS+ flavor | time for signature generation in milliseconds | time for signature verification in microseconds|
|---------------------|-----------|---------|
|haraka-128f-simple | 62.08 | 136.754 |
|haraka-128f-robust | 98.42 | 66.958 |
|haraka-128s-simple | 886.33 | 106.388 |
|haraka-128s-robust | 1472.69 | 108.196 |
|haraka-192f-simple | 70.79 | 41.1335 |
|haraka-192f-robust | 118.85 | 48.214 |
|haraka-192s-simple | 1980.39 | 108.540 |
|haraka-192s-robust | 3470.14 | 107.067 |
|haraka-256f-simple | 157.92 | 51.186 |
|haraka-256f-robust | 270.52 | 92.947 |
|haraka-256s-simple | 1373.39 | 109.219 |
|haraka-256s-robust | 2357.26 | 109.212 |
|sha256-128f-simple | 141.34 | 13.780 |
|sha256-128f-robust | 235.69 | 6.539 |
|sha256-128s-simple | 1989.43 | 17.648 |
|sha256-128s-robust | 3443.2 | 18.637 |
|sha256-192f-simple | 177.13 | 5.526 |
|sha256-192f-robust | 315.94 | 8.446 |
|sha256-192s-simple | 4423.59 | 17.785 |
|sha256-192s-robust | 7752.09 | 18.457 |
|sha256-256f-simple | 389.57 | 9.698 |
|sha256-256f-robust | 862.55 | 15.438 |
|sha256-256s-simple | 3264.95 | 19.018 |
|sha256-256s-robust | 7187.59 | 18.411 |
|shake256-128f-simple | 127.43 | 3.929 |
|shake256-128f-robust | 237.02 | 2.078|
|shake256-128s-simple | 1928.36 | 3.658 |
|shake256-128s-robust | 3585.81 | 4.122 |
|shake256-192f-simple | 169.22 | 2.410 |
|shake256-192f-robust | 332.33 | 2.741 |
|shake256-192s-simple | 4057.12 | 4.025 |
|shake256-192s-robust | 7097.68 | 4.512 |
|shake256-256f-simple | 357.6 | 2.542 |
|shake256-256f-robust | 669.73 | 3.173 |
|shake256-256s-simple | 3013.07 | 4.643 |
shake256-256s-robust | 5632.6 | 4.550 |
## Used Libraries
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment