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; Sandy Bridge+AES (206a7); 2011 Intel Xeon E3-1225; 4 x 3100MHz; hydra7, supercop-20250307

[Page version: 20250326 01:56:40]

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: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.940.950.95T:aes128ctr
0.991.001.01tango642
1.021.041.05chacha8
1.201.221.23aes256ctr
1.221.231.26salsa208
1.451.471.48chacha12
1.451.511.53T:aes192ctr
1.741.741.75salsa2012
2.062.072.07T:speck6496ctr
2.092.112.12T:trivium
2.162.172.17T:speck64128ctr
2.282.312.34chacha20
2.472.492.51T:hc128
2.622.642.65T:cryptmtv3
2.642.652.66T:speck128128ctr
2.722.732.74T:speck128192ctr
2.772.782.79salsa20
2.772.792.80xsalsa20
2.742.802.92T:tpy
2.802.812.82T:speck128256ctr
2.922.962.98T:simon6496ctr
2.993.013.06T:tpy6
3.093.103.10T:simon64128ctr
3.263.283.29T:sosemanuk
3.673.693.71T:hc256
3.643.693.76T:nlsv2
3.733.743.75T:snow20
3.823.833.85T:rabbit
3.873.893.90T:panama
4.364.404.51T:tpypy
4.494.524.68T:simon128128ctr
4.83?5.69?5.90?T:simon128256ctr
5.815.825.83T:lexv2
11.3611.3811.40T:aes128estream
17.7217.9018.50T:aes256estream
21.5921.8423.06T:ocelot1
23.3023.4223.56T:ocelot2
38.18?41.12?42.50?T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.980.990.99T:aes128ctr
1.061.071.07chacha8
1.201.201.21tango642
1.251.251.27salsa208
1.271.271.28aes256ctr
1.481.501.50chacha12
1.771.771.78salsa2012
1.941.971.98T:aes192ctr
2.112.122.12T:speck6496ctr
2.212.212.21T:trivium
2.212.212.22T:speck64128ctr
2.332.352.36chacha20
2.692.702.71T:speck128128ctr
2.782.782.79T:speck128192ctr
2.812.822.82salsa20
2.862.862.86T:speck128256ctr
2.942.952.95xsalsa20
3.103.113.11T:cryptmtv3
3.143.153.16T:simon6496ctr
3.413.413.42T:simon64128ctr
3.593.603.60T:sosemanuk
3.833.843.87T:tpy6
3.863.873.87T:snow20
3.873.893.92T:nlsv2
3.953.953.96T:rabbit
4.534.554.58T:tpy
4.804.814.92T:simon128128ctr
5.105.105.11T:panama
5.995.996.00T:lexv2
5.766.186.23T:simon128256ctr
6.206.226.27T:tpypy
6.296.306.31T:hc128
11.4511.4611.47T:aes128estream
14.3514.3614.37T:hc256
17.9918.0218.45T:aes256estream
23.3023.3824.21T:ocelot1
24.7524.8024.88T:ocelot2
40.8742.7843.47T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.041.051.06T:aes128ctr
1.101.111.12chacha8
1.281.291.33salsa208
1.351.361.37aes256ctr
1.521.531.55tango642
1.521.541.54chacha12
1.821.831.83salsa2012
2.192.202.20T:speck6496ctr
2.282.292.30T:speck64128ctr
2.382.402.40T:trivium
2.382.402.42chacha20
2.772.782.79T:speck128128ctr
2.752.792.82T:aes192ctr
2.852.862.89T:speck128192ctr
2.862.872.88salsa20
2.932.932.94T:speck128256ctr
3.193.203.21xsalsa20
3.463.473.51T:simon6496ctr
3.943.943.95T:simon64128ctr
4.074.084.09T:snow20
4.144.154.16T:rabbit
4.204.204.21T:sosemanuk
4.254.294.31T:nlsv2
4.404.414.42T:cryptmtv3
5.275.305.40T:simon128128ctr
5.115.315.39T:tpy6
6.286.296.30T:lexv2
6.58?7.04?7.44?T:simon128256ctr
7.117.127.13T:panama
7.527.547.60T:tpy
9.159.219.28T:tpypy
11.5611.5711.59T:aes128estream
12.6312.6412.65T:hc128
18.1818.2118.65T:aes256estream
25.7226.0226.55T:ocelot1
27.0627.1927.31T:ocelot2
32.1232.1532.17T:hc256
44.5945.9048.29T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.321.321.35chacha8
1.321.341.36T:aes128ctr
1.541.551.56salsa208
1.701.731.76aes256ctr
1.801.811.83chacha12
2.122.132.14salsa2012
2.432.442.44T:speck6496ctr
2.432.452.48tango642
2.522.532.54T:speck64128ctr
2.782.802.84chacha20
2.832.842.85T:trivium
3.053.063.08T:speck128128ctr
3.113.123.15T:speck128192ctr
3.193.203.22T:speck128256ctr
3.293.323.35salsa20
4.144.154.17xsalsa20
4.594.614.63T:snow20
4.654.684.70T:rabbit
4.614.734.77T:aes192ctr
4.864.874.88T:cryptmtv3
5.115.125.14T:simon6496ctr
5.135.245.35T:nlsv2
5.825.855.87T:sosemanuk
6.56?6.60?7.69?T:simon64128ctr
7.077.087.11T:lexv2
8.17?8.36?9.12?T:simon128128ctr
8.458.578.78T:tpy6
10.1310.1410.16T:simon128256ctr
11.9211.9612.00T:aes128estream
12.5212.5712.60T:panama
14.8214.9915.06T:tpy
16.8516.9917.12T:tpypy
18.6918.7219.16T:aes256estream
29.5229.5629.59T:hc128
32.1532.5132.62T:ocelot1
33.1833.3833.80T:ocelot2
52.3353.6155.12T:amastrid
79.5579.6079.72T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.333.333.36chacha8
4.084.094.12salsa208
4.314.394.42chacha12
4.484.644.95T:aes128ctr
5.035.115.20T:speck64128ctr
5.085.125.19salsa2012
5.235.315.41T:speck6496ctr
5.976.146.17aes256ctr
6.176.236.38T:speck128192ctr
6.166.256.38T:speck128128ctr
6.236.286.56T:speck128256ctr
6.426.426.48chacha20
7.227.277.30salsa20
8.678.738.77T:trivium
10.7810.8410.95T:rabbit
11.0311.1211.22T:simon6496ctr
11.2211.2811.36T:snow20
12.4412.4812.58T:cryptmtv3
12.7312.8112.92T:simon64128ctr
13.9814.0914.23tango642
14.8814.9515.05xsalsa20
16.1716.2716.41T:aes128estream
17.0317.0617.22T:lexv2
17.5017.5517.61T:simon128256ctr
17.5317.6717.78T:simon128128ctr
18.1118.2218.34T:nlsv2
24.3324.5224.77T:sosemanuk
24.3824.6624.98T:aes256estream
29.4129.7330.98T:aes192ctr
53.3153.8954.11T:tpy6
81.4281.5681.70T:panama
111.06112.59114.31T:ocelot1
112.17113.38116.39T:ocelot2
113.52114.11114.45T:tpy
114.41115.58119.05T:tpypy
149.31150.59152.41T:amastrid
246.06246.34246.55T:hc128
686.48687.31687.83T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
25.7526.0026.50T:speck64128ctr
26.5027.1227.25T:speck6496ctr
28.3828.8829.25chacha8
32.1232.3832.62T:speck128256ctr
32.0032.5033.00T:speck128192ctr
32.62?34.62?37.25?T:speck128128ctr
36.5036.8837.50chacha12
37.0038.0040.12T:aes128ctr
47.1249.6250.38aes256ctr
51.2551.6252.25salsa208
52.6254.5056.12chacha20
55.0055.2555.88T:trivium
57.0058.0059.75salsa2012
65.3866.7570.00T:rabbit
72.5073.3874.12T:simon6496ctr
79.1279.7581.12salsa20
80.5080.8881.62T:cryptmtv3
81.2581.6282.00T:aes128estream
85.3886.1288.00T:simon64128ctr
89.7591.2592.88T:snow20
93.6294.5096.25T:aes256estream
100.25100.75101.62T:nlsv2
100.38101.25101.88T:lexv2
106.25106.88107.12tango642
115.75116.88117.75T:simon128128ctr
119.12120.38121.12T:simon128256ctr
141.75143.25145.62xsalsa20
195.75196.88198.75T:sosemanuk
236.38242.38255.50T:aes192ctr
400.50403.25414.38T:tpy6
639.38642.62646.75T:panama
730.75744.12764.00T:ocelot1
743.00751.38769.50T:ocelot2
884.62893.00907.00T:tpy
909.62914.62921.62T:tpypy
984.38993.621013.88T:amastrid
1966.251969.621972.75T:hc128
5492.255497.125502.88T:hc256