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; Bobcat (500f10); 2011 AMD G-T56N; 2 x 1650MHz; h8bobcat, supercop-20240425

[Page version: 20240719 07:49:00]

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.


Implementation notes

Graphs: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
1.38?3.49?4.28?tango642
4.17?4.19?14.00?T:hc128
4.73?4.74?13.94?T:cryptmtv3
5.76?5.76?13.75?T:trivium
3.92?7.07?7.51?T:panama
7.07?7.08?12.95?T:snow20
1.70?7.97?11.22?T:tpy
8.078.078.12T:tpy6
8.168.178.18T:rabbit
4.04?8.18?8.19?chacha8
3.79?8.44?9.78?T:nlsv2
8.43?8.45?19.26?T:speck6496ctr
3.41?8.76?10.86?T:sosemanuk
4.53?9.09?10.27?salsa208
-11.17?9.34?26.34?T:hc256
11.03?11.04?25.18?T:speck128192ctr
8.75?11.07?20.02?T:speck64128ctr
9.68?12.35?12.35?xsalsa20
6.29?12.66?14.28?salsa2012
5.58?12.67?12.69?chacha12
11.36?14.35?25.90?T:speck128256ctr
15.0615.0715.07T:lexv2
15.29?15.41?34.08?T:simon64128ctr
15.46?15.73?32.69?T:aes128estream
6.23?16.43?20.24?T:tpypy
8.55?17.22?19.42?chacha20
14.73?19.45?35.86?T:simon6496ctr
19.75?19.75?22.30?salsa20
10.72?21.62?24.46?T:speck128128ctr
23.61?23.63?53.76?T:aes256estream
24.04?24.45?60.26?T:aes192ctr
20.11?27.51?51.23?T:aes128ctr
28.05?28.37?70.02?T:aes256ctr
22.22?29.65?54.92?T:simon128128ctr
22.95?61.67?61.75?T:simon128256ctr
37.70?79.14?81.41?T:ocelot2
35.53?86.78?87.69?T:ocelot1
64.23?145.67?151.69?T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
2.66?4.24?4.25?tango642
7.35?7.36?11.76?T:snow20
7.82?7.82?12.50?T:trivium
5.18?8.29?8.29?chacha8
8.398.398.40T:rabbit
8.46?8.46?13.53?T:cryptmtv3
5.75?9.13?9.15?T:nlsv2
5.76?9.19?9.19?salsa208
9.619.629.80T:panama
10.6610.6610.68T:tpy6
6.71?10.68?10.74?T:sosemanuk
10.82?10.83?17.29?T:speck6496ctr
11.22?11.23?17.94?T:speck64128ctr
7.10?11.34?11.34?chacha12
12.27?12.28?19.63?T:hc128
7.80?12.46?12.48?T:tpy
12.6012.6012.60xsalsa20
7.97?12.75?12.75?salsa2012
14.08?14.09?22.52?T:speck128192ctr
14.49?14.50?23.17?T:speck128256ctr
15.5815.5815.58T:lexv2
10.84?17.33?17.34?chacha20
19.10?19.30?29.22?T:aes128estream
19.8419.8519.88salsa20
12.76?20.41?20.44?T:tpypy
20.51?20.52?32.82?T:simon6496ctr
13.68?21.86?21.88?T:speck128128ctr
23.19?23.26?37.25?T:simon64128ctr
29.95?29.96?47.97?T:aes256estream
30.10?30.16?47.83?T:aes128ctr
31.84?31.85?50.79?T:simon128128ctr
35.14?35.18?55.96?T:aes192ctr
40.38?40.55?64.70?T:aes256ctr
25.61?40.99?41.00?T:hc256
36.55?58.38?58.39?T:simon128256ctr
50.14?80.07?80.53?T:ocelot1
52.68?83.49?85.16?T:ocelot2
87.74?133.65?138.04?T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
3.48?5.49?5.50?tango642
7.22?7.22?11.53?chacha12
7.817.827.83T:snow20
8.34?8.34?13.32?T:trivium
8.488.488.50chacha8
8.778.778.79T:rabbit
5.85?9.34?9.34?salsa208
6.97?10.85?11.09?T:nlsv2
11.48?11.54?18.33?T:speck64128ctr
8.08?12.90?12.90?salsa2012
13.02?13.02?20.82?xsalsa20
13.51?14.10?21.85?T:panama
8.92?14.11?14.20?T:sosemanuk
14.74?14.76?23.57?T:speck128256ctr
14.9614.9915.04T:tpy6
16.4516.4616.46T:lexv2
10.97?17.53?17.53?chacha20
11.11?17.65?17.67?T:speck6496ctr
11.25?17.98?17.98?T:cryptmtv3
12.55?20.00?20.00?salsa20
12.59?20.05?20.10?T:tpy
13.96?22.25?22.27?T:speck128128ctr
22.27?22.30?35.62?T:simon6496ctr
14.39?22.91?22.91?T:speck128192ctr
25.7525.7525.75T:hc128
17.35?27.73?27.76?T:tpypy
19.25?29.66?29.67?T:aes128estream
34.23?34.53?54.47?T:aes128ctr
35.05?35.41?56.18?T:simon128128ctr
42.4742.4842.56T:simon64128ctr
43.20?43.24?68.93?T:simon128256ctr
30.30?48.54?49.09?T:aes256estream
54.92?55.40?89.17?T:ocelot1
39.89?62.49?63.01?T:aes192ctr
44.76?71.67?72.36?T:aes256ctr
90.5891.8192.00T:ocelot2
58.57?93.72?93.75?T:hc256
90.99?94.96?146.04?T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
7.64?7.67?12.17?chacha12
5.65?8.82?8.92?tango642
9.009.019.15chacha8
9.04?9.06?14.41?T:snow20
6.20?9.76?9.76?salsa208
9.779.779.80T:rabbit
12.16?12.34?19.41?T:speck64128ctr
8.36?13.32?13.32?salsa2012
14.15?14.16?22.59?xsalsa20
9.90?14.77?15.36?T:nlsv2
9.75?15.54?15.54?T:trivium
15.48?15.55?24.72?T:speck128256ctr
11.51?18.36?18.37?chacha20
11.79?18.69?18.74?T:speck6496ctr
18.7318.7318.74T:lexv2
12.85?20.40?20.40?salsa20
13.58?21.68?21.68?T:cryptmtv3
14.58?23.03?23.54?T:sosemanuk
14.62?23.33?23.34?T:speck128128ctr
24.0124.0124.06T:speck128192ctr
23.95?25.22?38.35?T:panama
26.2426.4127.01T:tpy6
29.28?29.30?46.80?T:simon6496ctr
19.34?30.82?30.89?T:aes128estream
25.20?40.12?40.35?T:tpy
29.57?47.23?47.29?T:tpypy
48.28?49.17?76.99?T:aes128ctr
31.30?50.02?50.04?T:aes256estream
61.79?61.81?98.76?T:hc128
65.3765.5165.59T:simon64128ctr
68.85?69.92?108.99?T:ocelot1
69.18?70.12?110.60?T:simon128256ctr
55.02?85.43?86.85?T:aes192ctr
56.88?90.84?90.89?T:simon128128ctr
60.55?95.63?96.95?T:aes256ctr
105.61?109.38?178.92?T:amastrid
111.36112.18113.21T:ocelot2
146.59?146.63?234.47?T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
11.44?11.58?17.73?chacha12
13.0613.0613.66chacha8
9.50?14.47?14.47?salsa208
12.31?18.03?18.03?salsa2012
21.08?21.38?33.17?T:speck64128ctr
22.2722.2722.92T:rabbit
24.42?24.50?38.59?T:snow20
16.39?25.08?25.09?salsa20
24.78?25.38?39.34?T:speck128256ctr
16.78?25.45?25.47?chacha20
28.34?29.09?44.83?xsalsa20
20.48?31.84?31.84?T:speck6496ctr
23.67?36.97?37.92?T:speck128128ctr
37.7837.7838.89T:speck128192ctr
42.16?42.75?66.80?T:simon6496ctr
28.28?43.27?43.28?T:trivium
28.80?44.91?45.50?T:aes128estream
47.8047.8047.80T:lexv2
32.88?51.28?51.44?tango642
36.59?57.97?58.48?T:cryptmtv3
68.14?68.50?108.58?T:simon128256ctr
69.4769.4770.28T:simon64128ctr
44.83?69.61?70.42?T:aes256estream
52.03?80.83?81.34?T:nlsv2
64.56?101.91?102.50?T:simon128128ctr
79.72?128.41?130.55?T:sosemanuk
157.48?169.08?251.45?T:panama
172.70172.72173.75T:tpy6
194.08?196.61?321.52?T:aes128ctr
213.89?218.50?354.70?T:aes256ctr
197.72?295.91?296.58?T:tpypy
188.44?299.39?300.14?T:tpy
309.34?310.45?502.39?T:amastrid
214.56?320.41?331.23?T:aes192ctr
361.89363.89379.41T:ocelot2
242.62?386.45?402.64?T:ocelot1
522.80?523.75?835.86?T:hc128
1273.08?1273.89?2035.97?T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
51.62?53.38?79.00?T:speck64128ctr
59.38?65.25?90.88?T:speck128256ctr
56.50?83.75?84.38?T:speck6496ctr
87.8887.8896.12T:speck128192ctr
69.50?95.00?98.62?T:speck128128ctr
107.50?107.50?168.00?chacha12
117.50?118.25?183.50?T:simon6496ctr
114.62118.75126.50chacha8
131.88132.50136.50T:rabbit
91.50?142.50?142.50?salsa208
109.25?171.00?171.00?salsa2012
184.12?185.88?293.25?T:simon128256ctr
191.25?193.50?301.62?T:snow20
200.12200.12200.62T:simon64128ctr
134.88?207.88?209.62?T:aes128estream
144.88?228.00?228.00?salsa20
148.38?229.75?230.38?chacha20
243.38?243.50?385.38?xsalsa20
173.38?263.00?270.12?T:trivium
174.00?269.00?270.12?T:simon128128ctr
181.00?274.88?279.62?T:aes256estream
283.75283.88287.38T:lexv2
225.12?356.25?361.00?T:cryptmtv3
251.75?387.12?391.25?tango642
252.38?394.88?399.00?T:nlsv2
634.75?997.50?1027.88?T:sosemanuk
1196.38?1210.12?1831.12?T:aes128ctr
1211.88?1261.75?1945.12?T:aes256ctr
1235.00?1287.25?1978.38?T:panama
1437.501441.001448.25T:tpy6
1223.75?1952.88?1977.25?T:aes192ctr
2020.62?2084.12?3309.50?T:amastrid
1432.12?2278.88?2281.25?T:tpypy
2367.882371.502482.50T:ocelot2
1623.88?2704.00?2723.50?T:ocelot1
1851.38?2788.25?2790.00?T:tpy
4180.50?4186.00?6692.12?T:hc128
10179.25?10181.62?16280.00?T:hc256