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; Kaby Lake (906e9); 2017 Intel Xeon E3-1220 v6; 4 x 3000MHz; kizomba, supercop-20240625

[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
0.530.530.54chacha8
0.590.600.61salsa208
0.630.630.64T:aes128ctr
0.690.720.73tango642
0.740.750.76chacha12
0.770.790.80T:aes192ctr
0.830.840.85salsa2012
0.880.880.89aes256ctr
1.001.001.01T:speck6496ctr
1.031.041.05T:speck64128ctr
0.79?1.19?2.78?chacha20
1.231.241.25T:speck128128ctr
1.251.261.26T:speck128192ctr
1.291.291.30T:speck128256ctr
1.321.331.35xsalsa20
1.321.331.34salsa20
1.441.441.45T:simon6496ctr
1.491.501.50T:simon64128ctr
1.491.521.55T:hc128
1.801.821.83T:sosemanuk
1.921.931.93T:trivium
2.042.092.15T:tpy
2.232.242.26T:simon128128ctr
2.292.312.35T:hc256
2.362.372.37T:simon128256ctr
2.392.472.54T:tpy6
2.522.552.57T:cryptmtv3
2.562.582.61T:nlsv2
2.702.712.72T:rabbit
2.772.802.82T:snow20
2.882.902.92T:panama
3.373.423.50T:tpypy
4.084.114.13T:lexv2
8.328.358.37T:aes128estream
13.1313.1513.19T:aes256estream
17.2417.3217.40T:ocelot1
18.2618.3318.45T:ocelot2
30.2230.3730.70T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.540.550.55chacha8
0.610.610.62salsa208
0.670.670.67T:aes128ctr
0.760.760.76chacha12
0.850.850.86salsa2012
0.860.870.88tango642
0.930.930.93aes256ctr
1.031.031.04T:speck6496ctr
1.071.071.08T:speck64128ctr
1.111.121.12T:aes192ctr
1.20?1.21?2.39?chacha20
1.271.271.28T:speck128128ctr
1.291.291.30T:speck128192ctr
1.331.331.34T:speck128256ctr
1.341.341.35salsa20
1.441.441.45xsalsa20
1.641.641.64T:simon6496ctr
1.821.821.82T:simon64128ctr
2.022.022.02T:trivium
2.292.302.30T:sosemanuk
2.492.502.51T:simon128128ctr
2.692.702.72T:nlsv2
2.792.802.80T:rabbit
2.802.802.81T:simon128256ctr
2.872.892.90T:snow20
3.033.033.04T:cryptmtv3
3.023.053.08T:tpy6
3.403.433.46T:tpy
3.823.833.84T:panama
4.224.244.25T:lexv2
4.444.454.46T:hc128
4.714.744.78T:tpypy
8.398.408.41T:aes128estream
9.959.969.98T:hc256
13.2313.2413.25T:aes256estream
18.3518.3718.41T:ocelot1
19.3619.3919.47T:ocelot2
31.6631.7431.82T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.560.570.58chacha8
0.620.630.63salsa208
0.730.730.73T:aes128ctr
0.770.780.79chacha12
0.870.870.88salsa2012
1.011.011.02aes256ctr
1.081.081.09T:speck6496ctr
1.111.121.12T:speck64128ctr
1.091.121.15tango642
1.21?1.22?2.40?chacha20
1.321.331.33T:speck128128ctr
1.351.361.36T:speck128192ctr
1.351.361.36salsa20
1.401.401.42T:speck128256ctr
1.611.621.64xsalsa20
1.641.651.67T:aes192ctr
1.951.951.96T:simon6496ctr
2.172.182.18T:trivium
2.342.352.36T:simon64128ctr
2.912.912.93T:simon128128ctr
2.922.932.95T:nlsv2
2.932.942.95T:rabbit
3.023.033.06T:snow20
3.133.143.15T:sosemanuk
3.523.523.54T:simon128256ctr
3.984.044.08T:tpy6
4.384.404.44T:cryptmtv3
4.444.454.47T:lexv2
5.375.395.42T:panama
5.595.625.66T:tpy
6.897.107.11T:tpypy
8.488.508.53T:aes128estream
9.319.349.38T:hc128
13.3513.3813.40T:aes256estream
20.0120.1020.15T:ocelot1
21.0621.1321.18T:ocelot2
22.6122.6622.70T:hc256
33.3634.1634.47T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.750.760.78chacha8
0.860.880.89salsa208
0.960.970.97T:aes128ctr
1.041.051.06chacha12
1.191.201.21salsa2012
1.251.261.27T:speck6496ctr
1.301.301.31T:speck64128ctr
1.311.321.33aes256ctr
1.541.551.55T:speck128128ctr
1.591.601.62T:speck128192ctr
1.63?1.66?2.70?chacha20
1.661.671.69T:speck128256ctr
1.771.791.86tango642
1.861.871.88salsa20
2.562.572.58T:trivium
2.572.582.59xsalsa20
3.113.153.20T:aes192ctr
3.253.263.28T:simon64128ctr
3.313.323.35T:rabbit
3.433.453.49T:snow20
3.443.453.46T:simon6496ctr
3.613.653.68T:nlsv2
4.744.764.90T:cryptmtv3
4.784.784.80T:simon128128ctr
5.025.045.07T:lexv2
5.165.175.19T:simon128256ctr
5.395.415.44T:sosemanuk
6.316.426.69T:tpy6
8.748.778.79T:aes128estream
9.499.609.83T:panama
11.5911.6811.85T:tpy
13.0313.1713.28T:tpypy
13.6813.7113.75T:aes256estream
22.2622.3122.35T:hc128
24.5324.6024.79T:ocelot1
25.6425.7125.82T:ocelot2
40.2540.3740.66T:amastrid
56.4256.5456.66T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.732.772.81chacha8
3.003.083.14T:speck6496ctr
3.113.173.28T:speck64128ctr
3.253.283.31salsa208
3.623.663.72chacha12
3.593.693.73T:aes128ctr
3.723.813.91T:speck128128ctr
4.004.064.12T:speck128192ctr
4.194.344.53T:speck128256ctr
4.314.344.41salsa2012
4.814.884.97aes256ctr
5.485.585.59chacha20
6.446.486.58salsa20
7.507.597.69T:simon6496ctr
7.697.727.78T:trivium
7.667.757.81T:rabbit
8.628.788.94T:snow20
8.728.838.92T:simon64128ctr
10.08?10.17?11.62?T:cryptmtv3
10.2710.3911.03tango642
11.5311.5611.69T:simon128128ctr
12.0612.1912.28T:aes128estream
12.1212.1912.28T:lexv2
12.6612.8012.88xsalsa20
13.0913.2713.33T:simon128256ctr
13.8013.9214.11T:nlsv2
18.1418.2518.42T:aes256estream
21.8622.0222.42T:aes192ctr
30.8430.9431.09T:sosemanuk
39.8640.1440.73T:tpy6
61.3461.5962.06T:panama
82.2583.6985.23T:ocelot1
84.2385.3888.80T:ocelot2
87.5887.7388.28T:tpy
89.6290.4891.58T:tpypy
116.88117.34117.97T:amastrid
186.20186.58187.09T:hc128
488.05490.75493.17T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
16.1216.3816.88T:speck6496ctr
16.3816.8817.38T:speck64128ctr
20.5020.8821.38T:speck128128ctr
21.0021.6222.62T:speck128192ctr
21.50?22.50?24.12?T:speck128256ctr
30.2530.5031.00T:aes128ctr
31.0031.5033.25chacha8
38.5038.8839.25salsa208
40.0040.3840.62aes256ctr
43.2543.8844.62chacha12
45.5046.1246.62T:simon6496ctr
46.2546.8847.62T:rabbit
47.8848.3849.12T:trivium
50.0050.3850.88salsa2012
54.6255.2556.25T:simon64128ctr
55.7556.1256.75T:aes128estream
59.7560.5063.00chacha20
60.38?60.75?73.25?T:cryptmtv3
66.5068.1270.25T:snow20
67.2568.1268.75T:aes256estream
71.6272.3873.12T:simon128128ctr
72.5073.1274.12T:lexv2
73.1273.3874.62salsa20
74.6276.3878.12T:nlsv2
77.1277.6278.88tango642
83.6284.1284.62T:simon128256ctr
120.75121.75122.25xsalsa20
176.12177.38180.88T:aes192ctr
246.50247.25248.38T:sosemanuk
301.12303.75307.00T:tpy6
484.12487.25491.12T:panama
539.88552.38566.00T:ocelot1
547.12557.00580.62T:ocelot2
689.00693.00696.62T:tpy
700.38702.38707.38T:tpypy
782.00790.38795.00T:amastrid
1493.501496.501498.75T:hc128
3911.123923.623936.88T:hc256