VAMPIRE

eBACS: ECRYPT Benchmarking of Cryptographic Systems


ECRYPT II
General information:IntroductioneBASHeBASCeBAEADeBATSSUPERCOPXBXComputersArch
How to submit new software:Tipshashstreamaeaddhkemencryptsign
List of primitives measured:lwcsha3hashstreamlwccaesaraeaddhkemencryptsign
Measurements:lwcsha3hashstreamlwccaesaraeaddhkemencryptsign
List of subroutines:verifydecodeencodesortcorehashblocksxofscalarmult

Measurements of stream ciphers on one machine: amd64; Bulldozer (600f20); 2012 AMD FX-8350; 4 x 4000MHz; saber214, supercop-20240909

[Page version: 20240912 11:46:14]

eBASC (ECRYPT Benchmarking of Stream Ciphers) is a project to measure the performance of stream ciphers. This page presents benchmark results collected in eBASC:

Graphs show timings for all message lengths between 0 and 4096 bytes. The stair-step shape of a typical curve on the graphs reflects the fact that these stream ciphers handle messages in blocks, such as 64-byte blocks.

Each table row lists the first quartile of many speed measurements, the median of many speed measurements, the third quartile of many speed measurements, and the name of the primitive. Measurements with large variance are indicated in red with question marks. The symbol T: (starting with supercop-20200816) means that the SUPERCOP database at the time of benchmarking did not list constant time as a goal for this implementation. The symbol T!!! means that constant time was listed as a goal for this implementation, but that the implementation failed TIMECOP. (TIMECOP failures are not necessarily security issues; they can sometimes be resolved by, e.g., declaring that a rejection-sampling condition is safe to declassify.)

There is a separate page with more information about each stream cipher and each implementation. Designers and implementors interested in submitting new stream ciphers and new implementations should read the call for submissions.


Test results

