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; Ivy Bridge+AES (306a9); 2012 Intel Core i5-3210M; 2 x 2500MHz; h9ivy, supercop-20260330

[Page version: 20260503 04:13:06]

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 (or StQ1 starting with supercop-20260214), the median of many speed measurements (or StQ2 starting with supercop-20260214), the third quartile of many speed measurements (or StQ3 starting with supercop-20260214), and the name of the primitive. Measurements with large interquartile range (or stabilized interquartile range) 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.870.880.88tango642
0.890.910.92T:aes128ctr
1.041.051.06chacha8
1.171.181.19aes256ctr
1.241.251.26salsa208
1.40?1.47?1.61?T:aes192ctr
1.461.471.49chacha12
1.631.641.64T:trivium
1.751.761.78salsa2012
1.821.932.02T:tpy
2.082.092.10T:speck6496ctr
2.072.102.13T:hc128
2.162.172.18T:speck64128ctr
2.272.292.31T:sosemanuk
2.282.312.33chacha20
2.292.312.34T:nlsv2
2.482.542.63T:tpy6
2.642.652.66T:speck128128ctr
2.662.672.68T:cryptmtv3
2.712.722.73T:speck128192ctr
2.792.802.81T:speck128256ctr
2.842.852.87salsa20
2.852.862.87xsalsa20
2.982.993.00T:simon6496ctr
2.943.003.12T:tpypy
2.993.033.05T:hc256
3.103.113.11T:simon64128ctr
3.463.503.54T:panama
3.513.523.54T:snow20
3.613.623.63T:rabbit
4.504.524.54T:simon128128ctr
4.894.904.91T:lexv2
5.125.245.28T:simon128256ctr
9.729.759.76T:aes128estream
15.7415.7715.80T:aes256estream
20.4720.5920.72T:ocelot1
21.5221.6521.81T:ocelot2
34.6235.0236.03T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.950.950.95T:aes128ctr
1.061.061.06tango642
1.071.071.08chacha8
1.231.241.24aes256ctr
1.281.291.29salsa208
1.501.511.52chacha12
1.721.721.72T:trivium
1.791.791.80salsa2012
1.901.912.00T:aes192ctr
2.132.132.14T:speck6496ctr
2.212.212.22T:speck64128ctr
2.322.332.34chacha20
2.462.462.48T:nlsv2
2.692.692.69T:speck128128ctr
2.762.762.77T:speck128192ctr
2.842.842.85T:speck128256ctr
2.842.862.86T:sosemanuk
2.872.882.89salsa20
2.993.003.00xsalsa20
3.153.163.17T:cryptmtv3
3.203.213.21T:simon6496ctr
3.223.233.27T:tpy6
3.453.463.46T:simon64128ctr
3.573.613.64T:tpy
3.623.633.63T:snow20
3.713.723.72T:rabbit
4.564.584.60T:panama
4.574.614.64T:tpypy
4.834.844.85T:simon128128ctr
5.065.075.07T:lexv2
5.455.465.47T:hc128
5.655.675.70T:simon128256ctr
9.809.829.82T:aes128estream
12.1712.1812.19T:hc256
15.8715.8915.90T:aes256estream
21.7221.7821.84T:ocelot1
22.8322.9022.98T:ocelot2
36.5936.8437.53T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.011.011.02T:aes128ctr
1.111.121.12chacha8
1.311.321.33aes256ctr
1.331.341.34salsa208
1.361.371.38tango642
1.551.551.56chacha12
1.831.841.85salsa2012
1.871.871.87T:trivium
2.192.192.21T:speck6496ctr
2.282.282.30T:speck64128ctr
2.362.372.38chacha20
2.57?2.61?2.88?T:aes192ctr
2.752.762.77T:speck128128ctr
2.802.812.85T:nlsv2
2.842.842.85T:speck128192ctr
2.902.912.93T:speck128256ctr
2.912.932.94salsa20
3.223.223.23xsalsa20
3.573.573.58T:simon6496ctr
3.803.813.81T:snow20
3.813.863.88T:sosemanuk
3.873.893.90T:rabbit
4.044.054.06T:simon64128ctr
4.434.454.48T:tpy6
4.634.634.64T:cryptmtv3
5.335.345.35T:lexv2
5.365.385.41T:simon128128ctr
6.366.386.48T:tpy
6.366.396.42T:panama
6.386.406.41T:simon128256ctr
7.347.477.51T:tpypy
9.929.939.95T:aes128estream
11.0411.0611.09T:hc128
16.0716.0816.09T:aes256estream
23.6023.6923.83T:ocelot1
24.9225.0125.11T:ocelot2
27.4227.4527.47T:hc256
39.8640.0940.36T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.281.291.33T:aes128ctr
1.311.311.33chacha8
1.571.581.59salsa208
1.661.681.70aes256ctr
1.791.821.84chacha12
2.162.172.18salsa2012
2.192.202.22tango642
2.232.242.28T:trivium
2.412.422.46T:speck6496ctr
2.522.542.55T:speck64128ctr
2.772.772.80chacha20
2.983.003.03T:speck128128ctr
3.073.073.09T:speck128192ctr
3.123.153.18T:speck128256ctr
3.383.393.41salsa20
3.623.633.76T:nlsv2
4.174.204.22xsalsa20
4.244.264.28T:snow20
4.314.324.34T:rabbit
4.414.454.80T:aes192ctr
5.035.045.05T:cryptmtv3
5.345.455.47T:simon6496ctr
6.046.066.08T:lexv2
6.456.536.56T:sosemanuk
7.577.677.80T:tpy6
7.79?7.98?8.77?T:simon64128ctr
9.419.429.46T:simon128256ctr
9.749.9910.82T:simon128128ctr
10.2010.2410.27T:aes128estream
11.1111.1411.23T:panama
13.3913.5813.73T:tpy
14.0814.1314.53T:tpypy
16.5916.6416.67T:aes256estream
25.9326.0026.10T:hc128
28.9129.1129.44T:ocelot1
30.3430.5830.92T:ocelot2
47.0247.2247.43T:amastrid
68.0368.0968.24T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.183.223.30chacha8
4.074.094.10salsa208
4.224.254.25chacha12
4.394.514.77T:aes128ctr
4.864.864.95T:speck6496ctr
4.975.135.36T:speck64128ctr
5.135.175.21salsa2012
5.535.665.91aes256ctr
5.685.705.81T:speck128128ctr
5.825.865.96T:speck128256ctr
5.875.956.08T:speck128192ctr
6.256.316.34chacha20
7.067.077.12T:trivium
7.517.557.55salsa20
9.459.549.68T:rabbit
9.909.9410.02T:snow20
10.4710.4710.49T:simon6496ctr
11.7911.8811.98T:simon64128ctr
12.3812.4212.52T:cryptmtv3
12.6612.7612.86tango642
14.2014.3614.52T:aes128estream
14.7714.8114.81xsalsa20
14.9815.0615.24T:lexv2
16.0716.3117.48T:nlsv2
16.6116.6516.66T:simon128256ctr
16.6916.8016.99T:simon128128ctr
22.9023.0323.15T:aes256estream
26.09?27.94?31.46?T:aes192ctr
36.2337.4038.33T:sosemanuk
47.0548.5448.87T:tpy6
71.4571.6471.98T:panama
94.7996.9298.86T:ocelot1
96.5297.71100.11T:ocelot2
100.78102.25103.26T:tpypy
106.29106.84107.17T:tpy
132.32134.20137.05T:amastrid
216.42216.77217.61T:hc128
588.62589.23590.05T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
23.1223.4125.32T:speck64128ctr
23.4223.6225.11T:speck6496ctr
25.2525.2526.05T:speck128192ctr
25.6725.9426.77T:speck128256ctr
26.6926.9128.81chacha8
26.70?28.22?30.91?T:speck128128ctr
35.1935.4436.73chacha12
35.4736.1637.11T:aes128ctr
42.5943.3045.38salsa208
44.5944.9045.66T:trivium
44.6945.9647.07aes256ctr
51.3051.6653.05chacha20
56.0357.4258.88T:rabbit
58.3158.7759.44salsa2012
64.1664.5664.90T:aes128estream
70.0170.5571.29salsa20
69.9070.9371.96T:simon64128ctr
76.8277.0077.59T:cryptmtv3
77.0678.8980.02T:snow20
80.8881.3181.98T:simon6496ctr
85.1686.0293.07T:nlsv2
89.9790.5091.19T:lexv2
90.4391.4092.34T:aes256estream
96.9697.7798.34tango642
101.56102.49103.16T:simon128128ctr
105.88105.88106.73T:simon128256ctr
127.97128.70130.25xsalsa20
204.92?217.22?246.30?T:aes192ctr
295.93297.93300.18T:sosemanuk
362.99367.06371.38T:tpy6
559.80563.55570.38T:panama
613.31629.95646.18T:ocelot2
618.38630.67645.07T:ocelot1
802.43804.17816.11T:tpypy
841.59848.73854.97T:tpy
882.31893.18913.04T:amastrid
1727.921730.251737.66T:hc128
4705.764708.504714.82T:hc256