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; Haswell+AES (306c3); 2013 Intel Core i7-4770; 4 x 3400MHz; speed2supercop, 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: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.530.540.54chacha8
0.650.650.66salsa208
0.720.730.75tango642
0.760.760.76T:aes128ctr
0.30?0.76?2.58?chacha12
0.910.920.93salsa2012
0.940.961.01T:aes192ctr
1.011.011.01aes256ctr
1.031.041.05T:speck6496ctr
1.071.081.08T:speck64128ctr
1.13?1.17?1.32?chacha20
1.251.261.27T:speck128128ctr
1.291.301.31T:speck128192ctr
1.331.341.35T:speck128256ctr
1.431.441.47salsa20
1.10?1.44?2.78?xsalsa20
1.541.541.55T:simon6496ctr
1.601.601.61T:simon64128ctr
1.69?1.75?1.89?T:tpy
1.881.891.89T:trivium
2.022.032.04T:sosemanuk
2.032.052.08T:hc128
2.112.172.29T:tpy6
2.252.252.27T:nlsv2
2.252.262.29T:simon128128ctr
2.362.372.40T:simon128256ctr
2.412.442.49T:cryptmtv3
2.512.542.56T:hc256
2.802.882.94T:tpypy
3.063.103.14T:panama
3.123.133.14T:rabbit
3.293.313.32T:snow20
4.474.484.49T:lexv2
9.079.089.10T:aes128estream
14.2514.2814.32T:aes256estream
17.6718.8519.16T:ocelot1
19.0219.3720.25T:ocelot2
31.5131.6931.99T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.550.550.55chacha8
0.660.660.67salsa208
0.77?0.78?2.14?chacha12
0.790.790.79T:aes128ctr
0.890.890.91tango642
0.930.940.94salsa2012
1.051.051.05aes256ctr
1.061.071.07T:speck6496ctr
1.101.111.11T:speck64128ctr
1.181.191.29chacha20
1.291.291.30T:speck128128ctr
1.301.311.33T:aes192ctr
1.331.341.34T:speck128192ctr
1.381.381.38T:speck128256ctr
1.451.451.48salsa20
1.55?1.55?2.55?xsalsa20
1.761.761.76T:simon6496ctr
1.951.961.96T:simon64128ctr
1.981.981.98T:trivium
2.402.402.40T:nlsv2
2.512.522.54T:simon128128ctr
2.532.542.54T:sosemanuk
2.802.812.83T:simon128256ctr
2.902.922.95T:tpy6
2.973.003.00T:cryptmtv3
3.223.233.23T:rabbit
3.313.343.37T:tpy
3.393.403.41T:snow20
4.054.074.08T:panama
4.314.354.38T:tpypy
4.604.614.61T:lexv2
5.325.325.33T:hc128
9.149.149.15T:aes128estream
10.9710.9810.99T:hc256
14.3714.3814.40T:aes256estream
19.0919.9520.02T:ocelot1
20.3420.4221.03T:ocelot2
33.2033.2433.35T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.570.570.58chacha8
0.680.680.70salsa208
0.78?0.80?2.16?chacha12
0.840.840.84T:aes128ctr
0.950.950.96salsa2012
1.111.111.11aes256ctr
1.111.111.11T:speck6496ctr
1.141.151.17tango642
1.151.161.16T:speck64128ctr
1.201.211.31chacha20
1.351.361.36T:speck128128ctr
1.391.391.40T:speck128192ctr
1.441.441.45T:speck128256ctr
1.471.481.50salsa20
1.72?1.73?2.73?xsalsa20
1.851.881.90T:aes192ctr
2.122.122.13T:simon6496ctr
2.142.142.14T:trivium
2.542.542.54T:simon64128ctr
2.692.702.71T:nlsv2
2.942.952.96T:simon128128ctr
3.383.393.40T:rabbit
3.423.433.44T:sosemanuk
3.523.533.54T:simon128256ctr
3.543.553.58T:snow20
3.914.004.16T:tpy6
4.334.424.42T:cryptmtv3
4.824.834.85T:lexv2
5.665.695.71T:panama
5.775.845.87T:tpy
6.886.946.96T:tpypy
9.229.249.26T:aes128estream
10.7610.7610.79T:hc128
14.5514.5714.59T:aes256estream
21.0021.7821.88T:ocelot1
22.0422.1922.94T:ocelot2
25.0325.0525.07T:hc256
36.0336.3036.36T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.770.780.79chacha8
0.940.950.97salsa208
1.061.061.06T:aes128ctr
1.09?1.13?2.28?chacha12
1.311.311.32T:speck6496ctr
1.311.311.33salsa2012
1.351.361.37T:speck64128ctr
1.391.401.40aes256ctr
1.591.601.62T:speck128128ctr
1.621.631.65T:speck128192ctr
1.681.691.71T:speck128256ctr
1.681.701.79chacha20
1.851.881.90tango642
2.032.052.06salsa20
2.532.542.57T:trivium
2.74?2.75?3.60?xsalsa20
3.353.423.62T:aes192ctr
3.383.433.45T:nlsv2
3.513.533.54T:simon64128ctr
3.763.763.78T:simon6496ctr
3.783.803.83T:rabbit
3.923.954.01T:snow20
5.005.015.03T:simon128128ctr
4.905.125.13T:cryptmtv3
5.415.425.42T:simon128256ctr
5.445.485.52T:lexv2
5.825.835.85T:sosemanuk
7.007.107.30T:tpy6
9.519.539.58T:aes128estream
9.9210.0310.08T:panama
12.7812.8813.14T:tpy
13.5313.6113.65T:tpypy
14.9915.0215.07T:aes256estream
24.9225.0625.10T:hc128
25.9326.3626.56T:ocelot1
26.7027.0027.73T:ocelot2
42.2942.5542.70T:amastrid
62.5162.5662.63T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.882.942.94chacha8
3.313.383.56T:speck6496ctr
3.383.503.56T:speck64128ctr
3.443.503.50salsa208
3.503.503.56T:aes128ctr
3.943.944.00chacha12
4.004.004.06T:speck128128ctr
4.004.004.12T:speck128192ctr
4.194.194.25T:speck128256ctr
4.564.564.62aes256ctr
4.694.694.75salsa2012
5.946.006.06chacha20
7.067.067.12salsa20
7.627.697.75T:simon6496ctr
7.697.757.81T:trivium
8.628.758.94T:rabbit
8.758.949.12T:snow20
8.949.069.06T:simon64128ctr
10.8810.9411.06tango642
12.5612.6212.69T:simon128128ctr
10.69?12.69?12.81?T:cryptmtv3
12.6912.7513.00T:aes128estream
13.2513.3813.62T:lexv2
13.3113.3813.50xsalsa20
14.0014.0614.25T:nlsv2
14.3814.4414.56T:simon128256ctr
21.5021.5621.75T:aes256estream
22.3122.5023.69T:aes192ctr
33.1233.2533.50T:sosemanuk
45.3145.8848.06T:tpy6
64.2564.6268.28T:panama
84.5685.6986.94T:ocelot1
87.1988.8190.19T:ocelot2
96.3198.3899.12T:tpypy
96.4499.62102.00T:tpy
120.94122.25123.56T:amastrid
203.06203.44204.12T:hc128
541.44542.00542.50T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
17.5018.0018.50T:speck6496ctr
18.0018.0018.50T:speck64128ctr
20.5021.0021.50T:speck128192ctr
21.5022.0022.50T:speck128256ctr
22.0022.5023.00T:speck128128ctr
29.0029.5030.00T:aes128ctr
36.5037.0037.50chacha8
37.5038.0038.00aes256ctr
44.0044.0044.50chacha12
44.5044.5045.50T:simon6496ctr
48.5049.0050.00T:trivium
49.0049.0049.50salsa208
51.5052.5054.00T:rabbit
55.0055.5056.00T:aes128estream
55.5056.0056.50T:simon64128ctr
62.0062.0062.50salsa2012
66.0066.5067.50chacha20
68.0068.5069.00salsa20
69.0069.5072.00T:snow20
72.5073.0073.50T:simon128128ctr
76.5077.0078.00T:nlsv2
79.0079.5080.00T:lexv2
63.50?80.00?81.00?T:cryptmtv3
83.5084.0084.50tango642
85.5086.0087.00T:simon128256ctr
87.5088.5090.00T:aes256estream
117.00117.50118.50xsalsa20
177.50179.00180.50T:aes192ctr
264.00265.50266.00T:sosemanuk
345.50348.00354.50T:tpy6
502.00503.00507.50T:panama
553.00559.50570.00T:ocelot1
559.50567.00582.50T:ocelot2
766.50767.50773.50T:tpypy
779.50785.50833.00T:tpy
818.50824.50831.50T:amastrid
1629.501632.501645.00T:hc128
4337.004341.004347.00T:hc256