Graphs: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.980.990.99T:aes128ctr
1.081.121.13chacha8
1.24?1.29?1.41?aes256ctr
1.381.391.39salsa208
1.451.461.47chacha12
1.421.481.50T:aes192ctr
1.461.491.51tango642
1.961.992.03salsa2012
2.102.122.12T:speck128128ctr
2.172.182.21T:speck128192ctr
2.172.192.23chacha20
2.232.232.25T:speck128256ctr
2.662.662.67T:speck6496ctr
2.742.742.75T:speck64128ctr
2.882.902.92T:hc128
2.892.963.06T:tpy
3.163.163.16salsa20
3.183.183.18xsalsa20
3.183.283.44T:tpy6
3.663.663.67T:trivium
3.713.723.74T:simon6496ctr
3.863.873.90T:cryptmtv3
3.883.913.93T:simon64128ctr
4.034.054.22T:nlsv2
4.184.254.35T:panama
4.344.414.63T:sosemanuk
4.444.484.51T:hc256
4.644.674.72T:snow20
4.854.914.95T:tpypy
5.345.365.40T:rabbit
5.986.036.08T:lexv2
6.046.076.09T:simon128128ctr
6.356.396.43T:simon128256ctr
11.2911.3211.38T:aes128estream
20.9721.0421.09T:aes256estream
28.6028.8429.29T:ocelot1
31.5031.6431.82T:ocelot2
48.29?50.61?55.00?T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.061.061.06T:aes128ctr
1.121.131.13chacha8
1.341.351.44aes256ctr
1.421.421.42salsa208
1.491.501.51chacha12
1.711.721.73tango642
1.921.951.96T:aes192ctr
2.012.032.05salsa2012
2.212.222.24chacha20
2.222.232.23T:speck128128ctr
2.252.252.27T:speck128192ctr
2.322.322.33T:speck128256ctr
2.722.722.73T:speck6496ctr
2.802.802.81T:speck64128ctr
3.203.203.20salsa20
3.363.373.37xsalsa20
3.843.843.84T:trivium
4.054.054.06T:simon6496ctr
4.024.084.17T:tpy6
4.264.284.29T:simon64128ctr
4.304.314.43T:nlsv2
4.694.714.87T:sosemanuk
4.774.774.79T:cryptmtv3
4.814.834.86T:snow20
5.045.075.09T:tpy
5.555.565.58T:rabbit
5.665.675.71T:panama
6.206.216.24T:lexv2
6.486.506.51T:simon128128ctr
6.876.906.91T:tpypy
6.916.926.95T:simon128256ctr
8.018.028.03T:hc128
11.3911.4011.44T:aes128estream
17.8417.8717.88T:hc256
21.1521.2021.22T:aes256estream
30.4330.5930.86T:ocelot1
33.3533.4433.54T:ocelot2
51.2752.7755.53T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.151.151.18T:aes128ctr
1.131.181.21chacha8
1.491.491.53salsa208
1.501.501.53chacha12
1.451.511.56aes256ctr
2.102.102.11salsa2012
2.102.122.16tango642
2.232.252.27chacha20
2.372.372.38T:speck128192ctr
2.412.412.42T:speck128128ctr
2.462.462.46T:speck128256ctr
2.802.822.82T:speck6496ctr
2.732.842.99T:aes192ctr
2.892.892.91T:speck64128ctr
3.273.273.27salsa20
3.673.673.68xsalsa20
4.144.144.14T:trivium
4.584.604.61T:simon6496ctr
4.854.864.87T:simon64128ctr
4.934.965.26T:nlsv2
5.055.075.09T:snow20
5.255.315.37T:sosemanuk
5.445.495.66T:tpy6
5.855.905.90T:rabbit
6.476.496.50T:lexv2
7.067.087.11T:cryptmtv3
7.167.197.24T:simon128128ctr
7.787.837.85T:simon128256ctr
7.967.988.11T:panama
8.468.508.85T:tpy
10.1210.2410.27T:tpypy
11.4711.5311.62T:aes128estream
16.5016.5116.53T:hc128
21.3721.4521.46T:aes256estream
33.2333.6233.65T:ocelot1
36.4336.6136.65T:ocelot2
40.1040.1240.14T:hc256
54.2955.1456.96T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.381.381.40chacha8
1.441.451.52T:aes128ctr
1.781.841.92aes256ctr
1.901.951.97chacha12
1.982.032.12salsa208
2.722.762.77salsa2012
2.832.833.00chacha20
2.842.862.90T:speck128192ctr
2.892.923.04T:speck128128ctr
2.973.013.07T:speck128256ctr
3.133.133.16T:speck6496ctr
3.123.153.22tango642
3.263.263.26T:speck64128ctr
4.204.214.27salsa20
4.914.934.98T:aes192ctr
4.944.954.96T:trivium
5.235.245.25xsalsa20
5.735.755.80T:snow20
6.346.356.36T:nlsv2
6.776.806.80T:rabbit
6.987.037.09T:simon6496ctr
7.027.067.24T:sosemanuk
7.427.467.56T:lexv2
7.417.487.48T:simon64128ctr
8.268.288.30T:cryptmtv3
8.458.478.53T:simon128256ctr
9.279.319.46T:tpy6
10.8710.9210.99T:simon128128ctr
11.8911.9211.93T:aes128estream
14.2514.2614.62T:panama
17.5517.5817.65T:tpy
19.1819.2219.39T:tpypy
22.0622.0922.18T:aes256estream
39.3239.3439.36T:hc128
40.9541.0941.23T:ocelot1
44.7044.8345.02T:ocelot2
66.5267.6970.41T:amastrid
99.6399.6599.69T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
4.03?4.05?5.27?chacha8
4.91?4.92?5.50?T:aes128ctr
5.385.425.52chacha12
6.446.446.44salsa208
5.94?6.45?7.09?aes256ctr
6.476.596.62T:speck6496ctr
7.027.027.02T:speck64128ctr
7.648.168.48T:speck128192ctr
8.198.198.83T:speck128256ctr
8.368.388.56salsa2012
8.92?9.28?9.92?chacha20
9.669.679.78T:speck128128ctr
12.2712.3312.78salsa20
12.7713.0313.12T:simon6496ctr
13.8013.8014.16T:simon64128ctr
14.6615.1615.19T:snow20
15.1615.1715.17T:trivium
16.0816.3116.52tango642
17.4117.4117.42T:rabbit
17.3917.4718.33T:aes128estream
18.3018.3119.09T:lexv2
19.9520.2221.66T:cryptmtv3
21.4821.4821.59xsalsa20
21.4522.0923.23T:simon128128ctr
22.5022.6723.19T:simon128256ctr
26.3626.7026.80T:sosemanuk
28.9529.0229.06T:nlsv2
30.0530.2030.53T:aes256estream
33.7033.9734.91T:aes192ctr
56.0856.1256.20T:tpy6
93.8494.3697.59T:panama
133.38133.55133.88T:tpypy
133.33134.28139.11T:tpy
137.55138.19138.47T:ocelot1
146.19147.52149.67T:ocelot2
178.77179.28179.45T:amastrid
331.72331.80333.47T:hc128
859.11860.55861.28T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
32.62?33.00?37.25?T:speck6496ctr
33.3833.5035.75T:speck64128ctr
37.5037.6237.75T:aes128ctr
36.6238.6239.62chacha8
42.2542.3846.88T:speck128256ctr
40.8842.8843.12T:speck128192ctr
47.0047.1248.12aes256ctr
48.3848.5050.25chacha12
48.6248.6248.75T:speck128128ctr
79.0079.1280.12T:aes128estream
73.00?80.75?82.62?chacha20
87.3888.5092.00T:simon6496ctr
91.3891.5091.50T:trivium
88.3893.7594.38salsa208
94.1294.25101.88T:simon64128ctr
110.00110.25112.62salsa2012
110.75110.88119.00T:rabbit
114.12114.38116.25T:lexv2
117.38120.75121.62T:snow20
117.00121.25124.88T:aes256estream
123.62127.12128.62tango642
145.38145.50145.75T:nlsv2
145.00147.88154.50T:cryptmtv3
152.75154.25168.62T:simon128128ctr
157.50157.62159.88T:simon128256ctr
157.12161.12163.62salsa20
211.12212.88216.75T:sosemanuk
235.38236.88240.25xsalsa20
272.38276.62285.12T:aes192ctr
425.62430.50458.50T:tpy6
742.12749.25762.50T:panama
896.62912.88923.12T:ocelot1
940.25951.75966.25T:ocelot2
1035.501045.121049.62T:tpypy
1046.751049.001056.00T:tpy
1188.621199.881228.50T:amastrid
2646.502652.502673.25T:hc128
6891.006895.006952.50T:hc256